SPRUIU1D July 2020 – December 2024 DRA821U , DRA821U-Q1
Table 12-647 lists the receive-only procedure using the polling method.
| Step | Register/Bit Field/Programming Model | Value |
|---|---|---|
| Configure the channel according to the mode. | See Table 12-624. | |
| Start the channel. | MCSPI_CHCTRL_0/1/2/3[0] EN | 1 |
| Wait for end-of-transfer. | MCSPI_CHSTAT_0/1/2/3[2] EOT | =1 |
| Read the receiver register. | MCSPI_RX_0/1/2/3 | 0x- |
| Stop the channel if no more data is expected. | MCSPI_CHCTRL_0/1/2/3[0] EN | 0 |