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?
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?