config the MC9S08AW60 to work with SCI in 115200 baud

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

config the MC9S08AW60 to work with SCI in 115200 baud

3,085件の閲覧回数
SHUSH
Contributor I
Hi,
 
I need help to configure the SCI of my MC9S08AW60 to work in 115200 baud rate .
 
Thanks,
 
Shai
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,083件の閲覧回数
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 件の賞賛
返信

1,083件の閲覧回数
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 件の賞賛
返信

1,083件の閲覧回数
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 件の賞賛
返信

1,083件の閲覧回数
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 件の賞賛
返信