PDA

View Full Version : 2550 serout problems



f_lez
- 2nd November 2006, 21:29
I seem to have a problem moving from the f88 to the f2550.....

Code runs fine but seems to run faster than it should, I have a 16mhz crystal on it and a def osc 16 in my source.

Problem is my serout seems to be sending corrupt data, or at a guess, out of baud data, as what I get on screen is consistantly wrong.

any guesses anyone?

Also I just heard a rumour I can dump the crystal (cost cutting!) and use an 8mhz internal clock, if so can I still get low speed usb to copy the serial data to usb?

mister_e
- 3rd November 2006, 04:16
Guess? Sure, it's your config fuse setting dude!

Look at the faq, there's a whole thread that explain how to get and set them.

f_lez
- 3rd November 2006, 10:04
lol thanks, I didnt know I had to set the fuse in the programmer software by hand, it defaults to system PLL/3 and OSC HS/5.

I changed em to system (no divide) and osc /4

Does that mean its running at 4mhz?

I had hoped to get some more speed with it having a faster crystal on it.

The serout is working now.

I can go and hunt bigger issues in the code....