Search found 4 matches

by nsaintmartin
Thu Jun 20, 2024 7:36 am
Forum: ESP-IDF
Topic: LCD RGB888 display bug with PCLK 27MHz
Replies: 7
Views: 1175

Re: LCD RGB888 display bug with PCLK 27MHz

It's not a problem to free lv_image as the data is copied to the img1 (or img2 or img3) object in the lv_image_create() function. But I think the problem is much deeper than that, maybe a DMA problem or something... The display works well with a clock lower than 22MHz, but as soon as I want to go hi...
by nsaintmartin
Tue Jun 18, 2024 2:58 pm
Forum: ESP-IDF
Topic: LCD RGB888 display bug with PCLK 27MHz
Replies: 7
Views: 1175

Re: LCD RGB888 display bug with PCLK 27MHz

No it's not a problem, the data is copied into the img1 (or 2 or 3) object with the lv_image_set_src() function.

But I think the problem is much deeper, maybe related to DMA or something like that, I don't know.

Someone should be able to reproduce my bug, do you work for Espressif @MicroController ?
by nsaintmartin
Tue Jun 18, 2024 7:57 am
Forum: ESP-IDF
Topic: LCD RGB888 display bug with PCLK 27MHz
Replies: 7
Views: 1175

Re: LCD RGB888 display bug with PCLK 27MHz

You're right, it's lv_display_set_buffers(display, buf1, buf2, 480* 272* sizeof(lv_color_t), LV_DISPLAY_RENDER_MODE_FULL); copy and paste error when I wrote my post for the forum. Yeah sure : void screen_display_image(void) { FILE *f; f = fopen("/spiffs/ICON_DEVICE_VBC8_PENDENT_COLOR", "r"); if (!f)...
by nsaintmartin
Mon Jun 17, 2024 1:42 pm
Forum: ESP-IDF
Topic: LCD RGB888 display bug with PCLK 27MHz
Replies: 7
Views: 1175

LCD RGB888 display bug with PCLK 27MHz

Setup: board: ESP32-S3-WROOM-1 ESP-IDF version: 5.3 LVGL version: 9.1 LCD Screen: ST7282 display controlled by RGB888 Context: Test display of an image (in 3 copies) stored in the ESP32 flash (SPIFFS file system). Here is the code for my 'Screen_Init' function to show you configurations: esp_err_t ...