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.

MSP430FR5969: Code example that runs software uart for the MSP430FR5969

Part Number: MSP430FR5969
Other Parts Discussed in Thread: MSP430WARE

Hello.

I have a question.

Are there any code examples that software UART works for MSP430FR5969?

I found following example.

msp430g2xx1_ta_uart9600.c

Should I refer to the above for the MSP430Fxxx and MSP430FRxxx devices as well?
Is there another softwere uart code example?

Regards,

  • Hi Keirs,

    Thanks for posting! We have code examples specifically for the FR59xx devices. Here is a link to them:

    www.ti.com/.../getliterature.tsp


    There are 5 UART code examples you may be interested in (msp430fr59xx_euscia0_uart_01.c, msp430fr59xx_euscia0_uart_02.c, msp430fr59xx_euscia0_uart_03.c, msp430fr59xx_euscia0_uart_04.c, and msp430fr59xx_eusci_uart_standard_transceiver.c)


    I would recommend checking out the resource explorer in CCS for code examples for the Fxxx and FRxxx devices. On the top bar in CCS go to View -> Resource Explorer. Then on the side bar go to Software -> MSP430Ware -> Devices -> [Whatever device you want] -> Peripheral Examples -> Register Level and then you can select the code example you want. Import it into CCS and you should be good to go!

    Please let me know if you have any more questions.

    -Mitch
  • easy: wordpress.com/.../5048

    the uart0isr_sw.h/c are software uart utilizing TA0 for software transmission (TX only). as written it supports up to 3 software UARTs, all interrupt-driven (non-blocking). It uses the output compare channels for timing, thus the ability to support concurrent multiple TX comms. code tested on the FR launchpad.

    code can be repurposed to other timers.

  • you can also find the hardware uarts, both blocking and non-blocking implementations, in the same folder.

**Attention** This is a public forum