Hi FWFan
Assuming you are running your M52259 at 80MHz the code is configuring the UART to 19'200.
This means that you may be sending data to it at a different baud rate to this - resulting in the data being received (but not having the expected content).
Please specify in more detail how you are testing and what is happening (what is working correctly and what not correctly, with the exact results when not correct) .
Regards
Mark
www.uTasker.com
- OS, TCP/IP stack, USB, device drivers and simulator for M521X, M521XX, M5221X, M5222X, M5223X, M5225X. One package does them all - "Embedding it better..."