<?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>bsp_init() configure pull up</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77428/bsp_init-configure-pull-up</link><description>Hello i&amp;#39;ve implemented a push button detection with the bsp library but i can&amp;#39;t fin a way to configure a pullup with it : 
 
 When i check the tention on the input it&amp;#39;s at 0V when the button is pressed but not at 2.9V when it&amp;#39;s released, how can i configure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Jul 2021 13:04:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77428/bsp_init-configure-pull-up" /><item><title>RE: bsp_init() configure pull up</title><link>https://devzone.nordicsemi.com/thread/319805?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 13:04:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7680cc46-ca3a-4f34-990e-4509ac84f93c</guid><dc:creator>Albin</dc:creator><description>&lt;p&gt;it works i actually needed a pulldown Thank you !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: bsp_init() configure pull up</title><link>https://devzone.nordicsemi.com/thread/319804?ContentTypeID=1</link><pubDate>Tue, 13 Jul 2021 13:02:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9f93dc5-656c-450c-bc84-f3ede4119a74</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The BSP init function should set Button 0 to Button 7 with pullup as it calls&amp;nbsp;&lt;span&gt;&lt;span&gt;app_button_init() in bsp_init() which configures the pullup configuration as&amp;nbsp;accordingly to the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;app_buttons&lt;/span&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;array in bsp.c . Try calling&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/group__nrf__gpio__hal.html#gaefea00d9967a6026bb462d7e183af1f5"&gt;nrf_gpio_cfg_input&lt;/a&gt;() and set the pull externally of the BSP module.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>