I load a byte into the USCxTxBuf of an MSP430F2330. It gets shifted
out by eight edges of the SPI clock onto the SOMI line. Will the same
byte get shifted out when the next eight edges of the SPI clock occur
even if I didn't reload the USCxTxBuf with the same byte? If not, what
will get shifted out? All 0's?
Here's my code which shows how I poll the UCA0TXIFG before loading the
transmit buffer.
while (!(UC0IFG & UCA0TXIFG)); // Is the SPI transmit buffer
// ready to accept a byte ?
UCA0TXBUF = Byte_To_Send_To_AFE; // Load transmit buffer with
// byte.
while (!(UC0IFG & UCA0RXIFG)); // Byte received ?
Byte_Received_From_AFE = UCA0RXBUF; // Store received byte.
------------------------------------

(You need to be a member of msp430 -- send a blank email to msp430-subscribe@yahoogroups.com )