In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Frasse wrote: Gunther (sorry can't find the umlaut on my keyboard) Thanks for your tips on faultfinding the UART VP. I did as you told me, stripped down the code to a bare minimum. Then I removed the inversion of the character to be sent to compensate for the inversion made by the MAX232. (I am sticking to setting the bit 7 of tx_low as I did not understand the reasoning for clearing the byte altogether.) I wrote a small main routine to set up the input parameters required for the transmit routine and tried it out. No luck. I tried some alterations, like clearing tx_low altogether, checking the code for the umpteenth time but to no avail. However, depending on what value I load into tx_high, I either get a character (not the correct one, but still) repeated at fast pace. Negating the value loaded into tx_high, (incorporating a not w after initial character definition) will only give me spurious characters (not the anticipated one) and only after a reset. I'm totally dumbfounded by this. Can I ask you to have a look at the program which is attached to this post? I would be ever so greatful. Best regards Frasse ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=155203#m155405 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)