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.

MSP430FR6989: Third UART

Part Number: MSP430FR6989

Hi

I am using the following on Pins FR6989.

    // Init LFXT Pins
    PJSEL0 = BIT4 | BIT5;                   // PJ.4(LFXIN), PJ.5(LFXOUT)

    // Init UART_A0 Pins
    P4SEL0 |= BIT2 | BIT3;                  // Pins 4.2(TX) 4.3(RX)
    P4SEL1 &= ~(BIT2 | BIT3);                // USCI_A0 UART

    // Init UART_A1 Pins
    P3SEL0 |= BIT4 | BIT5;                  // Pins P3.4(TX) P3.5(RX)
    P3SEL1 &= ~(BIT4 | BIT5);               // USCI_A1 UART operation using Backchannel

     // Init I2C
    P4SEL1 |= BIT0 | BIT1;                  // I2C P4.0 (SDA) P4.1(SCL)

    // Set VeRef+ (External Reference) & VeRef- to AVSS
    P1SEL1 |= REF_PIN;                      // Configure P1.1 to External VeRef 2.048V
    P1SEL0 |= REF_PIN;

    // ADC Input with VeRef
    P8SEL0 |= 0xF0;                         // Set Pins A4-A7 for ADC
    P8SEL1 |= 0xF0;

    // Sensor Board Enable Pins
    P9SEL0 &= ~(MENB1 | MENB2 | MENB3 | MENB4);
    P9SEL1 &= ~(MENB1 | MENB2 | MENB3 | MENB4);
    P9DIR |= MENB1 | MENB2 | MENB3 | MENB4;
    P9OUT |= MENB1 | MENB2 | MENB3 | MENB4;

I need one more UART for sensor with RX485 output which will be connected through MAX485 module. As per datasheet, there are only 2 UARTS for MSPFR6989. Correct if I am wrong. I need at least 3 UARTS (4 UARTS is better), 1 I2C, 1 SPI. Please suggest Pin config. Is software UART possible?

Regards

Vijay

**Attention** This is a public forum