<?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>Why is UART Power Management Not Affecting Power Consumption on nRF9151DK?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116441/why-is-uart-power-management-not-affecting-power-consumption-on-nrf9151dk</link><description>您好，我目前正在使用 SDK 版本为 v2.7.0 的 nRF9151DK 开发板。我的目标是通过在不需要时以编程方式暂停 UART 来降低运行时的功耗。以下是我的代码： void button_pressed_cb(const struct device *dev, struct gpio_callback *cb, uint32_t pins) { if (pins &amp;amp; BIT(button0.pin)) { uart_tx(pc_uart_dev, &amp;quot;Button 0 pressed\n&amp;quot;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 21 Nov 2024 12:08:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116441/why-is-uart-power-management-not-affecting-power-consumption-on-nrf9151dk" /><item><title>RE: Why is UART Power Management Not Affecting Power Consumption on nRF9151DK?</title><link>https://devzone.nordicsemi.com/thread/511474?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 12:08:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dccee0d6-3dd9-4ace-9118-2009e024898a</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;glad you figured it out and yes, there might be additional steps sometimes to get there from some of the example code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Asbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is UART Power Management Not Affecting Power Consumption on nRF9151DK?</title><link>https://devzone.nordicsemi.com/thread/511419?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2024 07:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e4c335e-2de8-4707-ad78-1737cd3c90f3</guid><dc:creator>GUOQI123</dc:creator><description>&lt;p&gt;Thank you very much for your help. I have consulted the FAE who provides support for us and figured out where the additional power consumption comes from. It is actually because, for a simple program like Blinky, if the modem is not put into sleep mode in the code, the modem&amp;#39;s state becomes unknown, which could be the source of the extra power consumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is UART Power Management Not Affecting Power Consumption on nRF9151DK?</title><link>https://devzone.nordicsemi.com/thread/511278?ContentTypeID=1</link><pubDate>Wed, 20 Nov 2024 12:20:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5e12a73-11bb-4912-b9d6-3be091406d6a</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Hi,&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;General recommendations:&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;a style="border:0;margin:0;padding:0;vertical-align:baseline;" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/power_general.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/test_and_optimize/optimizing/power_general.html&lt;/a&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Documentation of CONFIG_PM&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;a style="border:0;margin:0;padding:0;vertical-align:baseline;" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/pm/system.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/services/pm/system.html&lt;/a&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Are you disabling trace/debugging? Are you setting the idle command in between UART events? The CONFIG_PM isn&amp;#39;t needed to enter power down mode as long as you disconnect the debug port and use idle commands.&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;How are you setting your code to enter power down mode?&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Best regards&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Asbjørn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is UART Power Management Not Affecting Power Consumption on nRF9151DK?</title><link>https://devzone.nordicsemi.com/thread/511038?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2024 09:43:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9067c475-d696-4735-a69a-83b9c9e48879</guid><dc:creator>GUOQI123</dc:creator><description>&lt;p&gt;Hello, I apologize for any confusion caused by my unclear description. I now suspect that my issue might be due to &lt;code&gt;CONFIG_PM&lt;/code&gt; not being enabled. So, I would like to reframe my current question.&lt;/p&gt;
&lt;p&gt;I am now preparing to enable the &lt;code&gt;CONFIG_PM&lt;/code&gt; configuration option.&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1732008766996v1.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;From the image above, it appears that &lt;code&gt;CONFIG_PM&lt;/code&gt; has not taken effect. By checking its dependencies, I see that it requires &lt;code&gt;(SYS_CLOCK_EXISTS &amp;amp;&amp;amp; HAS_PM)&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;From the image below, I can confirm that &lt;code&gt;SYS_CLOCK_EXISTS&lt;/code&gt; is already enabled, but I am unsure how to enable &lt;code&gt;HAS_PM&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&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/3426._FE564772_1.png" alt=" " /&gt;&lt;br /&gt;In short, I am unclear about how to enable &lt;code&gt;CONFIG_PM&lt;/code&gt;. I hope you can help me with this.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Why is UART Power Management Not Affecting Power Consumption on nRF9151DK?</title><link>https://devzone.nordicsemi.com/thread/510932?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2024 15:40:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:260543c2-e133-419e-b485-0e6aea356f06</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-align:left;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Hello,&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-align:left;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-align:left;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;I&amp;#39;m not able to understand what you are trying, but I&amp;#39;m reading that you are finding a current consumption that is too high for what you expect. From the plot it seem like there&amp;#39;s an MCU still running as that will roughly consume about 3mA.&amp;nbsp;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-align:left;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-align:left;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;What sort of operation are you trying to use? UART with MCUs sleeping? Have you put the modem to sleep as well? What sort of current consumption are you expecting to see in the mode you are trying to get to?&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-align:left;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-align:left;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-align:left;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Best regards&lt;/div&gt;
&lt;div style="border:0;color:rgba(0, 0, 0, 1);direction:ltr;font-size:11pt;font-style:normal;font-weight:400;letter-spacing:normal;line-height:inherit;margin:0;padding:0;text-align:left;text-indent:0;text-transform:none;vertical-align:baseline;white-space:normal;"&gt;Asbjørn&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>