In SX Microcontrollers, SX/B Compiler and SX-Key Tool, javalin wrote: PJ, I notice you're using shadow registers in the ISR to modify the pins. Is this for a particular reason? Relevant code below: mov w,Port ;get current state of port bits and w,#%1111_1100 ;clear burst output bits or w,BurstBits ;merge in the current state of the burst bits mov Port,w ;transfer the pre-calculated value for the port to the port mov w,#IntConst ;load w to interrupt again in 125 clocks..... 2.5 uSec The reason I ask is that I am having issues with an SX application that reads two 115k serial inputs, buffers it and sends them out. Essentially a serial relay app. Periodically I have (i.e. half way through a relay of a CMU2CAM picture) a load of line errors. I am using currently setb and clrb (based on the dualuart.src senix example) to manipulate the pins. Cheers for any thoughts! James ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=109670#m111053 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)