Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add nRF52840 DMA support (SPI? UART?) #13

Open
ladyada opened this issue Mar 3, 2020 · 6 comments
Open

add nRF52840 DMA support (SPI? UART?) #13

ladyada opened this issue Mar 3, 2020 · 6 comments

Comments

@ladyada
Copy link
Member

ladyada commented Mar 3, 2020

No description provided.

@hathach
Copy link
Member

hathach commented Mar 19, 2020

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) adafruit/Adafruit_NeoPixel#229

@RudolphRiedel
Copy link

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?

@ladyada
Copy link
Member Author

ladyada commented Jan 9, 2021

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!)

@RudolphRiedel
Copy link

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.

@myst729
Copy link

myst729 commented Jan 4, 2024

Is STM32F401 compatible? Since it's also Cortex M4.

@dmytyk
Copy link

dmytyk commented Jan 31, 2024

Any plans on supporting the Arduino Nano RP2040 Connect? Once again thank you for all your efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants