Hello Brian,
You mention that you have problems sending SCI data, but can you correctly receive any data? Are you using a MAX232, or similar device to provide the interface to the PC? Some MCUs have an option to invert the transmit data - I wonder if this is properly set up? If the interface circuitry you are using inverts the data, the SCI setting should be non-inverted (normal).
I also assume that you have not unintentionally enabled 9-bit mode.
Regards,
Mac
Hello,
It appears you may not have been waiting for the transmit buffer to empty before sending the next character. You need to test the associated TDRE flag, and wait until it becomes set, prior to sending the next character. You do not mention the baud rate you are using, but I would assume it could be relatively slow. At 9600 bits per second each character will take slightly more than 1 millisecond to send.
Regards,
Mac
Message Edited by bigmac on 2006-06-21 01:52 AM