<?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 &amp;quot;Ready&amp;quot; has garbage prefix</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126211/slm-ready-has-garbage-prefix</link><description>When running SLM on nrf91, it sends &amp;quot;Ready\r\n&amp;quot; over UART on boot/reset. On nrf54, we use &amp;quot;Ready&amp;quot; to detect reboots and rerun the setup. However, when the modem reboots, sometimes it has a prefix character in front of &amp;quot;Ready&amp;quot; (see log below, prefix c0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Dec 2025 14:39:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126211/slm-ready-has-garbage-prefix" /><item><title>RE: SLM "Ready" has garbage prefix</title><link>https://devzone.nordicsemi.com/thread/557538?ContentTypeID=1</link><pubDate>Mon, 22 Dec 2025 14:39:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb1ec052-aabf-47b2-96b5-b41554989bdf</guid><dc:creator>Konstantin Klitenik</dc:creator><description>&lt;p&gt;Thanks. I tried all this on nrf54/nrf91 DKs and I also do not see the garbage prefix. This would point to our HW being a potential cause. I&amp;#39;ll go back to our HW team to investigate. For now, we can consider this resolved. Appreciate your help, &lt;a href="https://devzone.nordicsemi.com/members/simon-donnet_2d00_monay"&gt;Simon D-M&lt;/a&gt;&amp;nbsp;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM "Ready" has garbage prefix</title><link>https://devzone.nordicsemi.com/thread/557430?ContentTypeID=1</link><pubDate>Fri, 19 Dec 2025 13:10:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dd2db81-0340-4e11-8cd5-afd4c52741ee</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I deactivated the hardware flow control and tried rebooting the device around 100 times. But couldn&amp;#39;t reproduce your behavior...&amp;nbsp;&lt;/p&gt;
[quote user="ST-Kon"]We are using the reset line to reboot.[/quote]
&lt;p&gt;Are you respecting the minimum pull-down time for the nRESET pin ? It needs to be more than 5us (&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf9151/page/pmureset.html#ariaid-title11"&gt;link&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;Maybe you can also try to measure when the host MCU is receiving the parasitic character. It can be useful to know the cause of this character and to see if it really is noise or if it is sent from somewhere...&lt;/p&gt;
&lt;p&gt;The thing is that UART should have some resilience to noise (not a lot but still), so I find it more believable (not that I don&amp;#39;t trust you) that the parasitic character is most likely is sent from somewhere. And I am not aware of Zephyr sending a character on the bus before being told to.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(For the next 2 weeks, you might not get a response from us. We are running low on staff during Christmas / New year.)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best wishes &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f385.svg" title="Santa"&gt;&amp;#x1f385;&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM "Ready" has garbage prefix</title><link>https://devzone.nordicsemi.com/thread/557361?ContentTypeID=1</link><pubDate>Thu, 18 Dec 2025 17:26:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b205e469-1313-4eb3-86bb-dd05789091ba</guid><dc:creator>Konstantin Klitenik</dc:creator><description>&lt;p&gt;Thanks. One other thing of note is we don&amp;#39;t use hw flow control.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM "Ready" has garbage prefix</title><link>https://devzone.nordicsemi.com/thread/557350?ContentTypeID=1</link><pubDate>Thu, 18 Dec 2025 15:06:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e7a843-e0fd-4a03-9cb3-e393ef35d4de</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;The closest thing to this setup I have at my disposal, is a Thingy91x which contains a nrf9151 connected with 2 UARTs to a nrf5340. I&amp;#39;ll try that and will keep you updated (most likely tomorrow) if I was able to reproduce the behavior you are seeing or not.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM "Ready" has garbage prefix</title><link>https://devzone.nordicsemi.com/thread/557344?ContentTypeID=1</link><pubDate>Thu, 18 Dec 2025 14:37:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3137bef0-9a50-4f47-8375-4b1fd5b4d36a</guid><dc:creator>Konstantin Klitenik</dc:creator><description>&lt;p&gt;Your assumption is correct. nrf54 is the main application, and nrf91 is running SLM over UART.&lt;/p&gt;
&lt;p&gt;We are using the reset line to reboot. I don&amp;#39;t think it&amp;#39;s something that happens on nrf54. I tried rebooting when I know modem is not sending anything (CFUN=0). I also tried clearing the UART ring buffer immediately after toggling the reset line.&lt;/p&gt;
&lt;p&gt;If you have a setup similar in the office, I&amp;#39;d be curious if you can reproduce. It doesn&amp;#39;t happen every time but if you try a few times you should see it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SLM "Ready" has garbage prefix</title><link>https://devzone.nordicsemi.com/thread/557315?ContentTypeID=1</link><pubDate>Thu, 18 Dec 2025 11:55:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5403d21f-a970-4bd4-89be-234962fd77b4</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi, Konstantin,&lt;/p&gt;
&lt;p&gt;Just to be sure we are on the same page, you have 2 MCUs connected with a UART bus. One is a nrf9151 and the other is a nrf54(Lxx?). On the nrf9151 you have the SLM app running, and you want to use it through the nrf54 using the UART bus. When the nrf9151 reboots, the UART sometimes has noise on it, thus the nrf54 reads corrupted data.&lt;/p&gt;
&lt;p&gt;Am correct with the situation ?&amp;nbsp;&lt;/p&gt;
[quote user=""]However, when the modem reboots, sometimes it has a prefix character in front of &amp;quot;Ready&amp;quot;[/quote]
&lt;p&gt;Can you please precise how you reboot the modem ? Is it with the RESET pin, the ENABLE pin,&amp;nbsp;AT#RESET, ... ?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m wondering if this is not that the nrf9151 tries to send something on the UART and gets interrupted by a reboot, thus do not send a termination character. And when the &amp;quot;Ready&amp;quot; message comes, the nrf54 already has something in the buffer.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m thinking that because I am not sure if this really is noise or if it is sent by something.&lt;/p&gt;
[quote user=""]If this solution makes sense, please incorporate into `ncs-serial-modem` repo. If not, I&amp;#39;d be interested in other settings that could fix this issue. Or if there is a better way to detect SLM reboot, I&amp;#39;m open to suggestions.[/quote]
&lt;p&gt;Yes, this solution makes sense for your case if the problem is parasitic character on the UART bus. However, I&amp;#39;m not too sure if it is a good idea to put it in the repository, as I think it is quite specific to your case.&lt;/p&gt;
&lt;p&gt;You can try to make a pull request on the repository and see how it goes.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>