<?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>Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124059/unable-to-control-gpios-pin-in-nrf7002dk</link><description>Hello, For my project I need to control 3 gpios pins. I already found difficult to find gpios that were not already used internally. I decided to use the gpio0 - 8,9,10 they were used by spi4 but since I don&amp;#39;t need it for my project I disabled it Here</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Sep 2025 16:00:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124059/unable-to-control-gpios-pin-in-nrf7002dk" /><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548525?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 16:00:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e7238c3-3760-466c-8054-70c055bc492e</guid><dc:creator>azkpye</dc:creator><description>&lt;p&gt;ive put 3v3 on the VIO ref, this resolved my issue&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548444?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 07:59:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de365511-91eb-4fae-9e57-baefee743101</guid><dc:creator>azkpye</dc:creator><description>&lt;p&gt;im using the gpios to control the driver of the motor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548440?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 07:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddf61c68-fd02-411c-bb1d-c83045965b69</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You should not drive&amp;nbsp;a stepper motor directly from the GPIO anyway. The VBAT voltage must also be isolated from the GPIO. I recommend looking for reference circuits online that show how you can properly use the GPIO of an MCU to control the motor. Maybe there are some in the datasheet for your motor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548437?ContentTypeID=1</link><pubDate>Thu, 11 Sep 2025 07:14:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:feacc5f8-14b1-4b78-967c-8cc05edfe3a7</guid><dc:creator>azkpye</dc:creator><description>&lt;p&gt;actually i also need theses gpios for a step motor so I really need more voltage from the gpios.&lt;br /&gt;Does gpio open drain would help ? can i use the power of vbat somehow ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548397?ContentTypeID=1</link><pubDate>Wed, 10 Sep 2025 16:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20d86818-095f-4b0a-ae50-6145fc608982</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes,&amp;nbsp;but the problem is not the drive strength but that the VDD/GPIO voltage that is only 1.8v on this board. You can check the spec. for you LEDs to find out&amp;nbsp;what is needed to turn them on.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s the LED circuit on 7002 DK for comparison:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1757522513541v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Ref.&amp;nbsp;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ug_nrf7002_dk/page/UG/nrf7002_DK/hw_buttons_leds.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf7002_dk/page/UG/nrf7002_DK/hw_buttons_leds.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548391?ContentTypeID=1</link><pubDate>Wed, 10 Sep 2025 15:25:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61527c70-e12d-46ed-b574-ef891f75e0f7</guid><dc:creator>azkpye</dc:creator><description>&lt;p&gt;indeed the problem was the voltage...&lt;br /&gt;You say &amp;quot;standard drive strength&amp;quot; is there a way to enhance it ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548245?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 13:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c92eb00-00a4-4516-b88d-ded27a6fcc6c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I don&amp;#39;t know which LED you have, but as mentioned earlier, the IO voltage on this board is only 1.8 V. I&amp;#39;m not sure you&amp;#39;ll be able to drive&amp;nbsp;your LEDs with this. Do you have a voltmeter, oscilloscope, or logic analyzer you can use to measure the output instead?&lt;/p&gt;
&lt;p&gt;EDIT: removed mention about gpio drive strength as it&amp;#39;s not relevant here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548241?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 13:19:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64af5aac-64d4-40bc-8653-033f4a2dede7</guid><dc:creator>azkpye</dc:creator><description>&lt;p&gt;I want to control a led so it cant be in input mode ?&lt;br /&gt;I thought reading the toggle would make it work, the gpio is connected to the led and doesnt change so i can see that it has no effect&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548238?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 13:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff1b1598-3bb3-490c-9543-8a68dd3d18ab</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;You still don&amp;#39;t put the GPIOs into INPUT mode.&lt;/p&gt;
&lt;p&gt;Read the PS/datasheet and check the GPIO code - the pins cannot be read back in output mode unless you do some cursed things in code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548233?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 13:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0a84360-05b1-4cc1-8b55-b1407d3860f7</guid><dc:creator>azkpye</dc:creator><description>&lt;p&gt;So i shorted the bridges, now i&amp;#39;m doing this :&amp;nbsp;&lt;br /&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    int ret = gpio_pin_set_dt(&amp;amp;red_led, 0);
    if (ret &amp;lt; 0) {
        LOG_ERR(&amp;quot;Failed to set red LED: %d&amp;quot;, ret);
    }


    gpio_pin_toggle_dt(&amp;amp;red_led);
    LOG_ERR(&amp;quot;First Red led toggle: %d\n&amp;quot;, gpio_pin_get_dt(&amp;amp;red_led));
    k_msleep(1000);
    gpio_pin_toggle_dt(&amp;amp;red_led);
    LOG_ERR(&amp;quot;Second Red led toggle: %d\n&amp;quot;, gpio_pin_get_dt(&amp;amp;red_led));
    k_msleep(1000);&lt;/pre&gt;&lt;br /&gt;And i always get 0, I dont understand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548223?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 12:23:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:299d8f60-69a3-4049-a3bb-84426633a491</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The SBs are on the PCB back side according to the docs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/548222?ContentTypeID=1</link><pubDate>Tue, 09 Sep 2025 12:19:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d675ca56-354f-4fd4-a2f2-380453faf405</guid><dc:creator>azkpye</dc:creator><description>&lt;p&gt;And also for my project i would need 10 gpios, it seems complicated no ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/547535?ContentTypeID=1</link><pubDate>Tue, 02 Sep 2025 16:51:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5451c68a-15f8-4fc3-9678-1f786be24509</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I see now from the original code snippets you posted that you’re trying to read the pin. However, this will only work if you first configure the pin as an input (GPIO_INPUT). You can’t use this API to read the output state.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/547511?ContentTypeID=1</link><pubDate>Tue, 02 Sep 2025 13:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b233cf37-749f-46f2-ae8a-5649cbc2da0d</guid><dc:creator>azkpye</dc:creator><description>&lt;p&gt;Thanks for the answer ! Didnt saw that these ones needed soldering&lt;br /&gt;&lt;br /&gt;I cannot solder it right now so I tried to use others gpios : gpio0.2 and gpio0.3, used by i2c but I disabled it like so the overlay file :&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;i2c1 {
	status = &amp;quot;disabled&amp;quot;;
};
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;But&amp;nbsp;i&amp;#39;m also unable to control them&lt;br /&gt;&lt;br /&gt;I also tried to control the leds 0 and 1 of the board : this works, the leds were blinking as intended but the method to read &amp;quot;gpio_pin_get_dt&amp;quot; was always printing 0, I added delay between the setting of the pin and the reading thinking it would help but no&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/547451?ContentTypeID=1</link><pubDate>Tue, 02 Sep 2025 11:14:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b05cbd1-5d4c-4046-8778-1a88b7bcd605</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;To use these pins you need to short the following solder bridges&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img height="216" src="https://devzone.nordicsemi.com/resized-image/__size/840x432/__key/communityserver-discussions-components-files/4/pastedimage1756811335985v1.png" width="420" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;(&lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf7002_dk/page/UG/nrf7002_DK/solder_bridge.html"&gt;https://docs.nordicsemi.com/bundle/ug_nrf7002_dk/page/UG/nrf7002_DK/solder_bridge.html&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Please also keep in mind that the IO voltage is only 1v8 on this board, which may be too low to drive your LED.&lt;/p&gt;
&lt;p&gt;Similar&amp;nbsp;case that may be relevant:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/123983/spim4-configuration-issues-with-nrf5340dk-board"&gt;SPIM4 Configuration Issues with NRF5340dk board&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/547360?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 14:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c918dda-befb-4715-81b3-6259eff33c61</guid><dc:creator>azkpye</dc:creator><description>&lt;p&gt;But I have a led connected to theses pins so I should see the change directly ?&lt;br /&gt;I tried with other gpios that are set 1 to by default (idk how) and I see the led being lighted up but i also cant control them&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to control GPIOs pin in nrf7002DK</title><link>https://devzone.nordicsemi.com/thread/547359?ContentTypeID=1</link><pubDate>Mon, 01 Sep 2025 14:28:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:126ff419-5514-4551-8b4f-aa1f921270ad</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Measure pin voltage with a multimeter.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The bit that allows pin state to be read back is usually not set when pin mode is &amp;quot;output&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>