SPRUJB3 March 2024 AM67 , AM67A , TDA4AEN-Q1 , TDA4VEN-Q1
Table 12-55 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-27. | |
Start the channel. | MCSPI_CHiCTRL[0] EN | 1 |
Write the transmitter register with data. | MCSPI_TXi | 0x- |
Wait until transmit/receive word? | MCSPI_CHiSTAT[2] EOT | =1 |
Stop the channel. | MCSPI_CHiCTRL[0] EN | 0 |
Read the receiver register. | MCSPI_RXi | 0x- |