SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
The MCSPI controller mode supports multichannel communication with up to four independent MCSPI communication channel contexts. The MCSPI initiates a data transfer on the data lines (SPIDAT[0] and SPIDAT[1]) and generates clock (SPICLK) and control (SPIEN[i]) signals.
Connected to multiple external devices, the MCSPI exchanges data with one MCSPI device at a time through two main modes (available in peripheral mode):
There is a fixed chip select line allocation in multichannel controller mode. Channel i is mapped to SPIEN[i].
Two DMA request events (read and write) allow synchronized accesses of the DMA controller with the activity of MCSPI.
Three interrupt events can be used for data transmission and reception in controller mode (for more information about interrupts, see Section 12.1.4.4.7.1, Interrupt Events in Controller Mode).