Skip to main content
Visitor II
November 13, 2002
Question

ST9 EFT overflow interrupt not working in PWM mode

  • November 13, 2002
  • 2 replies
  • 579 views
Posted on November 13, 2002 at 17:56

ST9 EFT overflow interrupt not working in PWM mode

    This topic has been closed for replies.

    2 replies

    Visitor II
    May 17, 2011
    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

    Visitor II
    May 17, 2011
    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