In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mlablan1 wrote: OK, I am really sumped ! I have gotten pretty far along with my attempt to interface a MAX3100 to an SX28 chip using SX/B, but after much trial and error work I am stuck. I will enclose my latest program. This version is able to communicate properly with the MAX3100 and set up the contiguration registars. Here is my debug window after I send the command to the MAX3100: SEE ATTACHMENT [i]Debug_Values_1.bmp[/i] And here is my debug window after I read back the configuration registers of the MAX3100: SEE ATTACHMENT [i]Debug_Values_2.bmp[/i] I think everything is OK up to this point. Now the trouble begins... I can't seem to get a valid character read back from the MAX3100. Just to review, I am attempting to use an old PALM portable keyboard and capture the IRDA from that device into my SX chip. My next step will be to interface this SX chip back to another device, using the PALM keyboard for wireless character input. You will be able to see from my code that I have tried 2 different methods to detect a full byte being available from the MAX3100 (trying to use the IRQ pin and trying to interrogate the "R bit") and neither of these methods works. When running in the debugger with either of these methods uncommented and compiled in the code the code never gets a valid hit, so it never moves to grab the character. As the code is now, with both of these methods commented out, I can run the debugger in the "Poll" mode and get the watch variables to react, but I am only getting a hex 22 value no matter what key I press. I have tried various combinations of 7 or 8 bit byte and stop bit combinations with the MAX3100 configuration, but this does not seem to matter. I have also tried various settings on the baud bits, but again, I get the same hex 22 input. Can anyone help me on this - it has me baffled? Thanks in advance. Mike from Saratoga ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=188222#m191568 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)