You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I have an issue with display stopping responding to draw commands. The sketch is running and responding to button inputs, buzzer activation, led backlight control etc. But image will not redraw. I have an esp32 controlled pcb that controlls 220v load and a st7796u ips display. I have set spi frequency to 20mhz already. Sometimes it happens when I connect new 220v load. This I think is because of emi from spark in the controlled outlet. But sometimes it happens after few days of running the devise. Display is connected with a 1.5 meter 10 pin ribbon cable and idc connectors. Could it be some stray emi that breaks sync? Or is it spi code freezing? Is there a way to reinit spi communication without total redraw and without loosing current image on display?
The text was updated successfully, but these errors were encountered:
For now I am testing getting SPI instance from tft usion getSPIinstance method and then calling tft_spi.end() and tft_spi.begin(...TFT_pins...) before any screen update to ensure correct communication during drawing. Tested with outlet plug in spark, screen continued to update every second correctly. Is there a beter way of ensuring spi sync before drawing?
Hi. I have an issue with display stopping responding to draw commands. The sketch is running and responding to button inputs, buzzer activation, led backlight control etc. But image will not redraw. I have an esp32 controlled pcb that controlls 220v load and a st7796u ips display. I have set spi frequency to 20mhz already. Sometimes it happens when I connect new 220v load. This I think is because of emi from spark in the controlled outlet. But sometimes it happens after few days of running the devise. Display is connected with a 1.5 meter 10 pin ribbon cable and idc connectors. Could it be some stray emi that breaks sync? Or is it spi code freezing? Is there a way to reinit spi communication without total redraw and without loosing current image on display?
The text was updated successfully, but these errors were encountered: