<?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>Modem Shell with PPP and Dynamic Uart Change</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95877/modem-shell-with-ppp-and-dynamic-uart-change</link><description>Hi, 
 
 We have nRF9160 product and want to use it with Modem Shell firmware application with enabling PPP. It worked with default UART configuration (UART0 as PPP, UART1 as shell). 
 The question is are we able to change UART configuration dynamically</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Jan 2023 17:52:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95877/modem-shell-with-ppp-and-dynamic-uart-change" /><item><title>RE: Modem Shell with PPP and Dynamic Uart Change</title><link>https://devzone.nordicsemi.com/thread/406341?ContentTypeID=1</link><pubDate>Tue, 24 Jan 2023 17:52:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0862c8a2-78be-4836-b8a8-a7c43414d976</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]Is it possible, if so, how?[/quote]
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/pinctrl/index.html#dynamic-pin-control"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/pinctrl/index.html#dynamic-pin-control&lt;/a&gt;;&lt;/p&gt;
&lt;p&gt;&amp;quot;Dynamic pin control should only be used on devices that have not been initialized. Changing pin configurations while a device is operating may lead to unexpected behavior. Since Zephyr does not support device de-initialization yet, this functionality should only be used during early boot stages.&amp;quot;&lt;/p&gt;
&lt;p&gt;So if you want to change pins, you need to reset the device and choose pins while initializing the drivers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>