<?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>GPIO driving</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120198/gpio-driving</link><description>Hello, 
 I&amp;#39;m running both central and peripheral roles for BLE on Zephyr, along with UART and some GPIOs. 
 
 
 SDK: 2.6.2 
 
 
 The project includes MCUboot, supporting DFU over UART and BLE. 
 
 
 Running on a custom board. 
 
 
 Everything works except</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 28 Mar 2025 14:21:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120198/gpio-driving" /><item><title>RE: GPIO driving</title><link>https://devzone.nordicsemi.com/thread/529564?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 14:21:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e8c3888-a885-450d-b490-4df14bcea457</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;&amp;#39;west flash&amp;#39; which is invoked by the vs code extension when you load the merged.hex will also run &amp;#39;nrfjprog --pinresetenable&amp;#39;&amp;nbsp;that enables the pinreset functionality by writing to the NV&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/uicr.html#register.PSELRESET-0"&gt;PSELRESET&lt;/a&gt;&amp;nbsp;registers. To avoid having to do this, you can enable&amp;nbsp;CONFIG_GPIO_AS_PINRESET in your project config.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO driving</title><link>https://devzone.nordicsemi.com/thread/529492?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 11:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f70d33f4-1585-4c9c-b0a6-78c9a06ec855</guid><dc:creator>piseek</dc:creator><description>&lt;p class="" data-start="120" data-end="166"&gt;&lt;strong data-start="120" data-end="164"&gt;Tidar, thank you! This solved the issue.&lt;/strong&gt;&lt;/p&gt;
&lt;p class="" data-start="168" data-end="228"&gt;Now, I&amp;#39;ve encountered another problem related to flashing.&lt;/p&gt;
&lt;ul data-start="230" data-end="505"&gt;
&lt;li class="" data-start="230" data-end="338"&gt;
&lt;p class="" data-start="232" data-end="338"&gt;When I flash the app and bootloader using the VS Code plugin, I can enter MCUboot for serial DFU (UART).&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="339" data-end="440"&gt;
&lt;p class="" data-start="341" data-end="440"&gt;However, when I flash the merged.hex file using SEGGER J-Flash Lite, I&amp;rsquo;m unable to enter MCUboot.&lt;/p&gt;
&lt;/li&gt;
&lt;li class="" data-start="441" data-end="505"&gt;
&lt;p class="" data-start="443" data-end="505"&gt;If I then reflash just the app with VS Code, it works again.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p class="" data-start="507" data-end="561"&gt;I enter MCUboot by toggling the boot and reset pins.&lt;br /&gt;&lt;br /&gt;DFU over BLE always works.&lt;br /&gt;&lt;br /&gt;I suspected the issue is related to the boot pin, but it is the reset pin. When polled down it does nothing&lt;/p&gt;
&lt;p class="" data-start="563" data-end="589"&gt;Could you please advise?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIO driving</title><link>https://devzone.nordicsemi.com/thread/529301?ContentTypeID=1</link><pubDate>Thu, 27 Mar 2025 13:21:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84a6d508-b270-4f59-ac60-1dfb14729e54</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Pin P0.9 and P0.10 are assigned to the NFC by default. To use them as regular GPIOS, you can add&amp;nbsp;CONFIG_NFCT_PINS_AS_GPIOS=y to your prj.conf file or edit your board file to enable this config setting by default. This configuration will make the startup code check the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/uicr.html#register.NFCPINS"&gt;NFCPINS&lt;/a&gt;&amp;nbsp;register on startup and update it if needed.&lt;/p&gt;
&lt;p&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/pastedimage1743081325535v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;(&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/pin.html"&gt;pin assigments&lt;/a&gt;)&lt;/p&gt;
&lt;p&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/pastedimage1743081525209v3.png" alt=" " /&gt;&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>