Walter Torresani

M9S08QG8  SCI problems

Discussion created by Walter Torresani on Feb 27, 2008
Latest reply on Feb 28, 2008 by Walter Torresani
Good day to everybody,
I'm new in this forum and I'm here because I've some problem with the SCI of an HC(S)08 microcontroller: the M9S08QG8 mounted on the demo board DEMO9S08QG8.

I'm using the codewarrior 5.9.0.

My problems, for the time being, are these:

1) When i set the baud rate at 19200, obtained with an internal frequency of 32,4 KHz, a BUS freq. of 8,2944
and a value of 27 for SCIBDR the SCI work properly ( I'm using the printf function of stdio.h with my own TERMIO_PutChar ), but when I enable ODD parity ( on the terminal's screen) i don't recieve the correct message.

2) If I leave parity NONE and I try to set the baud rate to 115200 obtained with an internal frequency of 36 KHz, a BUS freq. of 9,216 and a value of 5 for SCIBDR the SCI doesn't work at all independently of the parity that I set.

You have any idea to solve these 2 problem with the SCI??

Thanks to all and I'm very sorry for my English. Forgive me please!! :smileywink:

Message Edited by Brodek on 2008-02-27 02:08 PM