In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Chong wrote: I'm having a very strange interrupt behavoir on 2 RB pins. They appear to be properly initialized, but I was having problems with my system failing to respond to pin conditions which should have triggered interrupts. First I configured some RA pins as outputs to light some LEDs to give me a clue what parts of my code were being reached which was how I found out that interrupt handling was inconsistent. For some reason I was unable to get either pin to interrupt. My code is meant to run at 50MHz which makes it tough to detailled debugging with LEDs so I configured 5 spare RB pins as outputs to spit out numbers at certain program places so I could trace my program with a datalogger. After putting the trace commands in, my program started behaving properly. I haven't changed the way I set up RB except for setting some up as outputs. I note that when running code in debug mode, I have a strange issue where RB states don't update even though I've manually changed input conditions until I write to the 5 spare pins config'd as outputs. Has anyone also experienced an input pin refresh issue with their SX micros? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=108128 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)