Closed Dadigno closed 1 year ago
drift issue show off if EXAMPLE_LCD_PIXEL_CLOCK_HZ is greater than (610001000).
https://github.com/espressif/esp-idf/tree/master/examples/peripherals/lcd/rgb_panel#troubleshooting
Thank you for your response. I checked it out yet. As I said lowering frequency to 6MHz makes it work, but this value is out of LCD spec. I don't know what is depends on.
It's a bandwidth issue of the PSRAM. There're some instructions here: https://espressif-docs.readthedocs-hosted.com/projects/espressif-esp-faq/en/latest/software-framework/peripherals/lcd.html#why-do-i-get-drift-overall-drift-of-the-display-when-driving-an-rgb-lcd-screen
Okay. Sorry, I missed this page.
This: Reduce data_cache_line_size to 32 bytes
makes it work at 9Mhz.
Answers checklist.
General issue report
IDF version v5.0
Operating System used. Windows
How did you build your project? idf.py build
If you are using Windows, please specify command line type. CMD
Development Kit. Sunton LCD ESP32-4827S043 4.3” 480X272-TN bare screen specs.pdf
What is the expected behavior? I started from rgb_lcd_example_main.c and managed to run lv_demo_widgets. It works, but drift issue show off if
EXAMPLE_LCD_PIXEL_CLOCK_HZ
is greater than(6*1000*1000)
. I would work with 9Mhz ( typical value in device specs )https://github.com/espressif/esp-idf/assets/32482073/005dfe6e-2988-4e6e-8c00-b6b33dc196da
What I tried: I read all doc included with the dev kit ( schematics, arduino example ecc ) and here. Also, as explained here, I tried double buffering setting
CONFIG_EXAMPLE_DOUBLE_FB = 1
and I'm using.fb_in_psram = true
Below my panel_config. I got pin timings and pin number from here and schematics.