I am using Xedge32 with the settings below and I cannot get the camera working. Can someone help validate the settings. See this page for the documentation:
https://realtimelogic.com/ba/ESP32/source/cam.html
local cfg={
d0=14, d1=47, d2=48, d3=21, d4=13, d5=11, d6=10, d7=9,
xclk=38, pclk=12, vsync=8, href=18,
sda=5, scl=4,
pwdn=-1,
reset=39, freq="20000000",
frame="HD",
format="JPEG"
}
I see the following in the console when I run the code:
I (18361) s3 ll_cam: DMA Channel=4
I (18362) cam_hal: cam init ok
I (18362) sccb: pin_sda 5 pin_scl 4
I (18362) sccb: sccb_i2c_port=1
I (18362) gpio: GPIO[39]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (18393) camera: Detected camera at address=0x30
I (18396) camera: Detected OV2640 camera
I (18396) camera: Camera PID=0x26 VER=0x42 MIDL=0x7f MIDH=0xa2
I (18471) cam_hal: buffer_size: 16384, half_buffer_sizenode_buffer_size: 1024, node_cnt: 16, total_cnt: 180
I (18472) cam_hal: cam config ok
I (18472) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 12
W (22551) cam_hal: Failed to get the frame on time!