Hello, I have a question regarding the UCAxTXBUF register on the MSP430FR5969 for use in SPI Slave Mode. If I write to the UCAxTXBUF register, and then after writing to the register I set the UCSWRST register to reset the SPI peripheral. When I clear the UCSWRST and write a new value to the UCAxTXBUF register, which value will actually be present in the actual Transmit Shift Register? Will the value I wrote to UCAxTXBUF register prior to setting the UCSWRST register still be present in the Transmit Shift Register--or will the new value I wrote to UCAxTXBUF after clearing the UCSWRST be the value that will become present in the Transmit Shift Register? The reason I ask, is that I'm suspicious that the value I write to the UCAxTXBUF register prior to setting the UCSWRST seems to be the next value that gets transmitted out the SPI line on the next SPI transfer, even though I set and clear the UCSWRST register in between.
↧