SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
Table 12-366 lists the transmit-only procedure using the polling method.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure the channel according to the mode. | See Table 12-342. | |
Start the channel. | MCSPI_CHCTRL_0/1/2/3[0] EN | 1 |
Write the transmitter register with data. | MCSPI_TX_0/1/2/3 | 0x- |
Wait until end of transfer? | MCSPI_CHSTAT_0/1/2/3[2] EOT | =1 |
Stop the channel. | MCSPI_CHCTRL_0/1/2/3[0] EN | 0 |