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:
![]()

