Grunged serial I/O at 4800 baud?
jcpole
Posts: 92
Hi all...
I'm trying to use a Propeller to accept serial I/O from a GPS module that outputs NMEA at 4800 baud.· When I activate the GPS module, the Propeller only displays random characters on the CRT.· The GPS module does have a level shifter installed, so that is not the problem.· When I direct the serial output to a BS2px at 4800 baud, this circuit works perfectly, so I'm confused.
Does the Propeller support 4800 baud?· Does the standard serial I/O object from the library support a 4800 baud connection?
Does anyone have any ideas as to why I'm not seeing valid NMEA strings?
The circuit is built with a Propeller demo board, an external LCD TV display, an Axiom GPS module, and a few short jumpers.· Nothing fancy, but it just·doesn't seem to want to·work for me.· I've removed all of my NMEA parsing logic, so the program is nothing but a stripped-down "in one ear and out the other" I/O redirector.
Does anyone have a working serial terminal object/demo program that can run (and has been tested) at 4800 baud?
Thanks...
Jamie
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
Jamie C. Pole
Principal Consultant
J.C. Pole & Associates, Inc.
http://www.jcpa.com/
I'm trying to use a Propeller to accept serial I/O from a GPS module that outputs NMEA at 4800 baud.· When I activate the GPS module, the Propeller only displays random characters on the CRT.· The GPS module does have a level shifter installed, so that is not the problem.· When I direct the serial output to a BS2px at 4800 baud, this circuit works perfectly, so I'm confused.
Does the Propeller support 4800 baud?· Does the standard serial I/O object from the library support a 4800 baud connection?
Does anyone have any ideas as to why I'm not seeing valid NMEA strings?
The circuit is built with a Propeller demo board, an external LCD TV display, an Axiom GPS module, and a few short jumpers.· Nothing fancy, but it just·doesn't seem to want to·work for me.· I've removed all of my NMEA parsing logic, so the program is nothing but a stripped-down "in one ear and out the other" I/O redirector.
Does anyone have a working serial terminal object/demo program that can run (and has been tested) at 4800 baud?
Thanks...
Jamie
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
Jamie C. Pole
Principal Consultant
J.C. Pole & Associates, Inc.
http://www.jcpa.com/
Comments
Try the attached, it will take the NMEA data and sent it to the TV display. Start of an unfinished project, might get you going.
Since the output from the Axiom GPS receiver is already RS-232, I'm using a MAX232 chip to get it to the Propeller. I'm not sure if FullDuplex.spin supports inverted mode. Too many projects, too little time to play!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 10/16/2006 1:22:11 PM GMT
Look at FullDuplexSerial driver, about 1/2 way down the first page. The 'mode' has 4 bits to control whether or not to invert rx, tx, etc. I have just begun to use this at 38400 baud, should provide what you want at 4800.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
Jamie
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
Jamie C. Pole
Principal Consultant
J.C. Pole & Associates, Inc.
http://www.jcpa.com/
For my application, the Prop interfaces to another board which uses a PIC16F871 which has a uart. I'm presently only using a resistor in series with that tx output to the Prop rx input. So do not need a voltage translator device. Nor will I to a second Prop. Working great.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
h.a.s. designn
The specs seem to indicate that it does, but those commands are never given (at least not that I can see)...
Thanks...
Jamie
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
Jamie C. Pole
Principal Consultant
J.C. Pole & Associates, Inc.
http://www.jcpa.com/
Also the 'Conductor' program will allow you to configure baudrate.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Mike
Post Edited (Mike Cook) : 10/17/2006 4:02:35 AM GMT
Jamie
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
--
Jamie C. Pole
Principal Consultant
J.C. Pole & Associates, Inc.
http://www.jcpa.com/