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.

MSP430F5172: I have a problem with P2.0 to P2.7,and P3.0 to P3.1 .

Part Number: MSP430F5172
Other Parts Discussed in Thread: MSP-TS430RSB40

When I set the I/O port from P2.0 to P3.7 to high level,but it doesn't works at the development board.

. The code reads as follows:

#include <msp430.h>
void main( void )
{
  // Stop watchdog timer to prevent time out reset
      WDTCTL = WDTPW + WDTHOLD;
      P1DIR |=BIT0;
      P1OUT |=BIT0;
    
      P2DIR |=0xff;
      P2OUT |=0xff; 
      P3DIR |=0xff;
      P3OUT |=0xff;
      


}

**Attention** This is a public forum