Simen Biao

HC908GR8: TBM interrupt periods are not regular

Discussion created by Simen Biao on Oct 16, 2007
Latest reply on Oct 18, 2007 by Ake Webjorn
Hi,
 
I use the TBM interrupt in GR4.
The result shows the interrupt periods are not regular.
Please tell me what 's wrong with my code.
Thanks a lot!
----------------------------------------
__interrupt void isrINT_TBM(void)
{
   TBCR=TBCR|0x08;        // clear TBIF,set 1 to TACK
         PTD^=0x10;
}


--
Alban Edit: Please always include FSL Part Number in Message Subject line.
http://forums.freescale.com/freescale/board/message?board.id=FORUMUSE&message.id=865



Message Edited by Alban on 2007-10-16 08:26 AM

 

16-10-07_1048.jpg

GR4_AR9.zip

Message Edited by t.dowe on 2009-10-27 02:11 PM

Outcomes