<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SLM Shell issue on nRF52840dk and nRF9151DK SLM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125998/slm-shell-issue-on-nrf52840dk-and-nrf9151dk-slm</link><description>Hi, 
 I am trying to communicate with Serial LTE Modem application running on nRF9151DK through SLM Shell sample running on nRF52840DK. 
 I am using nrf connect in vscode, and have followed the instructions in: 
 https://docs.nordicsemi.com/bundle/ncs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Dec 2025 08:13:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125998/slm-shell-issue-on-nrf52840dk-and-nrf9151dk-slm" /><item><title>RE: SLM Shell issue on nRF52840dk and nRF9151DK SLM</title><link>https://devzone.nordicsemi.com/thread/556833?ContentTypeID=1</link><pubDate>Fri, 12 Dec 2025 08:13:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3961f140-ce6a-4297-bafd-6f74f054b027</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hi Roya,&amp;nbsp;&lt;/p&gt;
[quote user="_rd"]I re-installed the SDK, toolchain, and SEGGER, running more tests. The SLM-shell seems to work as expected, please see the logs below:[/quote]
&lt;p&gt;Thanks for the information. Looks like this has solved the issue with UART between the devices at least.&lt;/p&gt;
[quote user="_rd"]However, no changes on the RTT viewer, same results as my last post. I tried both J-Link v8.88 and v8.76.[/quote]
&lt;p&gt;This is strange. One thing that our developers point to is to test with the newest Serial Modem application. This is the newest official application we´ll be using going forward:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/addon-serial_modem-latest/page/index.html"&gt;Serial Modem application for nRF91-based devices&lt;/a&gt;. Could you give that a try? The Serial LTE Modem is now deprecated in v3.2.0 in nRF Connect SDK.&amp;nbsp;&lt;/p&gt;
[quote user="_rd"]&lt;p&gt;&lt;span&gt;I was wondering if I can use uart backend instead of RTT, but I am confused&amp;nbsp;which uart peripheral is used for this option, if it is uart0, how TX/RX on pins 11 and 12 are sent to console?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;[/quote]
&lt;p&gt;Have a look at this &lt;a href="https://docs.nordicsemi.com/bundle/addon-serial_modem-latest/page/app/sm_description.html#logging"&gt;documentation on Logging&lt;/a&gt;. It should be possible to use UART instead of RTT.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM Shell issue on nRF52840dk and nRF9151DK SLM</title><link>https://devzone.nordicsemi.com/thread/556715?ContentTypeID=1</link><pubDate>Wed, 10 Dec 2025 15:46:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:235e6f7e-c4b1-4d63-af4a-b24acb6ccba5</guid><dc:creator>_rd</dc:creator><description>&lt;p&gt;&lt;span&gt;Hello&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;Oslash;yvind&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I re-installed the SDK, toolchain, and SEGGER, running more tests. The SLM-shell seems to work as expected, please see the logs below:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1765378446706v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However, no changes on the RTT viewer, same results as my last post. I tried both J-Link v8.88 and v8.76.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;- I was wondering if I can use uart backend instead of RTT, but I am confused&amp;nbsp;which uart peripheral is used for this option, if it is uart0, how TX/RX on pins 11 and 12 are sent to console?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Can you please clarify it?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks,&lt;/div&gt;
&lt;div&gt;Roya&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM Shell issue on nRF52840dk and nRF9151DK SLM</title><link>https://devzone.nordicsemi.com/thread/556603?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 19:37:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33ee50e8-f204-4eaf-aa89-835ba7be3102</guid><dc:creator>_rd</dc:creator><description>&lt;p&gt;Hello &lt;span&gt;&amp;Oslash;yvind&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;Thank you for providing the build configurations.&lt;/p&gt;
&lt;p&gt;I have double-checked all connections, also recreated new applications for both, but still stuck.&lt;/p&gt;
&lt;p&gt;- SLM_shell TX aborts:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1765308204748v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;- As for SLM, I am not receiving the Ready message after toggling the power pin:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1765308430897v6.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It seems J-link RTT is somehow disconnected, can&amp;#39;t figure out the reason.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Roya&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM Shell issue on nRF52840dk and nRF9151DK SLM</title><link>https://devzone.nordicsemi.com/thread/556543?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 10:24:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f41ad326-7dc2-42e0-8355-dfec97615e36</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello Roya,&amp;nbsp;&lt;/p&gt;
[quote user=""][00:01:23.960,601] &amp;lt;wrn&amp;gt; mdm_slm: UART_TX_ABORTED, dropped: 4 bytes&lt;br /&gt;uart:~$ [00:01:33.860,687] &amp;lt;err&amp;gt; mdm_slm: timeout[/quote]
&lt;p&gt;I was able to reproduce this issue. But on my side it turned out to be wrong wiring. Double checked my wires and had flipped rx and tx on one side. Now I can send the command &lt;code&gt;slm at&lt;/code&gt; and get response &lt;code&gt;OK&lt;/code&gt;. Also, &lt;code&gt;slmsh powerpin&lt;/code&gt; works as expected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;uart:~$ &amp;gt; slmsh powerpin
slmsh powerpin
uart:~$ [00:12:25.233,245] &amp;lt;inf&amp;gt; mdm_slm: Enable power pin
[00:12:25.333,404] &amp;lt;inf&amp;gt; mdm_slm: Disable power pin
s&amp;gt; slm at
lm at
[00:12:33.742,950] &amp;lt;wrn&amp;gt; mdm_slm: UART_TX_ABORTED, dropped: 4 bytes
&amp;gt; slmsh powerpin
uart:~$ slmsh powerpin
uart:~$ [00:12:43.643,005] &amp;lt;err&amp;gt; mdm_slm: timeout
[00:12:43.645,233] &amp;lt;inf&amp;gt; mdm_slm: Enable power pin
[00:12:43.745,361] &amp;lt;inf&amp;gt; mdm_slm: Disable power pin
[00:12:44.954,803] &amp;lt;inf&amp;gt; app: Data received (len=7): Ready

&amp;gt; slm at
slm at
Ready

OK&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Here is my build configuration in VS Code for both projects:&lt;/p&gt;
&lt;p&gt;SLM&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1765275838037v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;SLM Shell&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1765275858921v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM Shell issue on nRF52840dk and nRF9151DK SLM</title><link>https://devzone.nordicsemi.com/thread/556464?ContentTypeID=1</link><pubDate>Mon, 08 Dec 2025 13:47:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d8d8984-ea3b-46aa-8701-e9d50d7425f1</guid><dc:creator>_rd</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I built the serial LTE modem with this configuration:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1765201161129v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;However, I had issues with building SLM_Shell application.&lt;/p&gt;
&lt;p&gt;I was assuming it would automatically merge nrf52840dk_nrf52840.conf with prj.conf, but it didn&amp;#39;t. I received error regarding SLM_POWER_PIN which by default is -1 and in that file assigned to pin 11.&lt;/p&gt;
&lt;p&gt;I had to copy the content of that file to prj.conf to avoid the error, so the new prj.conf was:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_STACK_SENTINEL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MAIN_STACK_SIZE&lt;/span&gt;&lt;span&gt;=4096&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_HEAP_MEM_POOL_SIZE&lt;/span&gt;&lt;span&gt;=8192&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE&lt;/span&gt;&lt;span&gt;=2048&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG_BACKEND_UART&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_CONSOLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_CONSOLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL_WILDCARD&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL_ARGC_MAX&lt;/span&gt;&lt;span&gt;=40&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL_CMD_BUFF_SIZE&lt;/span&gt;&lt;span&gt;=1024&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL_STACK_SIZE&lt;/span&gt;&lt;span&gt;=2048&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SHELL_LOG_BACKEND&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SERIAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_ASYNC_API&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MODEM_SLM&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MODEM_SLM_SHELL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MODEM_SLM_LOG_LEVEL_INF&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ASSERT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NRFX_UARTE1&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_1_INTERRUPT_DRIVEN&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_1_ASYNC&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MODEM_SLM_POWER_PIN&lt;/span&gt;&lt;span&gt;=11&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MODEM_SLM_INDICATE_PIN&lt;/span&gt;&lt;span&gt;=13&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Roya&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM Shell issue on nRF52840dk and nRF9151DK SLM</title><link>https://devzone.nordicsemi.com/thread/556462?ContentTypeID=1</link><pubDate>Mon, 08 Dec 2025 13:33:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:992ca3b9-cd36-4652-bbda-3433252dbdbd</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Thanks for clarifying. I´m having issues with building this project out of the box. Could you please provide the steps you used to build serial LTE modem application? Did you build with&amp;nbsp;-DDTC_OVERLAY_FILE=&amp;quot;overlay-external-mcu.overlay&amp;quot;?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM Shell issue on nRF52840dk and nRF9151DK SLM</title><link>https://devzone.nordicsemi.com/thread/556338?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2025 13:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ad1a0c0-72f0-4a5e-9b27-209182b5f957</guid><dc:creator>_rd</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks for your prompt reply.&lt;/p&gt;
&lt;p&gt;I am following the guide in &amp;#39;Connecting with an external MCU&amp;#39; in the above link, please see below the connection between boards:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;table class="docutils align-default"&gt;
&lt;thead&gt;
&lt;tr class="row-odd"&gt;
&lt;th class="head"&gt;
&lt;p&gt;nRF52 Series DK&lt;/p&gt;
&lt;/th&gt;
&lt;th class="head"&gt;
&lt;p&gt;nRF91 Series DK&lt;/p&gt;
&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr class="row-even"&gt;
&lt;td&gt;
&lt;p&gt;UART TX P1.02&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;UART RX P0.11&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="row-odd"&gt;
&lt;td&gt;
&lt;p&gt;UART RX P1.01&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;UART TX P0.10&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="row-even"&gt;
&lt;td&gt;
&lt;p&gt;UART CTS P1.06&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;UART RTS P0.12&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="row-odd"&gt;
&lt;td&gt;
&lt;p&gt;UART RTS P1.07&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;UART CTS P0.13&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="row-even"&gt;
&lt;td&gt;
&lt;p&gt;GPIO OUT P0.11&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;GPIO IN P0.31&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="row-odd"&gt;
&lt;td&gt;
&lt;p&gt;GPIO IN P0.13&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;GPIO OUT P0.30&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr class="row-even"&gt;
&lt;td&gt;
&lt;p&gt;GPIO GND&lt;/p&gt;
&lt;/td&gt;
&lt;td&gt;
&lt;p&gt;GPIO GND&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have changed the config to:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_SLM_POWER_PIN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;31&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_SLM_INDICATE_PIN&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;30&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="mi"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="mi"&gt;No changes on the original codes, uart2 on nRF9151 and uart1 on nRF52840 are used as ncs-slm-uart.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="mi"&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="mi"&gt;Roya&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM Shell issue on nRF52840dk and nRF9151DK SLM</title><link>https://devzone.nordicsemi.com/thread/556334?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2025 13:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da26c78e-c461-409c-b12e-951a27baada2</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello, could you please provide more information on you connection between the nRF9151DK and nRF52840?&lt;/p&gt;
&lt;p&gt;I will try to reproduce the issue on my side.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>