Florentin von Frankenberg

mcs9212dt256b setting clock rates for serial communication

Discussion created by Florentin von Frankenberg on Jan 28, 2009
Latest reply on Feb 6, 2009 by Carl Barnes
Hi,

I'm trying to set up my mcu to use the serial port, at 115200 baud, and would also like the processor as fast as possible. The serial communication works when I set my oscillator freq. at 4.0 MHz, and enable PLL, and set internal bus clock at 24 (PLL clock at 48)

Is there any way I can increase my oscillator frequency and still have the serial communication work? how are these values calculated(so I can do it myself in the future) ? why is it like this?

Also, I keep getting a linker warning L1937 the LINK_INFO entries for OSCFREQUENCY have a multiple different contents. It was 4000000 before and in addition is 24000000 from AD2.c.o   (IO.Map.c.o)

If anyone can tell me how to set up the serial monitor that would solve my problem as well... I loaded the program SerMon on to the microcontroller, and now I'm trying to debug using the serial monitor, but keep getting error messages "could not connect to hardware."  "HI-WAVE Fatal Error" "


Message Edited by Franklin on 2009-01-28 05:09 AM

Outcomes