SPRUI30H November 2015 – May 2024 DRA745 , DRA746 , DRA750 , DRA756
Table 24-233 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 24-210. | |
Start the channel. | MCSPI_CHxCTRL[0] EN | 1 |
Wait for end-of-transfer. | MCSPI_CHxSTAT[2] EOT | =1 |
Read the receiver register. | MCSPI_RXx | 0x- |
Stop the channel if no more data is expected. | MCSPI_CHxCTRL[0] EN | 0 |