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

NRF9160 DK Serial LTE Modem not answering to AT commands

 Hello!

 I have the NRF9160 DK set up to use UART2 and listen to AT commands from external MCU, NRF52840 DK configured to send using UART0. 

The NRF9160 set up is done, pins also connected, according to https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/serial_lte_modem/doc/slm_description.html . The code on it is from NRF Connect SDK 1.4.0., serial lte modem application. 

 The NRF52840 code is according to https://github.com/NordicPlayground/nRF52-clients-for-serial-LTE-modem/blob/master/slm_client/ . 

I have tried CONFIG_SLM_NULL_TERMINATION  and also CONFIG_SLM_CR_LF_TERMINATION . 

Somewhere bellow you can see the RTT from NRF52840 and the terminal from NRF9160.

The AT commands sent have no answer / no feedback, expecting something like when I use the LTE Link Monitor where I see an OK sent back, or when I see the modem ICON turning green.

Please advise what steps did I miss.

Thank you!

 

partial RTT log for NRF52840 : 

==========

00> <info> app: SLM client started.
00>
00> <error> app: NRF_SERIAL_EVENT_DRV_ERR(0x0000000C)
00>
00> <info> app: UART SEND, length:9
00>
00> <info> app: 41 54 2B 43 46 55 4E 3D|AT+CFUN=
00>
00> <info> app: 31 |1
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 41 54 |AT
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 41 54 |AT
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:8
00>
00> <info> app: 41 54 2B 43 46 55 4E 3F|AT+CFUN?
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:8
00>
00> <info> app: 41 54 2B 43 46 55 4E 3F|AT+CFUN?
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:9
00>
00> <info> app: 41 54 2B 43 46 55 4E 3D|AT+CFUN=
00>
00> <info> app: 30 |0
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:9
00>
00> <info> app: 41 54 2B 43 46 55 4E 3D|AT+CFUN=
00>
00> <info> app: 30 |0
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 41 54 |AT
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:9
00>
00> <info> app: 41 54 2B 43 46 55 4E 3D|AT+CFUN=
00>
00> <info> app: 31 |1
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:8
00>
00> <info> app: 41 54 2B 43 46 55 4E 3F|AT+CFUN?
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 41 54 |AT
00>
00> <info> app: UART SEND, length:2
00>
00> <info> app: 0D 00 |..
00>
00> <info> app: UART SEND, length:9
00>
00> <info> app: 41 54 2B 43 46 55 4E 3D|AT+CFUN=
00>
00> <info> app: 30 |0
00>
00> <info> app: UART SEND, length:2

======

Terminal log for NRF9160: 

Parents
  • Hi!

    Are you using the nRF52840 DK?

    Have you set both CONFIG_SLM_GPIO_WAKEUP and CONFIG_SLM_CONNECT_UART_2 in the application flashed to the nRF9160 DK?

    Are you pushing the buttons to send the AT command or have you modified the sample to send them? If it's the latter, could you provide me with the modifications so I can take a look?

    Lastly, do you have access to an oscilloscope or logic analyzer to check whether something is being sent over the lines between the nRF52840 DK and the nRF9160 DK?

    Best regards,

    Heidi

Reply
  • Hi!

    Are you using the nRF52840 DK?

    Have you set both CONFIG_SLM_GPIO_WAKEUP and CONFIG_SLM_CONNECT_UART_2 in the application flashed to the nRF9160 DK?

    Are you pushing the buttons to send the AT command or have you modified the sample to send them? If it's the latter, could you provide me with the modifications so I can take a look?

    Lastly, do you have access to an oscilloscope or logic analyzer to check whether something is being sent over the lines between the nRF52840 DK and the nRF9160 DK?

    Best regards,

    Heidi

Children
Related