Error switching LTE to LTE+GPS nrf9160

Hey all,

We are developing an application for the NRF9160 but we cant seem to enable the GNSS frontend of the chip.

The lte_lc_init(); call will always fail if we have a modem control mode which includes gps selected (lte_m+gps or just gps)

	LOG_INF("Initializing modem");
	int err = lte_lc_init();
	if (err)
	{
		LOG_ERR("Failed initialize the modem, err %d\n", err);
		return err;
	}

[00:00:08.411,926] <err> lte_lc: Could not send AT command, error: 65536
[00:00:08.411,926] <err> lte_lc: Could not set system mode, error: -14

In the trace it shows the following crucial lines:

14    5.760223            AT    21    Sent AT Command: AT+CFUN=4
15    5.760437            AT    16    Rcvd AT Command: OK
16    5.760834            AT    27    Sent AT Command: AT%XSYSTEMMODE?
17    5.760864            AT    39    Rcvd AT Command: %XSYSTEMMODE: 1,0,0,0  OK 
18    5.767578            AT    34    Sent AT Command: AT%XSYSTEMMODE=1,0,1,0
19    5.767670            AT    19    Rcvd AT Command: ERROR

SW versions

  • MFW : 1.3.6
  • NCS : 2.5.1

What we have tried:

  • Loading nordic samples to our board same result
  • Using modem traces to diagnose the At commands see attached
  • Removing LNA enable caps (Overcurrent at enable??)
  • Downgraded MFW to 1.3.1 (Not fixed)
  • Verified OK VDD voltage
  • Dropping modem into offline/flight mode before gps enable (cfun4)
  • Verifying the coex0 parameters
  • Validated supported hardware revision (B1)

Board hardware files would be available on request but RF side is a direct copy of the 9160DK schematic (same lna and everything)

Trace working! this is without the gps.
Trace not working This is the trace without working gps.

Any tips for debugging this issue further would be appreciated!

Kind regards,

Sh Biezeman

Related