<?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>pm_device_action_run for UART causes GPIOs to switch states</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115160/pm_device_action_run-for-uart-causes-gpios-to-switch-states</link><description>SDK: 2.6.1 
 I needed to add a single wire support to our device recently and I did that by using two pins TX/RX shorted and UART. It works, but current consumption sky rockets because of the UART. After some googling I decided that putting uart to suspended</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Oct 2024 13:23:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115160/pm_device_action_run-for-uart-causes-gpios-to-switch-states" /><item><title>RE: pm_device_action_run for UART causes GPIOs to switch states</title><link>https://devzone.nordicsemi.com/thread/504537?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 13:23:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:42ccbec4-8588-4d30-b279-178e3776178f</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can add &lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/26fd55e0a750305fbd5d9db750225d7e707458ae/drivers/serial/Kconfig.nrfx_uart_instance#L70"&gt;CONFIG_UART_1__GPIO_MANAGEMENT&lt;/a&gt;=n to your project configuration file if you don&amp;#39;t want the &amp;#39;uart1_sleep&amp;#39; group to be applied on suspend here:&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/26fd55e0a750305fbd5d9db750225d7e707458ae/drivers/serial/uart_nrfx_uarte.c#L1931"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/26fd55e0a750305fbd5d9db750225d7e707458ae/drivers/serial/uart_nrfx_uarte.c#L1931&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>