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.

Faster UART Baudrate MSP430g2553

Other Parts Discussed in Thread: MSP430G2553

Are there settings possible/available for a UART baud rate of 1382400 baud? I only see settings up to 460800 baud in the user guide. I'm using 16 MHz SM clock

  • Derek I said:
    Are there settings possible/available for a UART baud rate of 1382400 baud? I only see settings up to 460800 baud in the user guide. I'm using 16 MHz SM clock

    To get 1382400 baud you need 22.1184 MHz clock which is out of range for particular chip. Thou you can use 1000000 baudrate with 16MHz clock. (UCOS16 = 1, UCBRx =1, UCBRSx=0, UCBRFx=0). I am not sure about Low-Freq modes. Anyway you shall read whole "UART Baud Rate Generation" chapter, not only tables which actually are just typical baudrates, does not cover all possible combinations

  • Derek I said:

    Are there settings possible/available for a UART baud rate of 1382400 baud? I only see settings up to 460800 baud in the user guide. I'm using 16 MHz SM clock

    MSP430G2553 with 16 MHz MCLK, can go over 1 Mbps...
  • The table in the users guide only contains typical values for convenience. The users guide also provides a formula that fits for any baudrate (even 12345.67Bd, if you want)

    For 1382400Bd, you don't need 22MHz clock. This is only when using oversampling mode. If not, only 2 or 3 times the baudrate is the minimum (but the bit timing error shrinks the higher the factor of source clock to baudrate is).

    The main problem is to get a stable and precise clock frequency from the DCO (the G2553 only supports an LF crystal)

**Attention** This is a public forum