config the MC9S08AW60 to work with SCI in 115200 baud

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

config the MC9S08AW60 to work with SCI in 115200 baud

2,380 Views
SHUSH
Contributor I
Hi,
 
I need help to configure the SCI of my MC9S08AW60 to work in 115200 baud rate .
 
Thanks,
 
Shai
Labels (1)
0 Kudos
4 Replies

378 Views
admin
Specialist II
If you tell me what your bus speed is, I can help you set up the registers.  I recently did it for a MCS08AW16.
 
-Tomahawk
0 Kudos

378 Views
Sany
Contributor III
Sorry to steal this thread. I using external crystal 16MHz without FLL. I believe the bus frequency is 8MHz. However I set the BR to 52 and I tried communicate with Hyperterminal, it produced some junk data. Any more thing I need to aware other than BR, parity bit, number of bits?
0 Kudos

378 Views
admin
Specialist II


Sany wrote:
Sorry to steal this thread. I using external crystal 16MHz without FLL. I believe the bus frequency is 8MHz. However I set the BR to 52 and I tried communicate with Hyperterminal, it produced some junk data. Any more thing I need to aware other than BR, parity bit, number of bits?



Nope that should do it.  I set up my project to send data to HyperTerm.  A BR of 52 looks correct for 9600 baud.  Make sure HyperTerm has the same parity and bit settings.  Oh, also make sure of your bus speed.  I've seen junk like that on HyperTerm when the baud rate wasn't quite correct.
0 Kudos

378 Views
Pingu
NXP Employee
NXP Employee

SCI baud rate = BUSCLK/(16xBR)

See section 11.2.1 SCI Baud Rate Registers (SCIxBDH, SCIxBHL) of the databook for the register description.

If you are having a specific problem with this module please provide me with more details on you system set up.

Pingu

0 Kudos