MC9S08QE8 - Sensor Toolbox - AN3922 Code - Hyperterminal

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MC9S08QE8 - Sensor Toolbox - AN3922 Code - Hyperterminal

1,215 次查看
mexxx01
Contributor I

Dear All!

 

 

I am using the Sensor Toolbox with MMA8450Q and the USB board. Also I am running the "standard-code" from AN3922 suplied by Freescale. Linking, compiling and flashing is good.

 

My problem is: When I am trying to connect through hyperterminal or similar program (hterm, realterm,...) i can connect, can send a character like "?", but the output from the MCU on the hyperterminal screen is looking like the file enclosed.

 

 

The register values seems to be correct.

Baudrate is 115200 - - > SCIBD is 0x05 - - > MCU bus freq is 9.216 Mhz - - > 115.2 k,

other registers are standard values.

 

Settings in hyperterminal are corresponding: Baudrate 115.2 k, Databits 8, Parity None, Stop bits 1, Flow control None, emulationtyp automatic.

 

 

 

Does anybody have an idea?

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

732 次查看
mexxx01
Contributor I

Dear All!

 

I found the problem.

 

I tried to reset a new baud rate based on the MCU frequency of 9.216 Mhz. With the registers I set the baud rate to 9600.

If I try to get a connection with 9600 baud using e.g. hyperterminal the board isn't working, because the working baud rate is 7900.

 

It seems, that the MCU frequency is not correct.

 

Can you help me to check the MCU frequency?

0 项奖励
回复