<?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>System Off mode and powered peripherals</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115729/system-off-mode-and-powered-peripherals</link><description>Is it safe to connect the communication peripherals (SPI, UART, I2C, etc.) of an nRF52840 in system_off state to powered peripherals that might (or not) possibly transmit data?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Nov 2024 14:10:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115729/system-off-mode-and-powered-peripherals" /><item><title>RE: System Off mode and powered peripherals</title><link>https://devzone.nordicsemi.com/thread/508828?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 14:10:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8033a872-23e0-4663-8dd8-2e396fd39302</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Off mode and powered peripherals</title><link>https://devzone.nordicsemi.com/thread/508824?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 13:57:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06e203bf-83fc-47d0-884c-613bbcc555ef</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;That&amp;#39;s right. So w&lt;span&gt;hen the nRF52 chip is in System Off mode, GPIO configurations are preserved, including any pull-up or pull-down settings. But, the chip enters an extremely low power state where most functionality is powered down.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;So even if a GPIO pin has a pull-up configured, it will not draw significant additional current &lt;span&gt;beyond the chip&amp;#39;s specified System Off current consumption. You can take a look at &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/94193/nrf52833-about-gpio-default-states-in-system-off-mode/397315"&gt;this ticket&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Priyanka&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Off mode and powered peripherals</title><link>https://devzone.nordicsemi.com/thread/508789?ContentTypeID=1</link><pubDate>Fri, 01 Nov 2024 10:51:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c6a1407-4504-4968-847b-5ee0a6142253</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;Thank you for the clarification.&lt;/p&gt;
[quote userid="107729" url="~/f/nordic-q-a/115729/system-off-mode-and-powered-peripherals/508732"]The best is to put all GPIOs in disconnected input (default state).[/quote]
&lt;p&gt;So, if I put the chip in System Off mode and the GPIO pin is disconnected, will that pin not draw any current even if there&amp;#39;s a pull-up on it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Off mode and powered peripherals</title><link>https://devzone.nordicsemi.com/thread/508732?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2024 21:44:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e66f1dd3-a5c6-4c1d-80ce-f5a1f98705ae</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Andrea,&lt;/p&gt;
[quote user="Thoraz"]In this case, the code, before activating the system_off mode, only configures the interrupt on the pin for wake-up and disables the UART (for the console) by calling the function &lt;code&gt;pm_device_action_run(cons, PM_DEVICE_ACTION_SUSPEND)&lt;/code&gt;. [/quote]
&lt;div&gt;Yes that&amp;#39;s right. This is done to reduce power consumption, as the UART peripheral can contribute significantly to idle current.&lt;/div&gt;
&lt;div&gt;[quote user="Thoraz"]However, on the development board, if I understand the schematic correctly, the nRF52840 chip remains connected via UART to the nRF5340 interface chip, which stays active. In this case, is there any problem,[/quote]&lt;/div&gt;
&lt;div&gt;That&amp;#39;s also right. This connection&amp;nbsp;will not be a problem for the system_off mode of the nRF52840, because when it&amp;nbsp;enters system_off mode, it will shut down most of its circuitry, including the UART peripheral, so the physical connection to the interface chip won&amp;#39;t cause any issues or prevent the nRF52840 from entering its lowest power state. But please &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/101872/how-to-make-zephyr-power-management-unit-work-with-nrf52/436487"&gt;see here&lt;/a&gt;&amp;nbsp;that&lt;span&gt;&amp;nbsp;UART is an exception that needs to be handled explicitly by the application for power management.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;[quote user="Thoraz"]In my case, the only bus that would remain active on my nRF52840 in system_off mode would be an I2C that has pull-ups on the VDD power supply. The active peripheral would still be a slave, and since the SDA and SCL signals are open-drain on the ports of my sleeping nRF52840, I would only have a pull-up to VDD. Could this be a problem?[/quote]&lt;span&gt;&lt;span&gt;That should be fine then. If the other device is a slave, it will not do anything unless it receives an I2C command, which it will not receive if the nRF is in system off.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&amp;nbsp;But&amp;nbsp;keep in mind that you may want to disable the peripheral to save power. High impedance pins doesn&amp;#39;t draw a lot of power (but more than nothing). The best is to put all GPIOs in disconnected input (default state).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Hope this helps :)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Regards,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;span dir="ltr"&gt;Priyanka&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Off mode and powered peripherals</title><link>https://devzone.nordicsemi.com/thread/507510?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2024 07:53:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f2dc12f-6464-4391-82e1-c26e29d0b559</guid><dc:creator>Andrea Verdecchia</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;br /&gt;I still have a couple of questions:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;I am looking at the &lt;a href="https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/boards/nordic/system_off"&gt;Zephyr example on the system_off mode&lt;/a&gt;, which is compatible with the nRF52840 DK development board. In this case, the code, before activating the system_off mode, only configures the interrupt on the pin for wake-up and disables the UART (for the console) by calling the function &lt;code&gt;pm_device_action_run(cons, PM_DEVICE_ACTION_SUSPEND)&lt;/code&gt;. However, on the development board, if I understand the schematic correctly, the nRF52840 chip remains connected via UART to the nRF5340 interface chip, which stays active. In this case, is there any problem, or am I missing something?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In my case, the only bus that would remain active on my nRF52840 in system_off mode would be an I2C that has pull-ups on the VDD power supply. The active peripheral would still be a slave, and since the SDA and SCL signals are open-drain on the ports of my sleeping nRF52840, I would only have a pull-up to VDD. Could this be a problem?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I hope I explained myself well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: System Off mode and powered peripherals</title><link>https://devzone.nordicsemi.com/thread/507450?ContentTypeID=1</link><pubDate>Tue, 22 Oct 2024 20:28:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49facd74-6b1e-4545-899a-baa57f58d6d1</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Andrea,&lt;/p&gt;
&lt;p&gt;When in system_off mode, the internal circuitry of the chip aims to minimize the power consumption and the pins will be in a high-impedance state. So in case you connect them to powered peripherals and they transmit data, this can cause anomalous behaviour and also possible current leakage due to the high-impedance. Sometimes this can also cause backfeeding from the powered peripherals to the chip and can cause problems since the chip would be in partial operation in the system_off state. So it would be better to not connect them to powered peripherals. In case it&amp;#39;s unavoidable, then maybe you could add some external protection circuit or even series resistors before connecting them to the powered peripherals.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>