I bought this GPS to connect to the serial RS-232 port (http://www.globalsat.com.tw/products-page.php?menu=4&gs_en_product_id=2&gs_en_product_cnt_id=31) and I don't know how to start using it. Have I to enable anything to start using it? Where can I receive data of this NMEA GPS?
Accepted AnswereballetboOffline0According to the information that you provided, this GPS has an RS232 interface (I supose works with RS232 levels). In that case you can use UART1 from J960 connector of your IGEPv2 to connect the GPS. After that remember that UART1 is shared with RS485 and you need to disable to make UART1 work passing board.ei485=no in your kernel cmdline.
Hope it helps
Accepted AnswerpeterOffline0I got my Linx gps ( www.linxtechnologies.com ) working on igepv2. It was TTL 3v logic so I had to use a max3232 chip to translate to RS232. You need the baud rate for your gps and picocom (or something) installed on IGEPv2 to read the serial port. I used picocom because it is an easy x-compile and install.
I cut and paste some hints from my own readme file below .... it is the process I use to test and may be of help....
README created by Peter Thompson for debugging gps
Step 1 - check that that serial port works on igepv2 Rx to Tx on same UART.
- connect J960 Rx pin 9 to J960 Tx pin 8
- run picocom -b 9600 /dev/ttyO0
- anything typed (sent on Tx) should echo back (received on Rx)
Step 1a - if it doesn't work, try setting board.ei485=no in bootargs
- see my previous question to igepv2 isee answered by eballetbo
- see isee wiki "how to use uarts"
Step 2 - connect gps
- connect gps-Tx to igepv2-Rx
- connect gps-Rx to igepv2-Tx
- connect gps-gnd to igepv2-gnd (on R232 connection)
- the picocom now should be printing gps data