Shop OBEX P1 Docs P2 Docs Learn Events
Input a charactor using FULLDUPLEXSERIAL.SPIN at a megabit — Parallax Forums

Input a charactor using FULLDUPLEXSERIAL.SPIN at a megabit

donnpangydonnpangy Posts: 49
edited 2011-04-01 11:04 in Propeller 1
I have a quick question about trying to read a character in using PARALLAX SERIAL TERMINAL and FULLDUPLEXSERIAL.SPIN.
If I transmit, I can send all characters at a megabit, with no problems.

I am using the RX command, and if I run it at 115200, I can receive all characters with no data loss. If I run it faster, I start to intermittently get one bit shifts. This only happens when using RX to receive a character. Should I be able to run RX, at a megabit?
I am using PARALLAX SERIAL TERMINAL and calling the FULLDUPLEXSERIAL.SPIN, using the RX command.

Serial.start(31, 30, %0000, 115200) I am using mode zero.
j := SERIAL.RX
SERIAL.DEC(j)

I am using the USB adaptor to a Spin Stamp with a 3 foot cable.
Any ideas on how to receive at a megabit would be appreciated.

Thanks,
Don

Comments

Sign In or Register to comment.