This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Regarding NRF9160_GPS_SET_MAGPIO and MAGPIO settings via AT commands

Hi,

Quick questions regarding MAGPIO setup. 

We are setting up MAGPIO pins via AT commands for RF switches.

Should the AT sentence for setting up MAGPIO be the same in kconfig for GPS, as the one we use for setting up LTE MAGPIOs? (combined GPS and LTE antenna), or should it only contain the GPS frequencies and GPIO settings? ex.

"AT%XMAGPIO=1,1,1,8,7,1565,1586"
(we have 8 settings, one for gps)

If the sentence is the same for both, do we need to write the MAGPIO settings for LTE if the sentence is already sent in GPS config?

Best regards

Viggo

Parents Reply
  • Hi,

    ok, that makes it clear.

    One more follow up.

    Should we remove the GPS MAGPIO settings in .config file
    CONFIG_NRF9160_GPS_SET_MAGPIO=y
    CONFIG_NRF9160_GPS_MAGPIO_STRING="AT%XMAGPIO=1,0,0,1,1,1574,1577"

    or keep only
    CONFIG_NRF9160_GPS_SET_MAGPIO=y

    or keep both, just with updated GPS_MAGPIO_STRING ?

    (with the assumtion that we have sent the AT%XMAGPIO string in initialization of the modem)

Children
Related