<?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>Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124734/issue-with-resuming-uart1-on-nrf9151-after-pm-suspend-with-ble-module</link><description>Board/Setup: 
 
 
 Board: nRF9151 DK / nRF9151 SoC 
 
 
 Peripheral: External BLE module connected via UART1 
 
 
 Use case: BLE module is only needed during commissioning. After commissioning, it can remain powered down to save energy. 
 
 
 Scenario</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Oct 2025 06:24:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124734/issue-with-resuming-uart1-on-nrf9151-after-pm-suspend-with-ble-module" /><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/551075?ContentTypeID=1</link><pubDate>Fri, 10 Oct 2025 06:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39eca3b0-9c72-41ac-971a-7bc625253a6b</guid><dc:creator>Priyesh Shahi</dc:creator><description>&lt;p&gt;Hello,&lt;br data-start="223" data-end="226" /&gt; It has been over a week, and I haven&amp;rsquo;t received a reply. Could you please provide an update?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/550757?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 04:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8b26ffc-774a-4c7f-8df1-06978e2244f1</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;You&amp;#39;re welcome.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/550756?ContentTypeID=1</link><pubDate>Tue, 07 Oct 2025 04:45:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:821c42c4-9a16-4f16-8721-182ef486d3b1</guid><dc:creator>Priyesh Shahi</dc:creator><description>&lt;p&gt;Thank you for your suggestion! I tested my code on the nRF9151 DK using a UART2USB TTL adapter, and the UART is working properly. I was able to send a few commands via TTL, and my code processed them as expected. So it seems the UART, along with the suspend and resume logic, is functioning fine.&lt;/p&gt;
&lt;p&gt;It might be that there&amp;rsquo;s some issue with the ANNAB112 module itself.&lt;/p&gt;
&lt;p&gt;Thanks again for your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/550670?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2025 09:56:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15320f02-b02c-4d70-ac29-ca4d7beba13c</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;I&amp;#39;m just an other user and no Nordic engineer.&lt;/p&gt;
&lt;p&gt;But I consider, that you will need the UART traces to see, if the nRF9151 or the ANNAB (ublox ANNA B?) isn&amp;#39;t working as expected. Without that UART traces I don&amp;#39;t see, how someone will be able to help you.&lt;/p&gt;
&lt;p&gt;(For those UART traces you will need the 2 channel or 2 1 channel UART2USB TTL adapters as I wrote above.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/550669?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2025 09:49:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebe4a15a-373f-41bd-8fb2-a5a1994d17eb</guid><dc:creator>Priyesh Shahi</dc:creator><description>&lt;p data-start="60" data-end="336"&gt;Thank you for your input! I&amp;rsquo;m not seeing any UART errors related to the configuration, so that seems fine. However, my ANNAB module still isn&amp;rsquo;t getting configured properly. Could you please advise on how I might resolve this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/550644?ContentTypeID=1</link><pubDate>Sun, 05 Oct 2025 17:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed52e005-b621-4050-b039-87742771b174</guid><dc:creator>Achim Kraus</dc:creator><description>&lt;p&gt;Not sure, why you get these results.&lt;/p&gt;
&lt;p&gt;About the&amp;nbsp;&lt;code&gt;uart_config_get():&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Did you enable the required CONFIG_UART_USE_RUNTIME_CONFIGURE ? If not, try that ;-).&lt;/p&gt;
&lt;p&gt;It&amp;#39;s long ago, that I was common with debugging UART issues. What helped me in that past was a 2 channel UART2USB TTL converter (or 2 single channel). The TTL level must match your GPIO level (e.g. 3.3V). Connect the RXs of the 2 Channel&amp;nbsp;UART2USB with both UART (rx/tx) you want to debug. That should make it visible, what&amp;#39;s going on.&lt;/p&gt;
&lt;p&gt;As I wrote, I would assume some&amp;nbsp;lost or crippled bytes, and a retransmission should help here. Crossing the fingers.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/550536?ContentTypeID=1</link><pubDate>Fri, 03 Oct 2025 04:08:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4c8eae5-2181-4588-b3a6-bef463bb2b97</guid><dc:creator>Priyesh Shahi</dc:creator><description>[quote userid="5203" url="~/f/nordic-q-a/124734/issue-with-resuming-uart1-on-nrf9151-after-pm-suspend-with-ble-module/550413"]&lt;p&gt;You accept 100x more than it should be, at least considering the nRF9151 (~7µA).&lt;/p&gt;
&lt;p&gt;I&lt;/p&gt;[/quote]
&lt;p data-start="77" data-end="581"&gt;When I call &lt;code data-start="89" data-end="103"&gt;system_off()&lt;/code&gt;, the current drops to around &lt;strong data-start="133" data-end="141"&gt;5 &amp;micro;A&lt;/strong&gt;, since most of my peripherals are off. Without this, the consumption is about &lt;strong data-start="220" data-end="230"&gt;700 &amp;micro;A&lt;/strong&gt; (after suspending UART1), which is still better than the &lt;strong data-start="288" data-end="296"&gt;7 mA&lt;/strong&gt; I had before. The &lt;strong data-start="315" data-end="325"&gt;700 &amp;micro;A&lt;/strong&gt; draw mainly comes from two sensors on I&amp;sup2;C. One of them, the &lt;strong data-start="386" data-end="398"&gt;LIS2DW12&lt;/strong&gt;, requires continuous power. I can&amp;rsquo;t power it off because it loses its configuration and only outputs &lt;code data-start="500" data-end="503"&gt;0&lt;/code&gt; after wake-up. So most of the &lt;strong data-start="534" data-end="544"&gt;700 &amp;micro;A&lt;/strong&gt; consumption is due to this sensor.&lt;/p&gt;
&lt;p data-start="583" data-end="790"&gt;In my code, if I don&amp;rsquo;t call &lt;code data-start="611" data-end="669"&gt;pm_device_action_run(uart_dev, PM_DEVICE_ACTION_SUSPEND)&lt;/code&gt; and let it run as before, my BLE module works fine. But when I call &lt;strong data-start="738" data-end="749"&gt;suspend&lt;/strong&gt; and then &lt;strong data-start="759" data-end="769"&gt;resume&lt;/strong&gt;, it stops working.&lt;/p&gt;
&lt;p data-start="792" data-end="887"&gt;I have two UARTs in my application: &lt;strong data-start="828" data-end="837"&gt;UART0&lt;/strong&gt; for debugging and &lt;strong data-start="856" data-end="865"&gt;UART1&lt;/strong&gt; for the BLE module.&lt;/p&gt;
&lt;p data-start="889" data-end="1004"&gt;I am also suspending the &lt;strong data-start="914" data-end="932"&gt;Zephyr console&lt;/strong&gt;, and after resuming it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/550534?ContentTypeID=1</link><pubDate>Fri, 03 Oct 2025 03:54:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d6e5f4b-4a66-4993-ab74-49689463b15e</guid><dc:creator>Priyesh Shahi</dc:creator><description>&lt;p&gt;annab112&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/550413?ContentTypeID=1</link><pubDate>Thu, 02 Oct 2025 06:19:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:526241b8-d2f2-4f9a-8fc6-059a948440b0</guid><dc:creator>Achim Kraus</dc:creator><description>[quote userid="129185" url="~/f/nordic-q-a/124734/issue-with-resuming-uart1-on-nrf9151-after-pm-suspend-with-ble-module"]the current drops to &lt;strong&gt;~700 μA&lt;/strong&gt;, which is acceptable[/quote]
&lt;p&gt;You accept 100x more than it should be, at least considering the nRF9151 (~7&amp;micro;A).&lt;/p&gt;
&lt;p&gt;I frequently use pm_device_action_run(uart_dev, PM_DEVICE_ACTION_SUSPEND) and pm_device_action_run(uart_dev, PM_DEVICE_ACTION_RESUME). After resume the first bytes may be lost or crippled, but a &amp;quot;retry&amp;quot; usually solves that.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not aware, that the UART needs to be explicitly reconfigured after suspend/resume.&lt;br /&gt;&lt;code&gt;&amp;nbsp;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issue with resuming UART1 on nRF9151 after PM suspend with BLE module</title><link>https://devzone.nordicsemi.com/thread/550339?ContentTypeID=1</link><pubDate>Wed, 01 Oct 2025 11:43:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:107aaa7e-0056-4ba0-bc7b-bddb93a020f5</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;what BLE chip are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>