Serial peripheral interface/ inter-IC sound (SPI/I2S)
To close communication it is mandatory to follow these steps in order:
1.
Disable DMA streams for Tx and Rx in the DMA registers, if the streams are used.
2.
Disable the SPI by following the SPI disable procedure.
3.
Disable DMA Tx and Rx buffers by clearing the TXDMAEN and RXDMAEN bits in the
SPI_CR2 register, if DMA Tx and/or DMA Rx are used.
952/1324
Figure 327. Transmission using DMA
RM0430 Rev 8
RM0430
Need help?
Do you have a question about the STM32F423 and is the answer not in the manual?