<?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>GPIOTE in inout mode</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38689/gpiote-in-inout-mode</link><description>Hi all, 
 I want to use gpiote module of nrf52832 in in_out mode. 
 This means I want to config a gpio pin as output in open-drain mode like other MCUs while this pin can also sense the bus if it goes high or low. 
 Can nrf52832 support this.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 12 Feb 2024 23:16:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38689/gpiote-in-inout-mode" /><item><title>RE: GPIOTE in inout mode</title><link>https://devzone.nordicsemi.com/thread/468493?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 23:16:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54b0a213-9675-4cc5-9967-fbab50b39313</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;&lt;em&gt;&amp;nbsp;GPIO_PIN_CNF_DRIVE_S0S1 I would think it should be&amp;nbsp;GPIO_PIN_CNF_DRIVE_S0D1 unless this possibility does not exist.&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE in inout mode</title><link>https://devzone.nordicsemi.com/thread/150749?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 15:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c4b9fb5-856f-443e-bfa9-49cb624a8eb0</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Awesome!&lt;/p&gt;
&lt;p&gt;Best of luck with your project &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE in inout mode</title><link>https://devzone.nordicsemi.com/thread/149553?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 07:47:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc23511c-0ccf-4e16-9774-4de121d03f9c</guid><dc:creator>believer</dc:creator><description>&lt;p&gt;Hi Ovrebekk,&lt;/p&gt;
&lt;p&gt;Thank you so much for your support.&lt;/p&gt;
&lt;p&gt;Your solution works very well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE in inout mode</title><link>https://devzone.nordicsemi.com/thread/149546?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 06:46:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:147c4167-cf43-4273-9b24-116fb64d5442</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;If the lib doesn&amp;#39;t support it there is always the hardware registers ;)&lt;/p&gt;
&lt;p&gt;I tested it myself by configuring the pin directly through the PIN_CNF[n] register:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt; NRF_P0-&amp;gt;PIN_CNF[BSP_LED_0] = GPIO_PIN_CNF_DIR_Output&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&amp;lt; GPIO_PIN_CNF_DIR_Pos&amp;nbsp; &amp;nbsp; &amp;nbsp;|&lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GPIO_PIN_CNF_INPUT_Connect &amp;lt;&amp;lt; GPIO_PIN_CNF_INPUT_Pos | &lt;/em&gt;&lt;br /&gt;&lt;em&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;GPIO_PIN_CNF_DRIVE_S0S1&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&amp;lt; GPIO_PIN_CNF_DRIVE_Pos;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE in inout mode</title><link>https://devzone.nordicsemi.com/thread/149532?ContentTypeID=1</link><pubDate>Thu, 20 Sep 2018 03:14:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5d69056-c7be-4073-b71c-f2304fd7133f</guid><dc:creator>believer</dc:creator><description>&lt;p&gt;Hi Ovrebekk,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for letting me know it&amp;#39;s possible.&lt;/p&gt;
&lt;p&gt;Can you show me exactly how to do it?&lt;/p&gt;
&lt;p&gt;I have searched a lot in nrf lib but there&amp;#39;s no option for me to enable the input buffer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: GPIOTE in inout mode</title><link>https://devzone.nordicsemi.com/thread/149425?ContentTypeID=1</link><pubDate>Wed, 19 Sep 2018 12:07:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a85eaed-585c-4b94-bd75-68d253417022</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Believer&lt;/p&gt;
&lt;p&gt;This can be done, yes.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is possible to enable the input buffer on the GPIO pins even in output mode, which allows you to read the state of the pins also when the pin is configured in the output direction.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>