<?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 - pin P0.02 as a digital input</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55366/nrf52840---pin-p0-02-as-a-digital-input</link><description>I am using the nRF52840 dongle (pca1009). 
 I have read from some digital inputs successfully, but am not able to read from P0.02. 
 I set it up as an input with the following code: 
 #define TOUCH_OUT NRF_GPIO_PIN_MAP(0,2) 
 nrf_gpio_cfg_input(TOUCH_OUT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 09 Dec 2019 13:27:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55366/nrf52840---pin-p0-02-as-a-digital-input" /><item><title>RE: NRF52840 - pin P0.02 as a digital input</title><link>https://devzone.nordicsemi.com/thread/224459?ContentTypeID=1</link><pubDate>Mon, 09 Dec 2019 13:27:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86ccb75a-cd19-4261-9383-d9729fefa3d7</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;I do not see any reason why you should not be able to read this pin. It may be used for analog input if ADC is enabled in your project, but I doubt that is the case. Maybe it is damaged somehow. Do you have an nRF52840-DK you can use for reference?&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>