In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mlablan1 wrote: I am very new to SX chips and SX/B. I am trying to interface to a MAX3100 UART chip and I am having some difficulties. I found some BS2 code to do this in the BS2 forum, and I am trying to adapt this program to SX/B. I am attaching both programs (the older BS2 that someone else wrote and the new SX/B that I have attempted to write). After I get past this challenge, I want to use the MAX3100 for a IRDA interface to an old Palm keyboard that I have, but first I need to be able to communicate between the SX and the MAX3100. So far the code I created only tries to send the MAX3100 a configuration command and then immediately read back the MAX3100 configuration registers. From what the BS2 code says, I should be getting back the exact same bit settings, but I am not even close. I am sending "command1" and "command2" to the MAX3100 and I am reading out "commandIn1" and "commandIn2": [img]file:///C:/Documents%20and%20Settings/Michael%20LaBlanc/My%20Documents/My%20Pictures/Debug_Values1.bmp[/img] [img]file:///C:/Documents%20and%20Settings/Michael%20LaBlanc/My%20Documents/My%20Pictures/Debug_Values1.gif[/img] I will attach the two programs on this posting. Anything anyone can do to help me get past this challenge would be great. Thanks a lot in advance. Mike Saratoga Springs, NY ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=188222 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)