<?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>erasing uicr affect gpios read</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94517/erasing-uicr-affect-gpios-read</link><description>hi Nordic 
 i am working with nrf52832, running with zephyr and ncs1.91 
 i had to use nrfjprog -- eraseuicr to change serial number on 0x10001080 and after that something strange had happen an ADC read of a certain GPIO suddenly became zero 
 any idea</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 04 Dec 2022 21:22:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94517/erasing-uicr-affect-gpios-read" /><item><title>RE: erasing uicr affect gpios read</title><link>https://devzone.nordicsemi.com/thread/398890?ContentTypeID=1</link><pubDate>Sun, 04 Dec 2022 21:22:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c96fb372-33b2-469b-b6e3-c07b520dc1ff</guid><dc:creator>ziv123</dc:creator><description>&lt;p&gt;found the issue&lt;/p&gt;
&lt;p&gt;pin p0.09 on nrf52832 is an NFC pin and when erasing the UICR it returns to it&amp;#39;s default which is UICR, if i want to be using it as a GPIO i need to add&amp;nbsp;this config&amp;nbsp;to my baord .conf file:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_NFCT_PINS_AS_GPIOS&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;that way even after erasing UICR i still uses the pin as a GPIO&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;best regards&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Ziv&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>