Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

GPS Module Interfacing with rk3399 via UART

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240

GPS Module Interfacing with rk3399 via UART

Posted at 1/11/2018 14:12:59      View:6632 | Replies:7        Print      Only Author   [Copy Link] 1#
Hello,
Need help regarding GPS module.I am trying to interface external GPS module with rk3399 through 4 Pin UART(Vcc, RX, TX, GND).I don't know whether I have to do anything to get the data from GPS or firefly has programmed to do so automatically.
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/11/2018 19:30:31        Only Author  2#
Just contact the GPS supplier to get the driver.
The uart driver is the base of the gps function and it has already okay with that.
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 1/17/2018 13:48:19        Only Author  3#
leung先森 Posted at 1/11/2018 19:30
Just contact the GPS supplier to get the driver.
The uart driver is the base of the gps function an ...

I tried this. But it is not working.I was thinking, is it okay to have GPS module that is not provided by Firefly itself? Because I have GPS module with the same specifications that firefly provides.And I am using PL2303 IC as USB to Serial converter and using the driver which firefly has provided on their website.Another important thing is firefly supports 1500000 baud rate and none of the drivers has this option.
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 1/17/2018 16:17:01        Only Author  4#
KrunalShah Posted at 1/17/2018 13:48
I tried this. But it is not working.I was thinking, is it okay to have GPS module that is not prov ...

The GPS they provided is okay. That was based on uart4 to build it.
U just get the driver  and put them under hardware/rockchip/gps to complie.
1.5M baud rate was used for debugging serial port , and i do not kown what are you want to convey
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 1/17/2018 19:11:08        Only Author  5#
As i am new to Android and Firefly, Can you share the procedure/steps for how to compile the driver? Also if you can provide the steps to reach the location hardware/rockchip/gps.

Also if you can help me for how to access the .dts file from kernel that will be a great help for my development.

Thanks
Krunal Shah
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 2/9/2018 15:02:40        Only Author  6#
leung先森 Posted at 1/17/2018 16:17
The GPS they provided is okay. That was based on uart4 to build it.
U just get the driver  and pu ...

The GPS module which I have has PL2303 IC (to convert serial to USB) but somehow it is not working with firefly rk3399. And I have downloaded the driver for that particular IC but still I am not getting the data from GPS module.
The drivers which I have downloaded from prolific(Link: http://www.prolific.com.tw/US/Sh ... _id=230&pcid=41) are in form of android application and I tried to run those applications in rk3399 but not receiving anything.
Do you think we can put these drivers in the location(hardware/rockchip/gps ) that you suggested?
Reply

Use props Report

240

Credits

0

Prestige

0

Contribution

intermediate

Rank: 3Rank: 3

Credits
240
Posted at 2/9/2018 17:13:33        Only Author  7#
leung先森 Posted at 1/17/2018 16:17
The GPS they provided is okay. That was based on uart4 to build it.
U just get the driver  and pu ...

I tried to find the gps folder under rockchip but it is not there.(See this link: https://gitlab.com/TeeFirefly/Fi ... 9/hardware/rockchip).So,do we have to create gps folder by our self?
And can you share drivers for PL2303/resource for that driver which will work with rk3399?
Reply

Use props Report

792

Credits

10

Prestige

10

Contribution

advanced

Rank: 4

Credits
792
Posted at 2/10/2018 10:47:05        Only Author  8#
KrunalShah Posted at 2/9/2018 17:13
I tried to find the gps folder under rockchip but it is not there.(See this link: https://gitlab.c ...

yes, create yourself
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list