This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430FG439 SPI and uart

Other Parts Discussed in Thread: MSP430FG439

Hello Everyone,

I am using MSP430FG439 for one of my application . I am already using UART of it in continuous mode without using interrupt. but now i also  require to use SPI . As Msp430FG439 support both SPI and UART but the register use for both is same. Can i use both the modules simultaneously in one application. if yes, can anyone plz provide me the sample code of both the module used in one program if possible .

Thanks and regards

Asma,

  • Asma,

    the MSP430FG439 you are using has an on-chip USART module for UART/SPI communication. Unfortunately this module can be only operated in one operation mode (UART/SPI) only at a time.

    The newer serial communication module which can be found in other device is called USCI, and usually we have both USCI_A and USCI_B on one device, so multiple configuration like the one you are looking for is possible.