lvgl_esp32_drivers icon indicating copy to clipboard operation
lvgl_esp32_drivers copied to clipboard

[develop] ST7789 software reset doesn't work

Open C47D opened this issue 2 years ago • 2 comments

Software reset doesn't seem to work when using the develop branch. To reproduce it you should enable software reset in the menuconfig and disable using hardware reset in the pin configuration menu,

C47D avatar Jan 11 '22 01:01 C47D

Seems like that particular display driver doesn't work well with software resets https://github.com/Bodmer/TFT_eSPI/issues/322#issuecomment-481034553

C47D avatar Jan 11 '22 01:01 C47D

According to datasheet SWRST only resets registers where some settings are, but Frame memory with previous picture will remain. I've added "fillScreen(0x0000)" in init() function just before SWRST call to clear screen also during reset. This helps to not show previous picture after SWRST is done.

slavendam avatar Feb 18 '22 00:02 slavendam