<?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 problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/16367/gpio-problem</link><description>Hi, 
 I have very trivial question. I open the template program which is attached in SDK 11.0. In application timers start function I wrote the following code. The result is value 1 on the terminal. I will be really grateful if someone can help. I tested</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Sep 2016 23:36:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/16367/gpio-problem" /><item><title>RE: gpio problem</title><link>https://devzone.nordicsemi.com/thread/62639?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 23:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff17c878-ed22-40b7-aa36-319649214d9b</guid><dc:creator>samo</dc:creator><description>&lt;p&gt;RK sorry it was my fault, I hope that you will receive my apology. Next time I will be more careful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gpio problem</title><link>https://devzone.nordicsemi.com/thread/62638?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 23:31:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dbbe3f4-dc02-47df-a18b-583bb8877629</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;so basically the problem isn&amp;#39;t the thing you reported and the code isn&amp;#39;t the code you used to do the testing. How about asking a proper question about the proper issue with the proper code because otherwise you&amp;#39;re rather wasting everyone&amp;#39;s time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gpio problem</title><link>https://devzone.nordicsemi.com/thread/62637?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 23:28:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3a9c433-eb57-4ac9-b9ee-9916573f3240</guid><dc:creator>samo</dc:creator><description>&lt;p&gt;Sorry I did not mention that when I were testing nrf_gpio_pin_toggle() function was used.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gpio problem</title><link>https://devzone.nordicsemi.com/thread/62636?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 23:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddec7b70-3a08-4f50-96f8-f69b673c2710</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;What response did you expect since all you do is clear the pin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gpio problem</title><link>https://devzone.nordicsemi.com/thread/62635?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 23:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:136e0767-4d42-4017-bc3c-9b90fe062185</guid><dc:creator>samo</dc:creator><description>&lt;p&gt;I tested pins with oscilloscope and I did not receive any respose. I think that pin 9, 10 and 11 are reserved.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: gpio problem</title><link>https://devzone.nordicsemi.com/thread/62634?ContentTypeID=1</link><pubDate>Mon, 12 Sep 2016 22:53:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9ab768e-f8bf-4157-9e6c-97593fc51b66</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Did you read the documentation on the function you are calling? It says quite clearly ..&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;__STATIC_INLINE void nrf_gpio_cfg_output(uint32_t pin_number);
@note  Sense capability on the pin is disabled, and input is disconnected from the buffer as the pins are configured as output.
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you want to read the pin then you need to connect the input buffer so using that macro to set up the pin won&amp;#39;t help you. Use the full version of pin setup and connect the input buffer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>