In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Carl, Why are you loading the WK_PND register with $FF ? I see you do later load it with $00 before exiting the ISR. But $FF would indicate that ALL bits had caused an interrupt. Normally I load WK_PND with $00 (while getting the current status), as the very first thing. Then don't do it again in the ISR (that way if another bit causes an interrupt while you are IN the interrupt routine it won't get "lost", it will just trigger another interrupt as soon as the current one if finished. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=108128#m108176 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)