1. I am using single frame-buffer mode located in PSRAM. According to the documentation, 8bit data width should be supported by writing this param:
Code: Select all
data_width = 8
Code: Select all
if (1 == bytes_per_pixel) {
2. In double frame-buffer mode it is mentioned in the docs that
How is that supposed to work? How do I select which buffer to write to (for example using esp_lcd_panel_draw_bitmap function) and how do I signal for the buffers to be switched?The frame buffer that the CPU write to and the frame buffer that the EDMA read from are guaranteed to be different and independent. The EDMA will only switch between the two frame buffers when the previous write operation is finished and the current frame has been sent to the LCD. The downside of this mode is that, you have to maintain the synchronization between the two frame buffers.
Thanks in advance!