Hi,
I encountered a problem when using SCI. The data in SCI is incorrect and when I send three different data "A" “B” “C”, it return the value of "61" "21" "38", Can you tell me why?
Original Attachment has been moved to: FreeScale.rar.zip
已解决! 转到解答。
Hi, Daniel
The problem has been solved, it turned out to be the problem of MAX3232. This level switch chip was damaged and the voltage in Serial Port changed, thank you all!
Hi, don
The Baud rate is correct for it has been tested in MC9S08QE128 by FAE of FreeScale in ShangHai and he made it clear that the program works ok in his DEMO Board!
We've send out a 55 (hex) value out the transmitter and MCU returns 0x55, but only this number correct! The dumb terminal shows the same result when MCU send datas!
Usually the problem is either:
-Baud rate is wrong
-the Invert bit in the config registers is the wrong polarity.
To check the baud rate, send out a 55 (hex) value out the transmitter & look at the result on a 'scope
you should see a square wave. (or use a dumb terminal, should show U character)
don