SPRUIU1C July 2020 – February 2024 DRA821U , DRA821U-Q1
Table 12-650 lists the transmit-and-receive procedure using the polling method.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure the channel according to the mode. | See Table 12-626. | |
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 transmit/receive word? | MCSPI_CHSTAT_0/1/2/3[2] EOT | =1 |
Stop the channel. | MCSPI_CHCTRL_0/1/2/3[0] EN | 0 |
Read the receiver register. | MCSPI_RX_0/1/2/3 | 0x- |