- Tue Jan 07, 2020 2:57 pm
#210993
I'm an old noob trying to port code from an Arduino Uno to the Artemis Redboard. The Redboard seems to be much faster running code, but the SPI is noticeably slower, so much so as to be almost unusable. I've timed it at 5X slower using the Adafruit graphicstest code (with all delays removed). This is very apparent in screen fills/overwrites. To update a character on the screen you must first fill that area with black (fillRect) before writing the new character. On the Uno this is very fast and works well. On the Redboard, it's slow and distracting.
The TFT LCD is a 240x240 using the ST7789 driver. I'm using the standard Adafruit graphics libraries (Adafruit_GFX.h and Adafruit_ST7789.h) and calls. The code and pins (SCK pin 13, MOSI pin 11) are identical for the Uno and Redboard.
Is there something I need to do to increase the Redboard SPI speed? Has anyone else seen this?
Thx.
Ken
The TFT LCD is a 240x240 using the ST7789 driver. I'm using the standard Adafruit graphics libraries (Adafruit_GFX.h and Adafruit_ST7789.h) and calls. The code and pins (SCK pin 13, MOSI pin 11) are identical for the Uno and Redboard.
Is there something I need to do to increase the Redboard SPI speed? Has anyone else seen this?
Thx.
Ken