Brian Handley

any ideas to debug SCI code

Discussion created by Brian Handley on Jun 19, 2006
Latest reply on Jun 20, 2006 by bigmac
I have spent most of today getting a 9S12 variant to spit data out fo the serial port.  However, it seems that no matter hwat characters I program to go out of the port, I get other characters.  I have tried many different baud rates on the target side (MCU) and on the receiving host side (my PC).
I have gone through the debugger multiple times and I am satisfied that the functions are passing the correct data and supposedly handing the correct data to the SCI Data register.  Once I view it on my PC, it makes no sense.  So does anybody have any tried-and-true ways for debugging SCI communication problems?
 
Brian

Outcomes