I need to interfase a GPS (4800bps Inverted) with a PIC16F877 running at 16MHz. On the HUART I have a serial connection to the PC for Debug. My program is very simple, it uses two #USE_RS232 declaration, at two different speeds, and with differente STREAMS name (one is PC and another one is GPS).
The problem is that I can send Data to PC, but cannot receive data from the GPS. I'm using PortB.2 for receiving data... Do I need to set the TRIS register? or #USE_RS232 does it for me? Does anyvody experienced problems when using a software serial port?
Thanks
Ezequiel
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
Posted: Thu Jan 27, 2005 6:09 am
Do you have any interrupts enabled? Post your code.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum