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?
GFX SPITFT slow on Grand Central (Arduino IDE)
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- fvzeppelin
- Posts: 5
- Joined: Sat Sep 03, 2022 9:16 am
- fvzeppelin
- Posts: 5
- Joined: Sat Sep 03, 2022 9:16 am
Re: GFX SPITFT slow on Grand Central (Arduino IDE)
After further tracking down things, I opened up an issue in GFX:
https://github.com/adafruit/Adafruit-GF ... issues/400
https://github.com/adafruit/Adafruit-GF ... issues/400
Please be positive and constructive with your questions and comments.