GPS to Propeller Interface
MJG300
Posts: 3
Hello Everyone,
First off, I am a noob to the propeller chip. Alot of experience with BS2px but crawling through the Propeller Manual.
I like to interface various devices to micro controllers. I am going to try the good ole' GPS to the Propeller trick. I have seen the Full Duplex code, but I get confused at the assembly language. (I don't want to use code unless I fully understand it.) I am going directly to the GPS Module at 38,400 baud rate. My goal is to communicate fully using the NMEA 0183 standard, written totally in SPIN Language. In addition to the prop manual, I also have the "Programming and Customizing the Multicore Propeller Microcontroller" Book.
Any help in pointing me in the right direction would be very helpful.:thumb:
Thanks to All,
Mark
First off, I am a noob to the propeller chip. Alot of experience with BS2px but crawling through the Propeller Manual.
I like to interface various devices to micro controllers. I am going to try the good ole' GPS to the Propeller trick. I have seen the Full Duplex code, but I get confused at the assembly language. (I don't want to use code unless I fully understand it.) I am going directly to the GPS Module at 38,400 baud rate. My goal is to communicate fully using the NMEA 0183 standard, written totally in SPIN Language. In addition to the prop manual, I also have the "Programming and Customizing the Multicore Propeller Microcontroller" Book.
Any help in pointing me in the right direction would be very helpful.:thumb:
Thanks to All,
Mark
Comments
http://learn.parallax.com/KickStart/28500
dgately
Spin isn't fast enough to use 38,400 bps.
Where you willing to use Serin and Serout without understanding what the Basic Stamp was doing behind the scenes? If so then you ought to trust the various methods of a serial object even if you don't fully understand the code.
If your GPS uses 5V logic use a 10k resistor on the Propeller's receiving pin.
* I think FullDuplexSerialExtended worked more reliably in the end.
Hugh, I think your code would work fine at 38,400 bps. When I said Spin isn't fast enough to work at 38,400 bps, I meant if the serial driver were written in Spin. Your project uses a serial driver with a PASM section. The PASM section takes care of reading and sending the bits.
There is a serial driver written in Spin. IIRC, it's call SimpleSerial. Since it's written in Spin, it's limited to slow rates. I think it can communicate at 9,600 bps but not much faster.