LTE/NB-IOT connection with MIKROE LTE IOT 4 CLICK

Hii,

I´m working with LTE IoT 4 Click, by Mikroe, that use a nrf9160. 

I need to connect to network with my modem, but i have some erros. My goal is to communicate with LTE or NB-IoT (preference for LTE).

When a trying to connect, my modem restart or not connect. I tested with basic examples: at_client, at_monitor and some samples provided for DevAcademy course, Cellular IOT Fundamentals.

My setup is: 

Im using a nRF52840 to program my device. I want only use LTE, so i used a antenna by Digi: 76000926 (https://es.digi.com/products/models/antennas/76000926).

On the NRF CONNECT SDK, i`m using a nRF9160 DK NRF9160 Non Secure board:

When i tried with standart samples by NRF Connect SDK:

AT_MONITOR SAMPLE

```

*** Booting nRF Connect SDK 3758bcbfa5cd ***
AT Monitor sample started
Subscribing to notifications
Connecting to network
Resuming link quality monitor for AT notifications
Waiting for network
Network connection timed out
Continuing without network
Pausing link quality monitor for AT notifications
Reading PSM info...
  PSM: disabled
Enabling PSM
Reading PSM info...
  PSM: disabled
  Periodic TAU string:
  Active time string: 00100001
Modem response:
+CEREG: 1,4
OK
Shutting down modem
Network registration status: no network
Bye
---- Closed the serial port /dev/ttyUSB0 ----

AT_CLIENT WITH NB-IOT 

*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
The AT host sample started
Ready
---- Sent utf8 encoded message: "AT+CFUN=4\r\n" ----
OK
---- Sent utf8 encoded message: "AT%XSYSTEMMODE?\r\n" ----
%XSYSTEMMODE: 0,1,0,2
OK
---- Sent utf8 encoded message: "AT+CIND=1,0,1\r\n" ----
OK
---- Sent utf8 encoded message: "AT+CFUN=1\r\n" ----
OK
---- Sent utf8 encoded message: "AT+CGDCONT?\r\n" ----
+CGDCONT: 0,"","","",0,0
OK
---- Sent utf8 encoded message: "AT+CGDCONT=0,\"IP\",\"smart.m2m.vivo.com.br\"\r\n" ----
OK
---- Sent utf8 encoded message: "AT+CGDCONT?\r\n" ----
+CGDCONT: 0,"IP","smart.m2m.vivo.com.br","",0,0
OK
---- Sent utf8 encoded message: "AT+COPS?\r\n" ----
+COPS: 0
OK
---- Sent utf8 encoded message: "AT+CEREG=2\r\n" ----
OK
---- Sent utf8 encoded message: "AT+CEREG?\r\n" ----
+CEREG: 2,2
OK
---- Sent utf8 encoded message: "AT+CIMI\r\n" ----
724238041443476
OK
---- Sent utf8 encoded message: "AT+CGATT?\r\n" ----
+CGATT: 0
OK
---- Sent utf8 encoded message: "AT+CGATT=1\r\n" ----
OK
---- Sent utf8 encoded message: "AT+CGATT?\r\n" ----
+CGATT: 0
OK
---- Sent utf8 encoded message: "AT+CEREG?\r\n" ----
+CEREG: 2,2
OK
---- Sent utf8 encoded message: "AT+CGATT?\r\n" ----
+CGATT: 0
OK
---- Sent utf8 encoded message: "AT+CEREG?\r\n" ----
+CEREG: 2,2
OK

AT_CLIENT WITH LTE

*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
The AT host sample started
Ready
---- Sent utf8 encoded message: "AT+CFUN=4\r\n" ----
OK
---- Sent utf8 encoded message: "AT%XSYSTEMMODE=1,0,0,0\r\n" ----
OK
---- Sent utf8 encoded message: "AT%XSYSTEMMODE?\r\n" ----
%XSYSTEMMODE: 1,0,0,0
OK
---- Sent utf8 encoded message: "AT+CIND=1,0,1\r\n" ----
OK
---- Sent utf8 encoded message: "AT+CFUN=1\r\n" ----
OK
*** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
*** Using Zephyr OS v3.6.99-100befc70c74 ***
The AT host sample started
Ready

Im send and receive AT Commands from UART0 (TX=29, RX=28).

When i trying with NB-IoT, the connection was not made. When trying with LTE, the modem restart.

I believe that my SIMCARDs are ok because i tried in other modules (SIM7080G) and all is ok.

I need help.

Parents Reply Children
  • Thank you very much for your reply!

    I am already working on a custom board. Could you take a look at my custom board to verify if I made it correctly?

    https://github.com/sluissantos/lte_4_click

    M
    y board schematic:
    https://download.mikroe.com/documents/add-on-boards/click/lte_lot_4_click/LTE_IoT_4_click_v101_Schematic.pdf

    When I used that custom board, the output and errors were the same as when I tried with the nrf9160dk_nrf9160ns.

    at_client with custom board nrf9160_ns (testing with NB-IOT SYSTEMMODE=0,1,0,0)

    All pins have been configured as non-secure
    [Sec Thread] Secure image initializing!
    Booting TF-M v2.0.0
    *** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
    *** Using Zephyr OS v3.6.99-100befc70c74 ***
    The AT host sample started
    Ready
    ---- Sent utf8 encoded message: "AT\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CGMR\r\n" ----
    mfw_nrf9160_1.3.5
    OK
    ---- Sent utf8 encoded message: "AT+CFUN=4\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT%XSYSTEMMODE=0,1,0,0\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CIND=1,0,1\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CFUN=1\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CGDCONT=1,\"IP\",\"smart.m2m.vivo.com.br\"\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+COPS=4\r\n" ----
    ERROR
    ---- Sent utf8 encoded message: "AT+COPS=0\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CEREG=2\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CIMI\r\n" ----
    724238041443476
    OK
    ---- Sent utf8 encoded message: "AT+CGATT?\r\n" ----
    +CGATT: 0
    OK
    ---- Sent utf8 encoded message: "AT+CEREG=2\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CESQ\r\n" ----
    +CESQ: 99,99,255,255,31,64
    OK
    ---- Sent utf8 encoded message: "AT+CSQ\r\n" ----
    +CSQ: 99,99
    OK
    +CEREG: 2,"A8AD","0318182D",9
    +CEREG: 2


    at_client with custom board nrf9160_ns (testing with LTE-M SYSTEMMODE=1,0,0,0)

    All pins have been configured as non-secure
    [Sec Thread] Secure image initializing!
    Booting TF-M v2.0.0
    *** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
    *** Using Zephyr OS v3.6.99-100befc70c74 ***
    The AT host sample started
    Ready
    ---- Sent utf8 encoded message: "AT\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CGMR\r\n" ----
    mfw_nrf9160_1.3.5
    OK
    ---- Sent utf8 encoded message: "AT+CFUN=4\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT%XSYSTEMMODE=1,0,0,0\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CIND=1,0,1\r\n" ----
    OK
    ---- Sent utf8 encoded message: "AT+CFUN=1\r\n" ----
    OK
    All pins have been configured as non-secure
    [Sec Thread] Secure image initializing!
    Booting TF-M v2.0.0
    *** Booting nRF Connect SDK v2.7.0-5cb85570ca43 ***
    *** Using Zephyr OS v3.6.99-100befc70c74 ***
    The AT host sample started
    Ready

    Can you tell me if my sequence of AT commands is correct?

    I observed that my antenna signal quality is not as expected, but I don't know if this is happening because my connection failed. Is it possible that my signal would be available even though my connection failed?

    This firmware version appears after I build the standard at_client sample. Can you tell me how I can update a custom firmware to version 1.3.6?

Related