<?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>debouncing on NRF52 Preview DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9456/debouncing-on-nrf52-preview-dk</link><description>infocenter.nordicsemi.com/index.jsp 
 I see a debouncing filter in the block diagram of NRF52 preview DK. Isnt debouncing implemented in software? So why need a HW debouncing filter?? which part of the schematic (ie. component numbers) refers to this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Sep 2015 08:01:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9456/debouncing-on-nrf52-preview-dk" /><item><title>RE: debouncing on NRF52 Preview DK</title><link>https://devzone.nordicsemi.com/thread/34924?ContentTypeID=1</link><pubDate>Tue, 29 Sep 2015 08:01:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ebc3e05-3bdf-4ad0-a8d0-3b31dc031bae</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;There is an internal pull up on the reset pin of about ~13kOhm so unless you are particularly vulnerable to ESD or noise an external resistor should not be necessary.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debouncing on NRF52 Preview DK</title><link>https://devzone.nordicsemi.com/thread/34923?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 12:37:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef51f431-9bf8-4347-9cfc-1b193d5b00fd</guid><dc:creator>Lakerno</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/switch.jpg" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;I have connected a push button switch to generate an interrupt as below. Based on your explanation, I am not adding any HW debouncer to this pin. Also may I know, if I need to add any pullup/pulldown resistors? thank u&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debouncing on NRF52 Preview DK</title><link>https://devzone.nordicsemi.com/thread/34922?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 11:46:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fd7a03c-28cd-4df9-aac2-a5154864f338</guid><dc:creator>Lakerno</dc:creator><description>&lt;p&gt;Clear Explanation. Thank you! Martin.
Also can you clarify, if a pullup/pulldown resistor is required if a pushbutton switch is connected to P0.21/Reset to ground?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debouncing on NRF52 Preview DK</title><link>https://devzone.nordicsemi.com/thread/34921?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 11:27:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d9f1f20-cff3-41ce-afc8-e58ee9f02e32</guid><dc:creator>oliverhu</dc:creator><description>&lt;p&gt;since i found NRF52 has inside pull up resistor, could I directly connect the button to the reset pin without pull up/ pull down network.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debouncing on NRF52 Preview DK</title><link>https://devzone.nordicsemi.com/thread/34920?ContentTypeID=1</link><pubDate>Mon, 28 Sep 2015 09:11:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bf7d174-2325-4f82-a185-70d2771ef241</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Short answer: The debouncing filter is not inside the nRF52 IC. The filter is only used when you are using an external shield on top of your nRF52 DK. When using a shield the buttons get disconnected from the GPIO pins on the nRF52 IC and are instead routed to an I/O expander which is susceptible to &amp;quot;button noise&amp;quot; and needs a filtered input signal. Below I have posted parts of the nRF52 DK schematic (&lt;a href="http://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF52-Preview-DK#Downloads"&gt;found here&lt;/a&gt;) showing how the blocks in your link are connected electrically.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Debouncing.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;The switching block, U4, is a &lt;a href="http://www.nxp.com/documents/data_sheet/NX3DV2567.pdf"&gt;NX3DV2567&lt;/a&gt;) double throw analog switch that connects the button inputs either to the nRF52 IC directly or to an I/O expander depending on whether or not a shield is detected on the SHIELD_DETECT line. If no shield is detected then the button inputs are routed directly to pin 13-16 on the nRF52 IC. If a shield is detected then the button inputs are routed through a filter to an I/O expander, U7, which is a &lt;a href="http://www.nxp.com/documents/data_sheet/PCAL6408A.pdf"&gt;PCAL6408A&lt;/a&gt;. This expander allows you to use TWI to control GPIOs on the shield and hence, save some GPIOs on the nRF52 IC.&lt;/p&gt;
&lt;p&gt;Summary:&lt;/p&gt;
&lt;p&gt;If you are not using a shield, buttons are connected directly to a nRF52 and you are expected to do debouncing in software, e.g. by using the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/lib_button.html?resultof=%22%64%65%62%6f%75%6e%63%69%6e%67%22%20%22%64%65%62%6f%75%6e%63%22%20"&gt;Button Handling Library&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you are using a shield the buttons need to be filtered because they will be routed to an I/O expander that doesn&amp;#39;t do software filtering.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>