SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Table 26-235 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 26-212. | |
Start the channel. | MCSPI_CHxCTRL[0] EN | 1 |
Write the transmitter register with data. | MCSPI_TXx | 0x- |
Wait until transmit/receive word? | MCSPI_CHxSTAT[2] EOT | =1 |
Stop the channel. | MCSPI_CHxCTRL[0] EN | 0 |
Read the receiver register. | MCSPI_TXx | 0x- |