This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DMA for SPI master

I'm reading AD-converter data usin nRF51822 SPI-Master. BLE-stack is active so I can't use interrupts with SPI. I get data every 2 ms. Sometimes Events are delayed so long that I get erroneous data from AD.

Is there some way to implement DMA for the SPI-Master, maybe using SPI-slave some way?

Juha Okkonen

Parents Reply
  • Thanks for your reply, Audun.

    But unfortunately our AD runs on its own Crystal Oscillator and for sure it will collide with the radio events. Which also implies that we cannot sync AD to radio notifications.

    I'm just wondering if there's a way to guarantee AD GPIOTE interrupt is serviced within 2ms (maybe 4ms or 8ms) with radio turned on?

    Thanks, Bruce

Children
No Data
Related