Open ladyada opened 4 years ago
As I have been askeed lately about the Adafruit Feather nRF52840 in regards of my FT81x / BT81x display "library" which would benefit from the ability to write out a buffer with SPI over DMA, what is the status on adding nRF52840 to for example ZeroDMA library?
zerodma is for the samd21/samd51 series. its better to just write a new library for DMA handling on the nrf because its totally different (but, thankfully, also a lot easier!)
I just opened the nrF52840 documentation and this looks interesting. Right now I only wonder if it is possible to get an interrupt for when the transfer is done for a callback-function. So this probably would be something to be implemented directly into the SPI class. Like the SPI.transfer(txbuffer, rxbuffer, count, block) function in the Adafruit Arduino SAMD core. Or perhaps rather like the SPI.transfer(txbuffer, rxbuffer, count, callback) function from the Teensyduino core.
Yes, interesting, I only do not have any nRF5xx board yet.
Is STM32F401 compatible? Since it's also Cortex M4.
Any plans on supporting the Arduino Nano RP2040 Connect? Once again thank you for all your efforts.
nrf52 has been using PWM DMA previously, but the show() is implemented as blocking, this PR change show() behavior to non-blokcing (until the next invocation) https://github.com/adafruit/Adafruit_NeoPixel/pull/229