<?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>Manipulating GPIO Pins (from digital out to analog in and vise versa)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113855/manipulating-gpio-pins-from-digital-out-to-analog-in-and-vise-versa</link><description>Hi, I am working on a project using the nRF52832 and the nRF5 SDK 17.1.0. We have a sensor with non linear behaviour and in our attempt to linearize it we found an article in which the author manipulates some pins in a certain way, to charge and discharge</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Aug 2024 12:47:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113855/manipulating-gpio-pins-from-digital-out-to-analog-in-and-vise-versa" /><item><title>RE: Manipulating GPIO Pins (from digital out to analog in and vise versa)</title><link>https://devzone.nordicsemi.com/thread/498287?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 12:47:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93be9afb-dd24-4ce0-a3a1-1eea62b0647c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]What is the best way to simulate this functionality? [/quote]
&lt;p&gt;We don&amp;#39;t offer any simulations tools for this.&amp;nbsp;&lt;/p&gt;
[quote user=""]Also, since the real reason for this seems to be &amp;quot;&lt;em&gt;&lt;strong&gt;so no further current flows in or out there&amp;quot;&amp;nbsp;&lt;/strong&gt;&lt;/em&gt;i tried just disconnecting the pins instead of somehow transitioning them to analog in[/quote]
&lt;p&gt;Sounds reasonable. I suggest setting the drive configuration of this pin1 to&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/gpio.html?cp=5_2_0_19_2_12#register.PIN_CNF-3"&gt;D0S1&amp;nbsp;&lt;/a&gt;&amp;nbsp;then.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>