RM0401
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.
Serial peripheral interface/ inter-IC sound (SPI/I2S)
Figure 249. Transmission using DMA
RM0401 Rev 3
697/771
731
Need help?
Do you have a question about the STM32F410 and is the answer not in the manual?