cancel
Showing results for 
Search instead for 
Did you mean: 

ST9 EFT overflow interrupt not working in PWM mode

johanpauvert1
Associate II
Posted on November 13, 2002 at 17:56

ST9 EFT overflow interrupt not working in PWM mode

2 REPLIES 2
johanpauvert1
Associate II
Posted on May 17, 2011 at 11:32

Hi,

I am using the ST92F150 EFT in PWM mode and I am not able to generate an overflow interrupt !

Have you ever had this problem ?

Breizh

Posted on May 17, 2011 at 11:32

Did you clear your interrupt flags just before executing the global interrupt enable ?

I ran into the same issue very recently. It looks like the EFT interrupts are triggered on edge and not on level so you must make sure that all your flags are clear prior to enable the interrupt. Since the EFT is a free running counter, the TOF gets set pretty much righ away and if not clear by software, your overflow interrupt will be masked forever...

Jojo