Inverting Serial Data without MAX232.
Posted: Tue Dec 15, 2009 9:46 am
Hi,
I'm trying to communicate with a GPS (BR-355 from Global Sat)
I've configured it to send certain NMEA messages (Plain Ascii Strings) at 4800 baud.
I have communicated with other GPSs sending NMEA messages with my program (true, non-inverted) and have checked that this one is compatible with the messages it sends.
It was designed to be plugged directly in to the computer. I want to connect it to my PIC18F2525, but would like to avoid using a MAX232.
I've read the datasheet, and BAUDCON Bit5 should allow me to invert the data. When I change this to either 1 (inverted) or 0 (un-inverted), nothing happens.
When I plug it into the computer, it works, however.
Am I doing something wrong? Or do I need a MAX232?
Thanks in advance.
I'm trying to communicate with a GPS (BR-355 from Global Sat)
I've configured it to send certain NMEA messages (Plain Ascii Strings) at 4800 baud.
I have communicated with other GPSs sending NMEA messages with my program (true, non-inverted) and have checked that this one is compatible with the messages it sends.
It was designed to be plugged directly in to the computer. I want to connect it to my PIC18F2525, but would like to avoid using a MAX232.
I've read the datasheet, and BAUDCON Bit5 should allow me to invert the data. When I change this to either 1 (inverted) or 0 (un-inverted), nothing happens.
When I plug it into the computer, it works, however.
Am I doing something wrong? Or do I need a MAX232?
Thanks in advance.