Part Number: MSP430F413
Hi TI employee,
My coustomer designed a watermeter with MSP430F413 . The problem is if the P1.2 IO interrupt occuers, it will affect P1.0, and make P1IFG = 0x03.
It 's easy reproduce this issue. Pls help check and give a solution.
#include "msp430f413.h"
void main( void )
{
// Stop watchdog timer to prevent time out reset
WDTCTL = WDTPW + WDTHOLD;
P1DIR = 0;
P1IES = BIT2 + BIT0;
P1IE = BIT2 + BIT0;
P1IFG = 0;
while(1)
{
_BIS_SR(GIE+LPM3_bits);
}
}
#pragma vector = PORT1_VECTOR
__interrupt void P1(void)
{
__no_operation();
__no_operation();
__no_operation();
}