gnss sample failing

I just finished the second prototype of a nRF9160 board. First one worked flawlessly, but had poor GPS reception. Rewamped the matching and added SAW filters. 

However, now the gnss sample doesn't work. I compile it for the NRF9160DK and it works. Also on the first prototype.

But on my second prototype, no. 

What could be the reason? See the console.

*** Booting Zephyr OS build v3.0.99-ncs1  ***
Flash regions		Domain		Permissions
00 01 0x00000 0x10000 	Secure		rwxl
02 31 0x10000 0x100000 	Non-Secure	rwxl

Non-secure callable region 0 placed in flash region 1 with size 32.

SRAM region		Domain		Permissions
00 03 0x00000 0x08000 	Secure		rwxl
04 31 0x08000 0x40000 	Non-Secure	rwxl

Peripheral		Domain		Status
00 NRF_P0               Non-Secure	OK
01 NRF_CLOCK            Non-Secure	OK
02 NRF_RTC0             Non-Secure	OK
03 NRF_RTC1             Non-Secure	OK
04 NRF_NVMC             Non-Secure	OK
05 NRF_UARTE1           Non-Secure	OK
06 NRF_UARTE2           Secure		SKIP
07 NRF_TWIM2            Non-Secure	OK
08 NRF_SPIM3            Non-Secure	OK
09 NRF_TIMER0           Non-Secure	OK
10 NRF_TIMER1           Non-Secure	OK
11 NRF_TIMER2           Non-Secure	OK
12 NRF_SAADC            Non-Secure	OK
13 NRF_PWM0             Non-Secure	OK
14 NRF_PWM1             Non-Secure	OK
15 NRF_PWM2             Non-Secure	OK
16 NRF_PWM3             Non-Secure	OK
17 NRF_WDT              Non-Secure	OK
18 NRF_IPC              Non-Secure	OK
19 NRF_VMC              Non-Secure	OK
20 NRF_FPU              Non-Secure	OK
21 NRF_EGU0             Non-Secure	OK
22 NRF_EGU1             Non-Secure	OK
23 NRF_EGU2             Non-Secure	OK
24 NRF_EGU3             Non-Secure	OK
25 NRF_EGU4             Non-Secure	OK
26 NRF_EGU5             Non-Secure	OK
27 NRF_DPPIC            Non-Secure	OK
28 NRF_REGULATORS       Non-Secure	OK
29 NRF_PDM              Non-Secure	OK
30 NRF_I2S              Non-Secure	OK
31 NRF_GPIOTE1          Non-Secure	OK

SPM: NS image at 0x10000
SPM: NS MSP at 0x2000ff40
SPM: NS reset vector at 0x14b25
SPM: prepare to jump to Non-Secure image.
[00:00:00.567,810] <err> lte_lc: Failed to enable eDRX, reported error: 65536
[00:00:00.575,805] <err> lte_lc: Failed to configure EDRX, err -14
*** Booting Zephyr OS build v3.0.99-ncs1  ***
[00:00:00.598,358] <inf> gnss_sample: Starting GNSS sample
[00:00:00.618,438] <err> lte_lc: Failed to subscribe to CEREG notifications, error: 65536
[00:00:00.628,112] <err> lte_lc: Failed to enable notifications
[00:00:00.635,345] <err> gnss_sample: Failed to initialize LTE link controller
[00:00:00.644,012] <err> gnss_sample: Failed to initialize modem
*** Booting Zephyr OS build v3.0.99-ncs1  ***
Flash regions		Domain		Permissions
00 01 0x00000 0x10000 	Secure		rwxl
02 31 0x10000 0x100000 	Non-Secure	rwxl

Non-secure callable region 0 placed in flash region 1 with size 32.

SRAM region		Domain		Permissions
00 03 0x00000 0x08000 	Secure		rwxl
04 31 0x08000 0x40000 	Non-Secure	rwxl

Peripheral		Domain		Status
00 NRF_P0               Non-Secure	OK
01 NRF_CLOCK            Non-Secure	OK
02 NRF_RTC0             Non-Secure	OK
03 NRF_RTC1             Non-Secure	OK
04 NRF_NVMC             Non-Secure	OK
05 NRF_UARTE1           Non⸮*** Booting Zephyr OS build v3.0.99-ncs1  ***
Flash regions		Domain		Permissions
00 01 0x00000 0x10000 	Secure		rwxl
02 31 0x10000 0x100000 	Non-Secure	rwxl

Non-secure callable region 0 placed in flash region 1 with size 32.

SRAM region		Domain		Permissions
00 03 0x00000 0x08000 	Secure		rwxl
04 31 0x08000 0x40000 	Non-Secure	rwxl

Peripheral		Domain		Status
00 NRF_P0               Non-Secure	OK
01 NRF_CLOCK            Non-Secure	OK
02 NRF_RTC0             Non-Secure	OK
03 NRF_RTC1             Non-Secure	OK
04 NRF_NVMC             Non-Secure	OK
05 NRF_UARTE1           Non-Secure	OK
06 NRF_UARTE2           Secure		SKIP
07 NRF_TWIM2            Non-Secure	OK
08 NRF_SPIM3            Non-Secure	OK
09 NRF_TIMER0           Non-Secure	OK
10 NRF_TIMER1           Non-Secure	OK
11 NRF_TIMER2           Non-Secure	OK
12 NRF_SAADC            Non-Secure	OK
13 NRF_PWM0             Non-Secure	OK
14 NRF_PWM1             Non-Secure	OK
15 NRF_PWM2             Non-Secure	OK
16 NRF_PWM3             Non-Secure	OK
17 NRF_WDT              Non-Secure	OK
18 NRF_IPC              Non-Secure	OK
19 NRF_VMC              Non-Secure	OK
20 NRF_FPU              Non-Secure	OK
21 NRF_EGU0             Non-Secure	OK
22 NRF_EGU1             Non-Secure	OK
23 NRF_EGU2             Non-Secure	OK
24 NRF_EGU3             Non-Secure	OK
25 NRF_EGU4             Non-Secure	OK
26 NRF_EGU5             Non-Secure	OK
27 NRF_DPPIC            Non-Secure	OK
28 NRF_REGULATORS       Non-Secure	OK
29 NRF_PDM              Non-Secure	OK
30 NRF_I2S              Non-Secure	OK
31 NRF_GPIOTE1          Non-Secure	OK

SPM: NS image at 0x10000
SPM: NS MSP at 0x2000ff40
SPM: NS reset vector at 0x14b25
SPM: prepare to jump to Non-Secure image.
[00:00:00.584,197] <err> lte_lc: Failed to enable eDRX, reported error: 65536
[00:00:00.592,163] <err> lte_lc: Failed to configure EDRX, err -14
*** Booting Zephyr OS build v3.0.99-ncs1  ***
[00:00:00.614,746] <inf> gnss_sample: Starting GNSS sample
[00:00:00.634,826] <err> lte_lc: Failed to subscribe to CEREG notifications, error: 65536
[00:00:00.644,500] <err> lte_lc: Failed to enable notifications
[00:00:00.651,733] <err> gnss_sample: Failed to initialize LTE link controller
[00:00:00.660,400] <err> gnss_sample: Failed to initialize modem

Parents
  • Hello!

    Yes, newest firmware 1.3.2.

    The only change directly relating to the nRF9160 is (except almost all signals have been routed to other more convenient pins, but that shouldn't interfere?):

    -a 100k pulldown on COEX2 (although we didn't connect COEX2, so the resistor will be removed)

    -connecting COEX0 to a nRF52840 and a LNA with a 1M pull-down.

    -connected sim card detect pin to the socket. But problem persists both with and without sim card inserted. 

    I don't know if pulling any of the below pins will interfere at boot / modem init, but we have physical pullups on:

    -P0.08 (4.7k) 

    -P0.09 (4.7k)

    -P0.12 (47k)

    -P0.13 (47k)

    -P0.18 (100k)

    -P0.23 (100k)

    -P0.26 (10k)

    -P0.30 (10k)

    MAGPIO0/1/2,  COEX1, SCLK/SDATA are all floating.

    It's a very big and complex schematic (9 pages), so i would avoid it (or I have to clean it up good first).

    I don't see how the matching and SAW filters could prevent the modem for initialize, unless it has some internal mechanism for disabling modem at antenna disconnect?

    It's been confirmed to not work on the both prototypes we've assembled so far, so I doubt it is assembly.

  • Hello,

    Have you tested other samples than GNSS ? Does LTE work fine? looking at these pin description , can not make a concreted comment. It would be helpful if we could look at schematic design.

    Thanks.

    Best Regards,

    Kazi Afroza Sultana

Reply Children
No Data
Related