Hi
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) { WDTCTL = WDTPW + WDTHOLD; P2SEL &= ~BIT6; P2DIR &= ~BIT6; P2IES &= ~BIT6; P2REN |= BIT6; P2OUT &= ~BIT6; P2IFG &= ~BIT6; P2IE |= BIT6; P3DIR = 0xff; // LEDs on P3 P3OUT |= 0xff; __enable_interrupt(); while(1); } #pragma vector=PORT2_VECTOR __interrupt void port2_interrupt(void) { P3OUT ^= BIT0; // toggle LED P2IFG &= ~BIT6; }