<?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>Using GPIO Pins with shared functionality</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87924/using-gpio-pins-with-shared-functionality</link><description>I am developing on an nRF52811 and I&amp;#39;ve noticed that I can&amp;#39;t set/clear the pins such as the ones in the bracket in the picture below. 
 I&amp;#39;m using nrf_gpio_cfg_output(pin_num) to see the pin as an output and then using nrf_gpio_cfg_set/nrf_gpio_cfg_clear</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Mar 2023 16:01:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87924/using-gpio-pins-with-shared-functionality" /><item><title>RE: Using GPIO Pins with shared functionality</title><link>https://devzone.nordicsemi.com/thread/417175?ContentTypeID=1</link><pubDate>Thu, 23 Mar 2023 16:01:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fef6566a-9885-4392-842d-b0ee1b3a378a</guid><dc:creator>JasonPierpont</dc:creator><description>&lt;p&gt;The issue was that P0.00 and P0.01 are reserved for XTAL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO Pins with shared functionality</title><link>https://devzone.nordicsemi.com/thread/369678?ContentTypeID=1</link><pubDate>Thu, 26 May 2022 15:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b500d3d7-d2f8-43d0-af1a-3288e42d52e5</guid><dc:creator>JasonPierpont</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It was occurring on multiple boards. I was troubleshooting a very small Flex PCB and there may have been some poor connections. Everything is working now. Thanks for the assistance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO Pins with shared functionality</title><link>https://devzone.nordicsemi.com/thread/369071?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 13:59:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fbadeac-39ff-4154-9d6a-9be1f670b188</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I verified that your code does toggle the GPIOs on P0.00-P0-05 correctly on my nRF52811 board.&lt;/p&gt;
&lt;p&gt;Do you see this issue on a single board, or on multiple nRF52811 boards?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO Pins with shared functionality</title><link>https://devzone.nordicsemi.com/thread/368100?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 15:37:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15e0e358-7039-45a6-9805-225e8858643c</guid><dc:creator>JasonPierpont</dc:creator><description>&lt;p&gt;Yes, I have tried with the BSP stuff removed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is my code:&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;#define PIN 0&lt;/p&gt;
&lt;p&gt;#include &amp;lt;stdbool.h&amp;gt;&lt;br /&gt;#include &amp;lt;stdint.h&amp;gt;&lt;br /&gt;#include &amp;quot;nrf_delay.h&amp;quot;&lt;br /&gt;#include &amp;quot;boards.h&amp;quot;&lt;/p&gt;
&lt;p&gt;int main(void)&lt;br /&gt;{&lt;br /&gt;&amp;nbsp; &amp;nbsp; nrf_gpio_cfg_output(PIN);&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; while (true)&lt;br /&gt;&amp;nbsp; &amp;nbsp; {&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nrf_gpio_pin_set(PIN);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nrf_delay_ms(2000);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nrf_gpio_pin_clear(PIN);&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; nrf_delay_ms(2000);&lt;br /&gt;&amp;nbsp; &amp;nbsp; }&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO Pins with shared functionality</title><link>https://devzone.nordicsemi.com/thread/368099?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 15:27:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1486943-f61a-4766-afa8-57faff76ee72</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you tried with the Blinky example, with the BSP function calls removed/commented out?&lt;/p&gt;
&lt;p&gt;If you are not seeing toggles with such a minimal example, there is probably some HW issue on the board, or problems with the way you check the toggling. If you can share the full program code of your test-application, I can try it out on one of our nRF52811 boards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO Pins with shared functionality</title><link>https://devzone.nordicsemi.com/thread/368092?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 14:46:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6a34b5a-357d-4e4a-ad60-c56048cd8ce8</guid><dc:creator>JasonPierpont</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have tried with the blinky example. I&amp;#39;m using Nrf5 SDK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using GPIO Pins with shared functionality</title><link>https://devzone.nordicsemi.com/thread/368090?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 14:35:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:686a91e1-c8f1-4a69-bf8c-3e5ff46391a7</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You should be able to use these pins without any additional configuration, as long as the pins are not assigned to any other peripherals (CLOCK, SAADC, GPIOTE, UART/SPI/TWI, etc). XL1/XL2 will be used by the LFCLK if you have started this with LFXO configuration.&lt;/p&gt;
&lt;p&gt;Have you tried a minimal example, with no other code than configuring/toggling the GPIOs, like the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/gpio_example.html"&gt;blinky peripheral example&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;Are you using nRF5 SDK, or nRF Connect SDK?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>