SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
The McSPI master mode supports multichannel communication with up to four independent SPI 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) signals.
Connected to multiple external devices, the McSPI exchanges data with one SPI device at a time through two main modes (available in slave mode):
There is a fixed chip select line allocation in multichannel master mode. Channel x SPIEN[x] is mapped to spim_cs[i] pin.
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 master mode (for more information about interrupts, see Section 24.4.4.7.1, Interrupt Events in Master Mode).