I am having a slight issue with the ls20031 gps interfacing into uart1 of the olimex lpc2148.
If i interface the gps with a ttl level shifter and go direct to my pc, I can read and configure the gps without any issue.
With that success, I went to interface the gps with the lpc. I added one gender changer in between the level shifter and the olimex serial port.
I am running a serial console on uart0. And that works without any issues. As soon as I plug the gps into the lpc board, with every input/output from the console on uart0, jibberish characters are scattered throughout. They look like this:
does that imply the serial port on the lpc board is different than a serial port on my pc? or is my level shifter not appropriate for the lpc serial port?
ozoney:
does that imply the serial port on the lpc board is different than a serial port on my pc? or is my level shifter not appropriate for the lpc serial port?
no. RS232 defines the voltage levels of mark and space, so your PC must comply with the Standard.
When connecting logic level UART signals (not RS232) between two non-RS232 devices, you need to assure that both devices assume the same data polarity.