<?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>NRF52840 unable to use reset pin (P0.18) as GPIO</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58926/nrf52840-unable-to-use-reset-pin-p0-18-as-gpio</link><description>Hi! I&amp;#39;m working with a custom board, where pin p0.18 is connected to an external button. 
 I&amp;#39;ve read several posts, including this one which say that one must remove the &amp;#39;CONFIG_GPIO_AS_PINRESET&amp;#39; flag from the preprocessor configuration and then reset</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Mar 2020 10:16:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58926/nrf52840-unable-to-use-reset-pin-p0-18-as-gpio" /><item><title>RE: NRF52840 unable to use reset pin (P0.18) as GPIO</title><link>https://devzone.nordicsemi.com/thread/239680?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 10:16:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02738e7d-f92c-42f4-b82c-64b2d922c343</guid><dc:creator>Kenneth</dc:creator><description>[quote user="A.P"]Any idea why?[/quote]
&lt;p&gt;Sorry no, maybe you have by accident set a peripheral (uart, twi, spi etc.) to also use pin 18.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 unable to use reset pin (P0.18) as GPIO</title><link>https://devzone.nordicsemi.com/thread/239602?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2020 17:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87a92180-fe18-499d-b060-5bd0bd4bdc18</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;This is interesting.&lt;br /&gt;In the Pin_Change_int example P0.18 does work as GPIO. its active state, and pull direction can be changed successfully.&lt;br /&gt;However, none of these work in the BSP example, though I configure everything the same way. Any idea why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 unable to use reset pin (P0.18) as GPIO</title><link>https://devzone.nordicsemi.com/thread/239189?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 16:09:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6980279d-fd3b-42ef-8517-239ddec1f77c</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I can&amp;#39;t see any reason why this shouldn&amp;#39;t work no. Maybe try the&amp;nbsp;[nRF5 SDK]\examples\peripheral\pin_change_int for comparison?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 unable to use reset pin (P0.18) as GPIO</title><link>https://devzone.nordicsemi.com/thread/239148?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 13:56:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeb6197b-c9db-47dc-9aba-c02e325521f6</guid><dc:creator>A.P</dc:creator><description>&lt;p&gt;Hi Kenneth!&lt;br /&gt;Thank you for the quick reply!&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not using the nRF52840-DK, I&amp;#39;m using a custom board.&lt;/p&gt;
&lt;p&gt;Here is the uicr.hex file&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/uicr.hex"&gt;devzone.nordicsemi.com/.../uicr.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52840 unable to use reset pin (P0.18) as GPIO</title><link>https://devzone.nordicsemi.com/thread/239137?ContentTypeID=1</link><pubDate>Tue, 10 Mar 2020 13:46:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3315df9b-1ae8-46b3-b435-88dc67095f93</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using the nRF52840-DK?&lt;/p&gt;
&lt;p&gt;If yes, then flip the&amp;nbsp;DK over an look at the table that show how you should connect P0.18 as an GPIO.&lt;br /&gt;If no, then read back UICR by &amp;#39;nrfjprog --readuicr uicr.hex&amp;#39; and share it here.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>