<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>BUTTON PULLDOWN QUESTION</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88564/button-pulldown-question</link><description>hello. I want to use the button as a pull-down. I am using nrf52832, and the button and circuit part are composed of pull-down and the code is written as follows. 
 
 
 However, even if the button is pressed, it always behaves as 0. I want to know why</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Tue, 07 Jun 2022 05:05:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88564/button-pulldown-question" /><item><title>RE: BUTTON PULLDOWN QUESTION</title><link>https://test-devzone.nordicsemi.com/thread/371012?ContentTypeID=1</link><pubDate>Tue, 07 Jun 2022 05:05:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17e6d3b2-4a94-4066-9a33-7500ebbd44b9</guid><dc:creator>user97123</dc:creator><description>&lt;pre class="tw-data-text tw-text-large tw-ta" id="tw-target-text" dir="ltr"&gt;&lt;span class="Y2IQFc" lang="en"&gt;I have solved this problem! It happened because I misunderstood the circuit. &lt;br /&gt;&lt;br /&gt;The chip I used is nrf52832 and is written from sdk15.2. Not DK. Thanks for the reply!

And for other developers who may have the same problem, in NRF52dk, GPIOs 13~17 are internally pulled-up, so if you use it as a button, you must do a pull-up set. &lt;br /&gt;&lt;br /&gt;Also, if you use GPIO 13~17 as a pull-down in a non-dk version, you should not use the bsp handler. &lt;br /&gt;&lt;br /&gt;Actually I think the best way is to use 20 or more GPIOs with nothing defined...
&lt;br /&gt;&lt;br /&gt;
I am writing the answer through a translator, there may be mistranslations.&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;Thank you!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BUTTON PULLDOWN QUESTION</title><link>https://test-devzone.nordicsemi.com/thread/370816?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 08:18:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57971533-43ea-47ed-8047-d36c24f17fef</guid><dc:creator>user111520</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;Are you using the nRF52832 DK or a custom board?&lt;/p&gt;
&lt;p&gt;What SDK are you using?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>