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.

CC430F5147: Port Interrupt not working on P2.6 and P2.7

Other Parts Discussed in Thread: CC430F5147


Port interrupt is not working on the pins 2.6 and 2.7 on the CC430F5147.

All other pins (Port 1 and Port 2) seem to work ok.

P2.6 and P2.7 are not connected to anything and should support port interrupts according to the datasheet.

Is this an undiscovered errata?

Here's my code for you to test:

#include <msp430.h> 

int main(void) {
  P2SEL &= ~BIT6;
  P2DIR &= ~BIT6;
  P2IES &= ~BIT6;
  P2REN |= BIT6;
  P2OUT &= ~BIT6;
  P2IFG &= ~BIT6;
  P2IE  |= BIT6;
  P3DIR  = 0xff;  // LEDs on P3
  P3OUT |= 0xff;

#pragma vector=PORT2_VECTOR
__interrupt void port2_interrupt(void) {
  P3OUT ^= BIT0; // toggle LED
  P2IFG &= ~BIT6;