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.

MSP430FR5992: MSP430FR5994 GPIO pin level does not take effect

Part Number: MSP430FR5992
Other Parts Discussed in Thread: MSP430FR5994

Hi,teams

Can't the P3.4 and P3.5 ports of MSP430FR5994 be used at the same time?

I set both ports high, of which P3.5 will be set high, and P3.4 will first become high and then low. Why is this?

In the code, there is no place for P3.4 to be low. These two Are the pins mutually exclusive? Can't it be configured as a GPIO port at the same time?

  • Hi Xi.Yan.Kiana,

    Is there anywhere else in your code you write to P3OUT?

    I see that you are using strict assignment for your registers in your initial configuration code you shared, which is fine there, but if you are writing P3OUT in this manner later, you are probably overwriting your P3OUT BIT4 value at some point.

    So if you want to change P3.5 without changing P3.4, ensure you are doing something like:

    P3OUT &= ~BIT5;

    Rather than:

    P3OUT = ~BIT5;

    Best Regards,
    Brandon Fisher

**Attention** This is a public forum