GPS is unable to enable in nRF9160 Custom PCB

We are trying to incorporate nRF9160 to our project. In which we need both GNSS and LTE features. The solution is a tracking device so we need the GPS functionality. We have developed a CUSTOM PCB with the nRF9160. while prototyping we have used nRF9160 devkits of nordic, we were able to get GPS fix after a couple of minutes. We are using the same firmware for the custom PCB but it wasn't getting GPS fix as expected even after waiting for couple of hours. So after browsing we could find that there is a pin called COEX0 that has to be enabled using some AT commands inorder to enable the GPS module.  https://www.zephyrproject.org/how-to-use-the-nrf9160-feather/.

Tried to add the configuration in mentioned in the attached link. But on building it was showing build error because these configurations are deprecated. Desperately tried issuing AT command directly, but didn't got any response back. Please guide us on this issue.

Thanks & Regards,

Jishnu 

Parents
  • Hello Jishnu,

    I have looked at the error log and it seems like the issues lie on these two

    NRF9160_GPS_SET_COEX0=y
    NRF9160_GPS_COEX0_STRING="AT%XCOEX0=1,1,1565,1586 configurations.

    Maybe you missed to add the prefix CONFIG_ ?

    It should look like

    CONFIG_NRF9160_GPS_SET_COEX0=y
    CONFIG_NRF9160_GPS_COEX0_STRING="AT%XCOEX0=1,1,1565,1586

    Besides these you need to set CONFIG_NRF9160_GPS in the prj.conf file.

    Could you please try and let me know the outcome? 

Reply
  • Hello Jishnu,

    I have looked at the error log and it seems like the issues lie on these two

    NRF9160_GPS_SET_COEX0=y
    NRF9160_GPS_COEX0_STRING="AT%XCOEX0=1,1,1565,1586 configurations.

    Maybe you missed to add the prefix CONFIG_ ?

    It should look like

    CONFIG_NRF9160_GPS_SET_COEX0=y
    CONFIG_NRF9160_GPS_COEX0_STRING="AT%XCOEX0=1,1,1565,1586

    Besides these you need to set CONFIG_NRF9160_GPS in the prj.conf file.

    Could you please try and let me know the outcome? 

Children
No Data
Related