<?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>Using AIN pin as GPIO on nRF52820</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93279/using-ain-pin-as-gpio-on-nrf52820</link><description>Hi, on the nRF52820-QDAA I am using pin 5 AIN3 / P0.05 as an GPIO output to drive a LED (active low). 
 This does not work in the software, when I drive the pin high with nrf_gpio_pin_set, the pin goes to 2V instead of VDD. 
 Probably there is something</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Oct 2022 08:24:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93279/using-ain-pin-as-gpio-on-nrf52820" /><item><title>RE: Using AIN pin as GPIO on nRF52820</title><link>https://devzone.nordicsemi.com/thread/393156?ContentTypeID=1</link><pubDate>Mon, 31 Oct 2022 08:24:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04f75c8b-0786-4c2a-8f3c-0975b3ecdb32</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user="janvb"]I now understand that the problem is that the LED threshold voltage is smaller than VDDH-VDD, so that current is flowing through the LED into the pin when high.&amp;nbsp; What is the best way to resolve this?&amp;nbsp;&amp;nbsp;[/quote]
&lt;p&gt;You should probably fix this first so that extra current does not flow back to the pin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using AIN pin as GPIO on nRF52820</title><link>https://devzone.nordicsemi.com/thread/392818?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 12:09:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d7efa91-30f8-4cc9-b99b-f3cf5895685a</guid><dc:creator>janvb</dc:creator><description>&lt;p&gt;VDD is 1.8V, the battery powering the system is at 3.8V and connected to the VDDH pin. As the anodes of the LEDs are also connected to VDDH, I now understand that the problem is that the LED threshold voltage is smaller than VDDH-VDD, so that current is flowing through the LED into the pin when high.&amp;nbsp; What is the best way to resolve this?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can I use an open drain output?&amp;nbsp; But in that case the pin voltage will rise above VDD when the pin is high, so that is violating the max ratings.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using AIN pin as GPIO on nRF52820</title><link>https://devzone.nordicsemi.com/thread/392804?ContentTypeID=1</link><pubDate>Thu, 27 Oct 2022 11:38:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b847ea74-cd72-4213-bf61-fcc25c8ecaff</guid><dc:creator>Susheel Nuguru</dc:creator><description>[quote user=""]This does not work in the software, when I drive the pin high with&amp;nbsp;nrf_gpio_pin_set, the pin goes to 2V instead of VDD.[/quote]
&lt;p&gt;What is the value of VDD you are using? Assuming that this is a custom board, it is hard to say what is limiting the output voltage. Also are you using high drive setting ? Did you get your schematics and layout files reviewed? Are you sure there is nothing in the hardware design or build that might cause the issues?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>