GPS not working on android lollipop..

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

GPS not working on android lollipop..

1,250 Views
narasimma23
Contributor II

Hi,

I'm using sabre sdp development board, it has on board GPS module(AH1613).

it's not working on android lollipop.

There is no gps configuration on init.rc & init.freescale.rc and there is no gps libraries on the system & vendor folders....

How to support GPS android lollipop 5.0.0 sdk?

Thanks,

Narasimma

Labels (1)
Tags (2)
0 Kudos
3 Replies

684 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi Narasimma,

You can refer to Gudielines on 3G modem integration​, hope this can help you.
Have a great day,
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

684 Views
narasimma23
Contributor II

Hi Dan,

Thanks for the replay..

I updated the GPS related libraries, and enabled gps service in "init.freescale.rc" file on ANDROID 5.0 SDK, but also it's not working..

So i probed the some pin voltages on the GPS Module and compared with Android 4.2 image which has a working GPS...

Here are my observations...

Pin No.          Signal Name                    Android 4.2          Android 5.0

  1                    GPS_RFIN                         3.098V                    2.231V

  5                    GPS_VBAT                        1.498V                    0.211V

11                   GPS_VDD                          3.097V                    2.198V

13                   RESET                               3.230V                    3.227V

17                   GPS_MODE                       0                              0

  20                  1PPS                                  3.193V                    2.519V

  30                  GPS_RXD                          3.097V                    2.531V

  31                  GPS_TXD                          3.233V                    3.041V

There are lot voltage differences between Android 4.2 and Android 5.0 on GPS module...

Is there any modifications needed on kernel?

How can i resolve this issue?

Thanks,

-Narasimma

0 Kudos

684 Views
narasimma23
Contributor II

Hi,

I found the problem for voltage differences...

In Android Lollipop SDK they are not enabled gpio's the following signals to power up the GPS Module...

1. AUX_3V15_EN          GPIO(6, 9)

2. GPS_EN                    GPIO(3, 0)

3. GPS_PPS                  GPIO(3, 18)

So I manually pulled up these gpio's on the sysfs, after this i got the same voltages in all the pins compared with android 4.2, but thereafter also not working...

There are some device node's missing related to GPS on "/dev" directory...

Here is list of dev nods...

1. /dev/athrnmea

2. /dev/athrpipein

3. /dev/athrpipeout

Is there any kernel module required for GPS?

How can i solve this issue?

Regards,

Narasimma

0 Kudos