Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

MSP430F413: F413 IO interrupt issue

$
0
0

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;
    
    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();
}


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>