[ESP32S3: ESP-IDF 5.2.2 ] WiFi and CSI camera captureing problem
[ESP32S3: ESP-IDF 5.2.2 ] WiFi and CSI camera captureing problem
I'm on developing a system as below
Environment: ESP32S3, ESP-IDF 5.2.2 and ESP-ADF Master, Visual studio Code
My system gets images from
TOF camera MIPI Images => a MIPI CSI to Parallel output chip => ESP32S3
First I used camera_fb_t *pic2 = esp_camera_fb_get(); the function of esp32-camera-master/driver/esp_camera.c
to capture 30fps TOF(Time-of-flight) images .. every captured image was OK.
but when I use Wi-Fi drivers of ESP_IDF 5.2.2 /components/espressif_protocol_examples_common/connect.c
ESP_ERROR_CHECK(nvs_flash_init());
ESP_ERROR_CHECK(esp_netif_init());
ESP_ERROR_CHECK(esp_event_loop_create_default());
ESP_ERROR_CHECK(example_connect());
The frames captured by the camera_fb_get() function were partially broken ( data broken to some lines).
I’m not sure if the bits are shifted or if the values are interleaved.
It is very clear that the WiFi driver is causing the problem because the difference between capturing with the WiFi driver disabled and enabled is so starkly reproduced.
Are there any known conflicts or issues reported between the WiFi driver in ESP-IDF and the camera driver in ESP-ADF? Aren’t they commonly used together?
Thank you.
- Attachments
-
- 20240611_100517.png (37.7 KiB) Viewed 521 times
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 128 guests