Issue with sim latching and mqtt over sim through nrf9151

  • Hi Team,

We have a custom board with nRF9151 SoC that shows complete RF failure. The modem initializes correctly and detects the SIM card, but cannot detect any RF signal or register to any cellular network.

Symptoms:

  • Persistent registration failure: +CEREG: 5,4 (unknown/out of coverage)
  • No RF signal detected: +CESQ: 99,99,255,255,255,255 (all values indicate "not detectable")
  • No bands detected: %XCBAND: 0
  • Network scan returns empty: AT+COPS=? returns no networks after 5-minute scan
     

Configuration:

  • System mode: AT%XSYSTEMMODE=1,0,1,0 (LTE-M and NB-IoT enabled)
  • APN: jionpiot (Jio network, India)
  • SIM: Jio - confirmed active and working (checked with network provider)

Complete Diagnostic Log:

SEGGER J-Link V8.18 - Real time terminal output
SEGGER J-Link V9.6, SN=63631070
Process: JLink.exe
*** Booting nRF Connect SDK v3.0.0-3bfc46578e42 ***
*** Using Zephyr OS v4.0.99-3e0ce7636fa6 ***
=== nRF9151 Network Diagnostic Tool ===
[00:00:00.629,577] <inf> main: Modem initialized successfully
[00:00:00.652,069] <inf> main: CFUN=0: OK

[00:00:00.659,149] <inf> main: Firmware version: mfw_nrf91x1_2.0.2
OK

[00:00:00.666,595] <inf> main: System mode: OK

[00:00:00.673,736] <inf> main: APN config: OK

[00:00:00.680,816] <inf> main: CEREG subscription: OK

[00:00:00.687,957] <inf> main: Band configuration: %XCBAND: 0
OK

[00:00:00.736,328] <inf> main: CFUN=1: OK

[00:00:00.736,358] <inf> main: Waiting for SIM initialization...
[00:00:03.737,060] <inf> main: SIM PIN status: +CPIN: READY
OK

[00:00:03.737,762] <inf> main: SIM state: %XSIM: 1
OK

[00:00:03.738,616] <inf> main: ICCID: %XICCID: 89918740106001997417
OK

[00:00:03.739,318] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:00:03.739,318] <inf> main: === Scanning for networks (this takes 2-3 minutes) ===
[00:04:57.680,847] <inf> main: Available networks: +COPS: 
OK

[00:04:57.680,877] <inf> main: === Waiting for network registration ===
[00:04:59.687,713] <inf> main: [0] Registration: +CEREG: 5,4
OK

[00:04:59.694,549] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:05:01.701,416] <inf> main: [1] Registration: +CEREG: 5,4
OK

[00:05:01.701,477] <wrn> main: Registration unknown/out of coverage
[00:05:03.708,312] <inf> main: [2] Registration: +CEREG: 5,4
OK

[00:05:03.708,374] <wrn> main: Registration unknown/out of coverage
[00:05:05.715,209] <inf> main: [3] Registration: +CEREG: 5,4
OK

[00:05:05.715,270] <wrn> main: Registration unknown/out of coverage
[00:05:07.722,106] <inf> main: [4] Registration: +CEREG: 5,4
OK

[00:05:07.722,167] <wrn> main: Registration unknown/out of coverage
[00:05:09.723,083] <inf> main: [5] Registration: +CEREG: 5,4
OK

[00:05:09.724,273] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:05:11.725,067] <inf> main: [6] Registration: +CEREG: 5,4
OK

[00:05:11.725,128] <wrn> main: Registration unknown/out of coverage
[00:05:13.725,891] <inf> main: [7] Registration: +CEREG: 5,4
OK

[00:05:13.725,952] <wrn> main: Registration unknown/out of coverage
[00:05:15.726,715] <inf> main: [8] Registration: +CEREG: 5,4
OK

[00:05:15.726,776] <wrn> main: Registration unknown/out of coverage
[00:05:17.727,539] <inf> main: [9] Registration: +CEREG: 5,4
OK

[00:05:17.727,600] <wrn> main: Registration unknown/out of coverage
[00:05:19.728,668] <inf> main: [10] Registration: +CEREG: 5,4
OK

[00:05:19.729,431] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:05:21.730,346] <inf> main: [11] Registration: +CEREG: 5,4
OK

[00:05:21.730,407] <wrn> main: Registration unknown/out of coverage
[00:05:23.731,170] <inf> main: [12] Registration: +CEREG: 5,4
OK

[00:05:23.731,231] <wrn> main: Registration unknown/out of coverage
[00:05:25.731,994] <inf> main: [13] Registration: +CEREG: 5,4
OK

[00:05:25.732,055] <wrn> main: Registration unknown/out of coverage
[00:05:27.732,818] <inf> main: [14] Registration: +CEREG: 5,4
OK

[00:05:27.732,879] <wrn> main: Registration unknown/out of coverage
[00:05:29.733,642] <inf> main: [15] Registration: +CEREG: 5,4
OK

[00:05:29.734,375] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:05:31.735,168] <inf> main: [16] Registration: +CEREG: 5,4
OK

[00:05:31.735,229] <wrn> main: Registration unknown/out of coverage
[00:05:33.735,992] <inf> main: [17] Registration: +CEREG: 5,4
OK

[00:05:33.736,053] <wrn> main: Registration unknown/out of coverage
[00:05:35.736,938] <inf> main: [18] Registration: +CEREG: 5,4
OK

[00:05:35.736,968] <wrn> main: Registration unknown/out of coverage
[00:05:37.737,731] <inf> main: [19] Registration: +CEREG: 5,4
OK

[00:05:37.737,792] <wrn> main: Registration unknown/out of coverage
[00:05:39.738,555] <inf> main: [20] Registration: +CEREG: 5,4
OK

[00:05:39.739,288] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:05:41.740,081] <inf> main: [21] Registration: +CEREG: 5,4
OK

[00:05:41.740,142] <wrn> main: Registration unknown/out of coverage
[00:05:43.740,936] <inf> main: [22] Registration: +CEREG: 5,4
OK

[00:05:43.740,997] <wrn> main: Registration unknown/out of coverage
[00:05:45.741,760] <inf> main: [23] Registration: +CEREG: 5,4
OK

[00:05:45.741,821] <wrn> main: Registration unknown/out of coverage
[00:05:47.742,553] <inf> main: [24] Registration: +CEREG: 5,4
OK

[00:05:47.742,614] <wrn> main: Registration unknown/out of coverage
[00:05:49.743,377] <inf> main: [25] Registration: +CEREG: 5,4
OK

[00:05:49.744,110] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:05:51.744,934] <inf> main: [26] Registration: +CEREG: 5,4
OK

[00:05:51.744,995] <wrn> main: Registration unknown/out of coverage
[00:05:53.745,727] <inf> main: [27] Registration: +CEREG: 5,4
OK

[00:05:53.745,788] <wrn> main: Registration unknown/out of coverage
[00:05:55.746,551] <inf> main: [28] Registration: +CEREG: 5,4
OK

[00:05:55.746,612] <wrn> main: Registration unknown/out of coverage
[00:05:57.753,448] <inf> main: [29] Registration: +CEREG: 5,4
OK

[00:05:57.753,509] <wrn> main: Registration unknown/out of coverage
[00:05:59.760,345] <inf> main: [30] Registration: +CEREG: 5,4
OK

[00:05:59.767,150] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:06:01.774,017] <inf> main: [31] Registration: +CEREG: 5,4
OK

[00:06:01.774,078] <wrn> main: Registration unknown/out of coverage
[00:06:03.780,914] <inf> main: [32] Registration: +CEREG: 5,4
OK

[00:06:03.780,975] <wrn> main: Registration unknown/out of coverage
[00:06:05.787,811] <inf> main: [33] Registration: +CEREG: 5,4
OK

[00:06:05.787,872] <wrn> main: Registration unknown/out of coverage
[00:06:07.794,708] <inf> main: [34] Registration: +CEREG: 5,4
OK

[00:06:07.794,769] <wrn> main: Registration unknown/out of coverage
[00:06:09.801,605] <inf> main: [35] Registration: +CEREG: 5,4
OK

[00:06:09.808,410] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:06:11.815,277] <inf> main: [36] Registration: +CEREG: 5,4
OK

[00:06:11.815,338] <wrn> main: Registration unknown/out of coverage
[00:06:13.822,174] <inf> main: [37] Registration: +CEREG: 5,4
OK

[00:06:13.822,235] <wrn> main: Registration unknown/out of coverage
[00:06:15.829,071] <inf> main: [38] Registration: +CEREG: 5,4
OK

[00:06:15.829,132] <wrn> main: Registration unknown/out of coverage
[00:06:17.835,968] <inf> main: [39] Registration: +CEREG: 5,4
OK

[00:06:17.836,029] <wrn> main: Registration unknown/out of coverage
[00:06:19.842,864] <inf> main: [40] Registration: +CEREG: 5,4
OK

[00:06:19.849,670] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:06:21.856,536] <inf> main: [41] Registration: +CEREG: 5,4
OK

[00:06:21.856,597] <wrn> main: Registration unknown/out of coverage
[00:06:23.863,433] <inf> main: [42] Registration: +CEREG: 5,4
OK

[00:06:23.863,494] <wrn> main: Registration unknown/out of coverage
[00:06:25.870,330] <inf> main: [43] Registration: +CEREG: 5,4
OK

[00:06:25.870,391] <wrn> main: Registration unknown/out of coverage
[00:06:27.877,227] <inf> main: [44] Registration: +CEREG: 5,4
OK

[00:06:27.877,288] <wrn> main: Registration unknown/out of coverage
[00:06:29.884,124] <inf> main: [45] Registration: +CEREG: 5,4
OK

[00:06:29.890,930] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:06:31.897,796] <inf> main: [46] Registration: +CEREG: 5,4
OK

[00:06:31.897,857] <wrn> main: Registration unknown/out of coverage
[00:06:33.904,693] <inf> main: [47] Registration: +CEREG: 5,4
OK

[00:06:33.904,754] <wrn> main: Registration unknown/out of coverage
[00:06:35.905,517] <inf> main: [48] Registration: +CEREG: 5,4
OK

[00:06:35.905,578] <wrn> main: Registration unknown/out of coverage
[00:06:37.906,341] <inf> main: [49] Registration: +CEREG: 5,4
OK

[00:06:37.906,402] <wrn> main: Registration unknown/out of coverage
[00:06:39.907,165] <inf> main: [50] Registration: +CEREG: 5,4
OK

[00:06:39.908,020] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:06:41.908,813] <inf> main: [51] Registration: +CEREG: 5,4
OK

[00:06:41.908,874] <wrn> main: Registration unknown/out of coverage
[00:06:43.909,637] <inf> main: [52] Registration: +CEREG: 5,4
OK

[00:06:43.909,698] <wrn> main: Registration unknown/out of coverage
[00:06:45.910,461] <inf> main: [53] Registration: +CEREG: 5,4
OK

[00:06:45.910,522] <wrn> main: Registration unknown/out of coverage
[00:06:47.911,285] <inf> main: [54] Registration: +CEREG: 5,4
OK

[00:06:47.911,346] <wrn> main: Registration unknown/out of coverage
[00:06:49.912,109] <inf> main: [55] Registration: +CEREG: 5,4
OK

[00:06:49.912,902] <inf> main: Signal quality: +CESQ: 99,99,255,255,255,255
OK

[00:06:51.913,696] <inf> main: [56] Registration: +CEREG: 5,4
OK

[00:06:51.913,757] <wrn> main: Registration unknown/out of coverage
[00:06:53.914,520] <inf> main: [57] Registration: +CEREG: 5,4
OK

[00:06:53.914,581] <wrn> main: Registration unknown/out of coverage
[00:06:55.915,344] <inf> main: [58] Registration: +CEREG: 5,4
OK

[00:06:55.915,405] <wrn> main: Registration unknown/out of coverage
[00:06:57.916,168] <inf> main: [59] Registration: +CEREG: 5,4
OK

[00:06:57.916,229] <wrn> main: Registration unknown/out of coverage
[00:06:57.916,229] <err> main: === FAILED TO REGISTER AFTER 60 ATTEMPTS ===
[00:06:57.916,259] <err> main: Possible causes:
[00:06:57.916,259] <err> main: 1. Antenna or RF matching issue
[00:06:57.916,290] <err> main: 2. MAGPIO configuration problem
[00:06:57.916,290] <err> main: 3. Band configuration mismatch
[00:06:57.916,320] <err> main: 4. Hardware fault in RF section
[00:06:57.917,022] <inf> main: Final signal check: +CESQ: 99,99,255,255,255,255
OK

[00:06:57.917,724] <inf> main: Final band check: %XCBAND: 0
OK

[00:06:57.917,785] <inf> main: === Diagnostic complete ===
We even tested the code on nrf9161dk but still observed the same issue as mentioned above. 
Attaching the code that we are using for the test. Please guide us how do we proceed further.
Our goal is to transmit data received over uart from another SoC (nrf54l15) to nrf9151 which should send it to the server over mqtt using the sim.
Thanks,
Vivek
Parents
  • System mode: AT%XSYSTEMMODE=1,0,1,0 (LTE-M and NB-IoT enabled)

    According AT%XSYSTEMODE this is LTE-M and GNSS enabled, but not NB-IoT.

    Persistent registration failure: +CEREG: 5,4 (unknown/out of coverage)

    You need a SIM card with LTE-M/NB-IoT subscription, maybe your SIM doesn't have that.

    No RF signal detected: +CESQ: 99,99,255,255,255,255 (all values indicate "not detectable")

    You usually only able to read the signals once you're connected. But yes, if the SIM has a valid subscription, that may indicate an issue with your antenna.

  • According AT%XSYSTEMODE this is LTE-M and GNSS enabled, but not NB-IoT

    Ohh yes, I should make the 2nd parameter 1 for NB-IoT. I'll check it once and see if it makes any difference. 

    You need a SIM card with LTE-M/NB-IoT subscription, maybe your SIM doesn't have that.

    We checked with network provider and received info that sim is activated for NB-IoT as the APN is set accordingly "jionpiot"

    You usually only able to read the signals once you're connected. But yes, if the SIM has a valid subscription, that may indicate an issue with your antenna

    That might be the issue but when we checked with nrf9160 DK we observed the same issue, so we couldn't doubt issue in our hardware. 

    Also as our main objective is to send data to server over mqtt using nrf9151, then will it work using either of LTE-M or NB-IoT? Is there any specific requirement from these two ?

    Please suggest if there's anything else we can try and debug.

    Thanks,

    Vivek

  • Also as our main objective is to send data to server over mqtt using nrf9151, then will it work using either of LTE-M or NB-IoT? Is there any specific requirement from these two ?

    If you need to use TCP, especially with TLS, you may be more comfortable with LTE-M. In the "deep-building-penetration" the domain of NB-IoT, pretty larger RTTs will make TCP unhappy, that's then that domain of UDP (with CoAP/DTLS 1.2 CID).

    received info that sim is activated for NB-IoT as the APN is set accordingly "jionpiot"

    that would then also explain, why it doesn't work with LTE-M only.

  • It was a power issue causing the problem. Now it's resolved.

    Thanks,

    Vivek

Reply Children
No Data
Related