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

Turning on COEX0 and MAGPIO0

I have 2 hardware revisions, one with the GPS LNA attached to MAGPIO0, the other revision, the LNA is on COEX0. 

In my prj.conf file, I have the following setup for handling the LNA for the GPS in the COEX0-revision:

 

#GPS LNA Pins
CONFIG_NRF9160_GPS_HANDLE_MODEM_CONFIGURATION=y
CONFIG_NRF9160_GPS_SET_COEX0=y

If I in this section both specify CONFIG_NRF_GPS_SET_COEX0 and CONFIG_NRF_GPS_SET_MAGPIO0 to y, will both pins go high when turning on the GPS? These are handled independently in the gps driver, afai can see, but on the hardware level, will this work? Using this scheme makes it a whole lot easier to make software for the 2 revisions. 

Tron

Related