Part Number: MSP430BT5190
Hi Team,
We would like to ask your help regarding our customer's inquiry below.
I am trying to get SPI to work on an MSP430BT5190 and for some reason the RX and TX flags are not recognized by CCS. Do you know if there is a specific init for it?
while (!(IFG2 & UCB1TXIFG)); // USCI_B1 TX buffer ready?
UCB1TXBUF = value; // Send value over SPI to Slave
while (!(IFG2 & UCB1RXIFG)); // USCI_B1 RX Received?
received_ch = UCB1RXBUF; // Store received data
all the flags show as not recognized
I found the sample codes of SPI from the MSP Academy in the link below. Are these codes applicable to all MSP430 including the MSP430BT5190?
Regards,
Danilo