115200 baud works with faster system clock speed?
bill190
Posts: 769
I've noticed that if I use the following system clock settings (using object FullDuplexSerialPlus.spin, Parallax Serial Terminal, Parallax USB to serial, and 5MHz crystal), that I will get "gobbledygook" on the terminal at baud rate 115200.
But·the following·will work fine at baud rate 57600...
· _xinfreq = 5_000_000····················
· _clkmode = xtal1 + pll1x
If I use these system clock speed settings or faster...
· _xinfreq = 5_000_000····················
· _clkmode = xtal1 + pll2x
...it will work fine at 115200.
Are there certain clock speeds I should use for faster baud rates?
·
But·the following·will work fine at baud rate 57600...
· _xinfreq = 5_000_000····················
· _clkmode = xtal1 + pll1x
If I use these system clock speed settings or faster...
· _xinfreq = 5_000_000····················
· _clkmode = xtal1 + pll2x
...it will work fine at 115200.
Are there certain clock speeds I should use for faster baud rates?
·
Comments
From your description it looks like the clock must be about 80 times faster than the baud rate.
Bean
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Use BASIC on the Propeller with the speed of assembly language.
PropBASIC thread http://forums.parallax.com/showthread.php?p=867134
March 2010 Nuts and Volts article·http://www.parallax.com/Portals/0/Downloads/docs/cols/nv/prop/col/nvp5.pdf
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
There are two rules in life:
· 1) Never divulge all information