ADuCM310 Hardware Reference Manual
UG-549
Rev. C | Page 139 of 192
Performing SPIx DMA Master Receive
The DMA SPI Rx channel must be configured.
The NVIC must be configured to enable DMA Rx master interrupt (ISER0[29]).
The DMA transfer stops when the number of bytes have been transferred. Note that the DMA buffer must be of the same size as
SPI1CNT to generate a DMA interrupt when the transfer is complete.
SPI AND POWER-DOWN MODES
In master mode, before entering power-down mode, it is recommended to disable the SPI block in SPIxCON[0]. In slave mode, in either
mode of operation, interrupt driven or DMA, the CS line level must be checked via the GPIO registers to ensure that the SPI is not
communicating and that the SPI block is disabled while the CS line is high. At power-up, the SPI block can be reenabled.