ESP32-S3-EYE在运行中LCD显示出问题

Ccssjnjn
Posts: 5
Joined: Mon Mar 25, 2024 12:58 pm

ESP32-S3-EYE在运行中LCD显示出问题

Postby Ccssjnjn » Sat Jun 29, 2024 1:11 pm

代码如下

Code: Select all

static QueueHandle_t xQueueAIFrame = NULL;
static QueueHandle_t xQueueLCDFrame = NULL;
static QueueHandle_t xQueueEventLogic = NULL;

extern SemaphoreHandle_t sem_handle;

extern "C" void app_main()
{
    esp_err_t ret;
    app_wifi_main();
    xQueueAIFrame = xQueueCreate(5, sizeof(camera_fb_t *));
    xQueueLCDFrame = xQueueCreate(5, sizeof(camera_fb_t *));
    xQueueEventLogic = xQueueCreate(1, sizeof(int *));

    register_camera(PIXFORMAT_RGB565, FRAMESIZE_240X240, 2, xQueueAIFrame);
    register_button_events(xQueueEventLogic);
    register_human_face_recognition(xQueueAIFrame, xQueueEventLogic, NULL, xQueueLCDFrame, true);
    register_lcd(xQueueLCDFrame, NULL, true);
}
就是很简单的调用了官方给我们写的代码框架。
但是当我同时把摄像头、人脸识别、LCD显示、wifi任务同时开启时。
LCD就无法正常显示,只能显示一部分区域。
同时会报如下的错误
===================================================================================================
E (24560) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
E (24640) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
E (24720) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
E (24800) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
E (24880) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
E (24960) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
E (25040) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
=====================================================================================================
但是其他任务都是可以正常运行的。
当我把WiFi任务关掉。其他所有任务都可以正常运行。
或者我把AI任务关掉,其他任务都可以正常执行。
这种情况是可能出什么问题了

aliarifat794
Posts: 198
Joined: Sun Jun 23, 2024 6:18 pm

Re: ESP32-S3-EYE在运行中LCD显示出问题

Postby aliarifat794 » Sat Jun 29, 2024 7:26 pm


Ccssjnjn
Posts: 5
Joined: Mon Mar 25, 2024 12:58 pm

Re: ESP32-S3-EYE在运行中LCD显示出问题

Postby Ccssjnjn » Sun Jun 30, 2024 4:18 am

谢谢,已成功解决

Who is online

Users browsing this forum: No registered users and 9 guests