Do I need to do something special to disable EasyDMA on an nRF52840?

I'm wanting to repetitively read the SPI buffer as a master to check a status bit. I figure there's no sense in using the DMA when I can read the SPI RXD buffer directly.

Another Nordic DevZone question has an answer stating that I can just use the SPI legacy peripheral instead (although only with SPI0-SPI2), which is what I figured. I was just wondering if I had to do anything else to make sure EasyDMA doesn't corrupt any of my RAM, especially given that SPI and SPIM share the same ENABLE register (+0x500).


Also, as I was searching the datasheet while writing this: Am I meant to start the SPI (legacy) peripheral in the same way I would for SPIM (TASKS_START, +0x010)? Wouldn't that add issues with registers like RXD.MAXCNT (+0x538)?

Parents Reply Children
No Data
Related