GFX SPITFT slow on Grand Central (Arduino IDE)

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
fvzeppelin
 
Posts: 5
Joined: Sat Sep 03, 2022 9:16 am

GFX SPITFT slow on Grand Central (Arduino IDE)

Post by fvzeppelin »

Ok, so finally I have managed to get my SSD1331 RGB OLED connected with a 24MHz SPI clock :)
Nevertheless, the SPI_BEGIN_TRANSACTION/SPI_END_TRANSCATION functions are really slowing down things a lot.

As a workaround, I emptied both methods and instead, call SPI.beginTransaction once in my setup().

This is not exactly what transactions were made for, but in my case, it's an exclusive SPI for the display, anyway. And the effect is HUGE. With the original methods, an RGB image was drawn clearly visibly from top to down, while with my workaround, it just appears as a whole :)

Now, I am asking myself, if there are ways make the original functions more efficient instead of removing them. Any ideas?

User avatar
fvzeppelin
 
Posts: 5
Joined: Sat Sep 03, 2022 9:16 am

Re: GFX SPITFT slow on Grand Central (Arduino IDE)

Post by fvzeppelin »

After further tracking down things, I opened up an issue in GFX:
https://github.com/adafruit/Adafruit-GF ... issues/400

Locked
Please be positive and constructive with your questions and comments.

Return to “Metro, Metro Express, and Grand Central Boards”