I had a few hours of “fun” figuring out why my RP2350 could use my ILI9341 display, but not the ST7796 one. To be more specific, displaying stuff with the first display worked flawlessly, while the ST7796 would display a single frame correctly, and then glitch. Depending on the exact code running, the glitches would include: Changing completely unrelated code would change the exact glitch, most likely because it slightly changed the timing at which the display code ran, making diagnostic more difficult. On the opposite, just displaying the output of time_us_64() help significantly, since I could immediately tell whether…
Read more: The RP2350 is too fast