.. _slm_shell_sample: Cellular: SLM Shell ################### .. contents:: :local: :depth: 2 The SLM Shell sample demonstrates how to send AT commands to modem through the :ref:`Serial LTE Modem ` application running on nRF9160 SiP. This sample enables an external MCU to send modem or SLM proprietary AT commands for LTE connection and IP services. Requirements ************ The SLM application should be configured to use UART_2 on the nRF9160 side with no hardware flow control. The sample supports the following development kits: .. table-from-sample-yaml:: Connect the DK with a nRF9160 DK based on the pin configuration in DTS overlay files of both sides. The following table shows how to connect PCA10056 UART_1 to nRF9160 UART_2 for communication through UART: .. list-table:: :align: center :header-rows: 1 * - nRF52840 DK - nRF9160 DK * - UART TX P1.02 - UART RX P0.11 * - UART RX P1.01 - UART TX P0.10 * - GPIO OUT P0.11 (Button1) - GPIO IN P0.31 * - GPIO IN P0.13 (LED1 optional) - GPIO OUT P0.30 (optional) * - GPIO GND - GPIO GND .. note:: The GPIO output level on the nRF9160 side must be 3 V to work with the nRF52 series DK. You can set the VDD voltage with the **VDD IO** switch (**SW9**). The following table shows how to connect PCA10095 UART_2 to nRF9160 UART_2 for communication through UART: .. list-table:: :align: center :header-rows: 1 * - nRF5340 DK - nRF9160 DK * - UART TX P1.04 - UART RX P0.11 * - UART RX P1.05 - UART TX P0.10 * - GPIO OUT P0.23 (Button1) - GPIO IN P0.31 * - GPIO IN P0.28 (LED1 optional) - GPIO OUT P0.30 (optional) * - GPIO GND - GPIO GND .. note:: The GPIO output level on the nRF9160 side must be 3 V to work with the nRF53 series DK. You can set the VDD voltage with the **VDD IO** switch (**SW9**). The following table shows how to connect PCA10143 UART_2 to nRF9160 UART_2 for communication through UART: .. list-table:: :align: center :header-rows: 1 * - nRF7002 DK - nRF9160 DK * - UART TX P1.04 - UART RX P0.11 * - UART RX P1.05 - UART TX P0.10 * - GPIO OUT P0.31 - GPIO IN P0.31 * - GPIO IN P0.30 (optional) - GPIO OUT P0.30 (optional) * - GPIO GND - GPIO GND .. note:: The GPIO output level on the nRF9160 side must be 1.8 V to work with the nRF70 series DK. You can set the VDD voltage with the **VDD IO** switch (**SW9**). References ********** * `nRF91x1 AT Commands Reference Guide`_ * `nRF9160 AT Commands Reference Guide`_ * :ref:`SLM_AT_commands` Dependencies ************ This sample uses the following |NCS| libraries: * :ref:`lib_modem_slm`