The LCD works with touch and LVGL using the standard libraries esp_lcd and lvgl. The camera also works with help of esp_camera and we can stream images via WiFi to test the functions.
But we can't get both LCD and Camera to work at the same time. When we initialize the camera after initializing the LCD we get a WDT timeout. We have made a very simple test project that just initializes the i8080 interface and the camera. No touch or LVGL are implemented, to keep the code to a minimum.
We are using the latest version of SDK 5.2 (SDK 5.3 is also tested)
Logoutput when WDT happens:
Code: Select all
D (10236) gdma: new rx channel (0,0) at 0x3fce4180
I (10236) s3 ll_cam: DMA Channel=0
I (10236) cam_hal: cam init ok
D (10246) camera: Enabling XCLK output
D (10246) camera: Searching for camera address
I (10256) camera: Detected camera at address=0x3c
I (10256) camera: Detected OV5640 camera
I (10256) camera: Camera PID=0x5640 VER=0x00 MIDL=0x00 MIDH=0x00
D (10266) camera: Doing SW reset of sensor
D (10806) ov5640: Camera defaults loaded
I (10906) cam_hal: buffer_size: 16384, half_buffer_size: 1024, node_buffer_size: 1024, node_cnt: 16, total_cnt: 15
I (10906) cam_hal: Allocating 15360 Byte frame buffer in PSRAM
D (10906) intr_alloc: Connected src 66 to int 9 (cpu 0)
Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0).
We can't figure out what is causing the WDT timeout and before we dig deeper or redesign the hardware, we ask if someone knows if there are any hardware or software limitations that prevents the use of LCD and Camera at the same time.
Thanks
/pk