<?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>Not able to set P.021 to 0 V</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50990/not-able-to-set-p-021-to-0-v</link><description>Hello, 
 for my project, I am using the module BT832A (from Fanstel) that implements the nrf52810. I am using the pin P.021 to drive a switch. The problem is that when I set the pin to 0, I read about 30 mV instead of 0V. Do you think it is a hardware</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Aug 2019 14:18:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50990/not-able-to-set-p-021-to-0-v" /><item><title>RE: Not able to set P.021 to 0 V</title><link>https://devzone.nordicsemi.com/thread/204121?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 14:18:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38d19391-69f8-454a-be40-6ec1b13b2ed6</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Seems they have added a pull up and capacitor on the pin, likely to make it more &amp;quot;robust&amp;quot; as a reset pin. I suggest to use a different pin.&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: Not able to set P.021 to 0 V</title><link>https://devzone.nordicsemi.com/thread/204110?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 13:52:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c2ef19a-015e-4ab8-8b5c-66ea4fb6dd30</guid><dc:creator>antoniov</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I just followed your suggestion. With the pin not configured, I read 2.86 V at the output and I get 286 uA when&amp;nbsp;I measure the current from&amp;nbsp;P.021 to GND, meaning R= 10k.&lt;/p&gt;
&lt;p&gt;I have also opened the module and I&amp;nbsp;found this:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/S20190814_5F00_001.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you think there is a workaround to solve the problem or I am obliged to choose&amp;nbsp;another pin to get&amp;nbsp;0V ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to set P.021 to 0 V</title><link>https://devzone.nordicsemi.com/thread/204100?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 13:29:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:968dee56-95d2-46c5-ad9b-6afe435cb64f</guid><dc:creator>antoniov</dc:creator><description>&lt;p&gt;Do you mean leaving the pin unconfigured in my firmware and take the measurement?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to set P.021 to 0 V</title><link>https://devzone.nordicsemi.com/thread/204099?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 13:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1324859-5442-4ee8-b8b0-ec68f8eea5f4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;If you don&amp;#39;t configure the pin, have you tried to connect a multimeter to P0.21 and measure the current (if any) from P0.21 to VDD and P0.21 to GND. Then you should get good indication if there is any pull active on the pin by ohms law (R = VDD / I).&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: Not able to set P.021 to 0 V</title><link>https://devzone.nordicsemi.com/thread/204086?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 13:04:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdf9a23a-a2d3-4043-8ecc-4feef3b87c98</guid><dc:creator>antoniov</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I am aware of that, and I have removed&amp;nbsp;&lt;span&gt;CONFIG_GPIO_AS_PINRESET from the preprocessor (I am using Seggerer Embedded Studio), but I still get 38 mV.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I will try to open the module to check inside.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to set P.021 to 0 V</title><link>https://devzone.nordicsemi.com/thread/204080?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2019 12:54:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e6f3028-ff16-4d3a-9436-c8f68c4a3f88</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It&amp;#39;s worth mentioning that the P0.21 may be configured to be used as a pin reset:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52810/pin.html?cp=3_3_0_6_0"&gt;https://infocenter.nordicsemi.com/topic/ps_nrf52810/pin.html?cp=3_3_0_6_0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So make sure there is no specific pull on the pin on the module and/or that you have defined&amp;nbsp;CONFIG_GPIO_AS_PINRESET which will enable pin reset in system_nrf52810.c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>