Fastest Baud Rate using FullDuplexSerial?
mike56
Posts: 22
What's the fastest baud rate I can set using the propeller to communicate with the USB FTDI chip using the fullduplexserial.spin component?
Also what's the appropriate "mode" setting (0,1,2,3)?
Thanks!
Also what's the appropriate "mode" setting (0,1,2,3)?
Thanks!
Comments
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Nyamekye,
Hanno has it running at 2Mbit/sec, but he is not using FullDuplexSerial.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Links to other interesting threads:
· Home of the MultiBladeProps: TriBladeProp, SixBladeProp, website (Multiple propeller pcbs)
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator)
· Prop Tools under Development or Completed (Index)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index)
· Search the Propeller forums (via Google)
My cruising website is: ·www.bluemagic.biz·· MultiBladeProp is: www.bluemagic.biz/cluso.htm
I have downloads at 230,400 and that works just peachy too. (Getting off topic though as its not using FullDuplexSerial)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Eccles : How do I open the door?
Bluebottle : You turn the knob on your side
Eccles : I haven't got a knob on my side!
You are limited by the spin portion of the driver not the actual serial driver portion. If you want to move data around much faster than that you really need to look at moving to PASM.
What are you actually trying to do?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Eccles : How do I open the door?
Bluebottle : You turn the knob on your side
Eccles : I haven't got a knob on my side!
Suppose I read data from an SD card and want to stream it to the PC.· Then 115k baud is only 14.3k bytes/sec.· It would take a long time to transfer 1 megabyte from the SD card to the PC at that rate.
Basically I want to set up a protocol where the PC and propeller can do what they do best.· I want to collect data with the prop and analyze floating point analysis in the PC in Matlab then send the result back to the prop.
For example, if I make a 6 axis robot, it's pretty trivial to do all the inverse kinematics in matlab but a big deal to do this in a prop with no math support.
I'd like to have the prop monitor some encoders and implement a PID loop but send the encoder values to the PC for analysis.
Any suggestions would be appreciated.
I think it would be very cool if there were some sort of communication program running in a cog and all it did was send the an array to over the USB bus as fast as possible.· Then users can just write there own cog programs and put it into the shared memory bus.
·
John Abshier