panel_st7796_draw_bitmap(280): send command failed when using WiFi Provisioning
Posted: Wed Apr 03, 2024 7:21 pm
I am using a stm32s3-devkitC-1 v 1.0 connected to a Hosyond 3.5" 480x320 display via SPI and I2C (touch).
It is working as expected.
However when I try to add wifi provisioning. I am seeing this:
E (1822) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
E (1822) st7796: panel_st7796_draw_bitmap(280): send command failed
I (1972) AV_UART: anna_process_gram Bell success
I (1972) AV_UART: anna_process_gram Bell sent ack
I (1972) AnnaView: app_startSTM other FW version 0.1.7
E (6812) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (6812) task_wdt: - IDLE (CPU 1)
E (6812) task_wdt: Tasks currently running:
E (6812) task_wdt: CPU 0: IDLE
E (6812) task_wdt: CPU 1: LVGL task
E (6812) task_wdt: Print CPU 1 backtrace
This issue occurs if I call wifi_prov_mgr_init(); If this call is commented out, all is well.
NOTE: I was seeing a BLE mall;oc error, but I changed the following in bt.c
static void *malloc_internal_wrapper(size_t size)
{
//void *p = heap_caps_malloc(size, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL|MALLOC_CAP_DMA);
void *p = heap_caps_malloc(size, MALLOC_CAP_INTERNAL|MALLOC_CAP_DMA);
if(p == NULL) {
ESP_LOGE(BT_LOG_TAG, "Malloc failed - fixed");
}
return p;
}
I no longer see the BLE error, but my SPI transfers still fail.
dependencies:
idf: ">=4.4.2"
lvgl/lvgl: "9.0.0"
espressif/esp_lvgl_port: "^2.0.0"
espressif/esp_lcd_st7796: "^1.0.0"
espressif/esp_lcd_touch_ft5x06: "^1.0.6"
qrcode: "^0.1.0"
It is working as expected.
However when I try to add wifi provisioning. I am seeing this:
E (1822) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
E (1822) st7796: panel_st7796_draw_bitmap(280): send command failed
I (1972) AV_UART: anna_process_gram Bell success
I (1972) AV_UART: anna_process_gram Bell sent ack
I (1972) AnnaView: app_startSTM other FW version 0.1.7
E (6812) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time:
E (6812) task_wdt: - IDLE (CPU 1)
E (6812) task_wdt: Tasks currently running:
E (6812) task_wdt: CPU 0: IDLE
E (6812) task_wdt: CPU 1: LVGL task
E (6812) task_wdt: Print CPU 1 backtrace
This issue occurs if I call wifi_prov_mgr_init(); If this call is commented out, all is well.
NOTE: I was seeing a BLE mall;oc error, but I changed the following in bt.c
static void *malloc_internal_wrapper(size_t size)
{
//void *p = heap_caps_malloc(size, MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL|MALLOC_CAP_DMA);
void *p = heap_caps_malloc(size, MALLOC_CAP_INTERNAL|MALLOC_CAP_DMA);
if(p == NULL) {
ESP_LOGE(BT_LOG_TAG, "Malloc failed - fixed");
}
return p;
}
I no longer see the BLE error, but my SPI transfers still fail.
dependencies:
idf: ">=4.4.2"
lvgl/lvgl: "9.0.0"
espressif/esp_lvgl_port: "^2.0.0"
espressif/esp_lcd_st7796: "^1.0.0"
espressif/esp_lcd_touch_ft5x06: "^1.0.6"
qrcode: "^0.1.0"