Open GeorgeStephens opened 4 months ago
@GeorgeStephens try running it at 24Mhz. In our testing, most of these displays aren't stable at 48mhz (and it's possible the traces on the PCB aren't suitable for 48mhz).
@adrianstevens, 24Mhz seems to have helped. Not sure why the CS would be dragged low due to this but the test I have just started it has outlasted anything prior. I think the 48Mhz came from a sample so might just need to be checked what else is set at that.
Spoke too soon, first test got far further, still froze. Second test got to 72.
Yeah this definitely should work. I need to find my CCM breakout board. It's possible there's an issue with the PCB design. Does 12Mhz improve stability?
Describe the bug St7789 appears to hang the thread it is running on intermittently. This can be during first write or during the 100th write.
To Reproduce This always fails before it reaches 350 updates, sometimes it doesnt make the first update. Following application runs without changes on
Core-Compute Breakout v2b
Expected behavior The display not to hang.
I'm pretty sure this is an issue with the St7789 in some way. I don't think its hardware related, I have the same issue on Core-Compute Breakout v2b, project lab v1 and custom hardware. The whole thread that is doing the display update just hangs, everything else is okay (all other threads are running, Ethernet okay etc.). Location in the application is completely random, can be first time I try to draw, it can be the 100th time.
Screenshots
Developer tools (please complete the following information as best as you can):
Meadow (please complete the following information as best as you can): Most of these values can be found by running
meadow device info
using the Meadow CLI.Core-Compute Breakout v2b