<?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>gpio rising/falling time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27549/gpio-rising-falling-time</link><description>Hello! 
 I need sensitive gpio. 
 I want that is gpio rising in 20[nsec]. 
 However, the test results using the function below show that the gpio rise time is 200 nsec. 
 nrf_gpio_pin_toggle(17); / nrf_gpio_pin_clear(17); / nrf_gpio_pin_set(17); </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 27 Nov 2017 05:06:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27549/gpio-rising-falling-time" /><item><title>RE: gpio rising/falling time</title><link>https://devzone.nordicsemi.com/thread/108773?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2017 05:06:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f26275ab-22f2-46da-9ff5-6013d7593604</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;I solved this problem by applying it to a real board.
It took 200 [nsec] on the development board(PCA10040), but I confirmed that it was below 20 [nsec] on my making PCB board.&lt;/p&gt;
&lt;p&gt;The second way you gave me was the right way.&lt;/p&gt;
&lt;p&gt;Thank you, Jørn!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gpio rising/falling time</title><link>https://devzone.nordicsemi.com/thread/108772?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2017 08:13:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:308882d0-667d-44f3-975f-31be5b53c152</guid><dc:creator>J&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Jim&lt;/p&gt;
&lt;p&gt;If you look at &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/gpio.html?cp=2_1_0_19_3#unique_1820404704"&gt;page 155&lt;/a&gt; of the nRF52832 product specification you will see the rise and fall times that have been simulated for the nRF52832.&lt;/p&gt;
&lt;p&gt;Firstly you can see from this that the times are significantly reduced by enabling high drive for the pins. To enable high drive for a pin when using the GPIO drivers you can call nrf_gpio_cfg() with the correct arguments, where the drive argument is set to NRF_GPIO_PIN_H0H1. Otherwise you can write directly to the hardware peripheral registers. This will provide high drive for both high and low state.&lt;/p&gt;
&lt;p&gt;Secondly the rise and fall times are dependent on the capacitance present at the pin, so be sure to limit the capacitance of the load you have connected to the pin.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jørn Frøysa&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>