How to speed up serial baudrate ?
tripp
Posts: 52
I am trying to speed up serial baudrate.
Using·"Multiple serial port driver" from Propeller Object Exchange.
http://obex.parallax.com/objects/340/
looking at the comments in the start it says:
''*··· 1 port up to 750kbps
The fastest i get is to 225kbps above that i start to miss bytes!
Have someone really got it working at 750?
Is there another faster serial driver?
my settings:
CON································································
· _clkmode····· = xtal1 + pll16x···································
· _xinfreq····· = 5_000_000··
Thanks in advance.
Using·"Multiple serial port driver" from Propeller Object Exchange.
http://obex.parallax.com/objects/340/
looking at the comments in the start it says:
''*··· 1 port up to 750kbps
The fastest i get is to 225kbps above that i start to miss bytes!
Have someone really got it working at 750?
Is there another faster serial driver?
my settings:
CON································································
· _clkmode····· = xtal1 + pll16x···································
· _xinfreq····· = 5_000_000··
Thanks in advance.
Comments
*Peter*
I was just about to ask what is the theoretic max for serial on the prop.
The other problem you can see is the baud rates on the tx/rx not matching, the baudrate has a tolerence, I have seen cases where I ended up setting the prop baudrate different from the nominal baudrate - e.g. I have a CMU camera that should be 115200 but I find I set the baudrate for the prop driver to 116500 for it to work correctly. This is within the tolerences of the serial port on the CMU camera.
2% should be ok. That is the reason for some of those "strange frequency" crystals ie 11.059MHz they divide down perfectly, for hardware UARTs. Bitbanging requires good resolution counters.
- streaming lots of variables from the Propeller to be displayed/shared on the PC
- sampling data very quickly (up to 80msps) and updating the PC display
- grabbing a frame of ntsc data from a camera in real time and streaming the video to the PC
If you have a new use case let me know- I'm sure we can figure out a solution.
ViewPort is also completely extensible- everything you see was created from the ViewPort Developer's Kit that's included in the Ultimate package.
Hanno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Download a free trial of ViewPort- the premier visual debugger for the Propeller
Includes full debugger, simulated instruments, fuzzy logic, and OpenCV for computer vision. Now a Parallax Product!