Hello everyone, I have created an adapter to use the shields for adafruit feather boards with the new arduino nano.
I am testing with this screen and with the NANO 33 IoT (SAMD21 & ESP82), it works very well, but with the NANO 33 BLE Sense (NRF52840), all the examples are drawn very slowly on the screen, I have tried to modify the Adafruit_HX8357library, without any success.
// THIS REALLY SHOULD GO IN SPITFT (PART OF ADAFRUIT_GFX),
// AND CAN BE FURTHER EXPANDED (e.g. add 12 MHz for M0, 24 for M4),
// BUT TEMPORARILY FOR NOW IT'S HERE:
//Define Arduino Nano 33 BLE Board "ARDUINO_ARCH_NRF52840"
#if defined (ARDUINO_ARCH_ARC32)
#define SPI_DEFAULT_FREQ 16000000
#elif defined (AVR) || defined(TEENSYDUINO)
#define SPI_DEFAULT_FREQ 8000000
#elif defined(ESP8266) || defined (ARDUINO_MAXIM)
#define SPI_DEFAULT_FREQ 16000000
#elif defined(ESP32)
#define SPI_DEFAULT_FREQ 24000000
#elif defined(RASPI)
#define SPI_DEFAULT_FREQ 24000000
#elif defined(ARDUINO_ARCH_NRF52840)
#define SPI_DEFAULT_FREQ 24000000
#else
#define SPI_DEFAULT_FREQ 24000000 ///< The default SPI frequency
#endif
I have discovered that the default board runs at 4 MHZ (HardwareSPI.h),
// Default speed set to 4MHz, SPI mode set to MODE 0 and Bit order set to MSB first.
SPISettings() { init_AlwaysInline(4000000, MSBFIRST, SPI_MODE0); }
Could someone help me?
