Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 08-22-2014, 07:04 AM   #1
LQ Newbie
Registered: Sep 2011
Posts: 6

Rep: Reputation: Disabled
Read GPS Serial data from GPIO

Hi everybody,

I have a GPS receiver (GTOP FGPMMOSL3C datasheet) intergrated on my board. I know that GPS TX pin, on which it transmits "Serial Data Output for NMEA output", is connected to GPIO11.
Is there any driver that allows to read these information?
Is it possible to attach, in some way, a serial driver to GPIO?

Thanks in advance,
Old 08-23-2014, 08:23 AM   #2
Registered: Aug 2002
Posts: 25,768

Rep: Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933Reputation: 5933
You did not post any information about your board.

The documentation indicates that GPIO11 is a TTL serial data output. If your board has TTL serial port you should be able to connect the pins directly and read the data using standard serial driver. NMEA is just ASCII data. Otherwise if your board has standard serial port you will need a RS-232 level shifter to convert TTL to +/- voltages.

The documentation is not very clear if UART-B output is TTL or if it also outputs NMEA data. This may be what you use if your board has a standard serial port input without having to add additional hardware.
Old 08-25-2014, 02:50 AM   #3
LQ Newbie
Registered: Sep 2011
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you michaelk. Actually the board documentation says that GPIO signal can be redirected into the serial port. After doing that I guess I should be able to read from the serial device.

Thank you again,


gpio, gps, serial, uart

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
the get data from serial port function read() blocks when data not available DEF. Programming 3 11-17-2014 07:11 AM
write & read data serially to one GPIO pin answerme Programming 2 10-01-2013 04:51 PM
Unable to read data from Serial port tanu1985 Linux - Enterprise 2 10-12-2011 05:05 PM
[SOLVED] Serial port : Read data problem, not reading complete data anujmehta Linux - Networking 5 09-06-2010 06:10 AM
Need software to read Data from HOLUX GM-210 GPS receiver for Ubuntu 8.10 srinivasmiriyalu Linux - Software 7 06-18-2009 08:46 AM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:54 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration