<?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>nordic52840 Some GPIO cannot be controlled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61700/nordic52840-some-gpio-cannot-be-controlled</link><description>Hi： 
 I noticed, P0.18 P0.19 P0.21 P0.22 P0.23 P1.00，recommended as QSPI. 
 
 There is no way to raise the P0.22 pin using this code. 
 
 But my own board must use P0.22 as a normal GPIO. What should I do to control these IO ports? 
 
 sdk version: 15</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 May 2020 06:13:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61700/nordic52840-some-gpio-cannot-be-controlled" /><item><title>RE: nordic52840 Some GPIO cannot be controlled</title><link>https://devzone.nordicsemi.com/thread/251378?ContentTypeID=1</link><pubDate>Mon, 25 May 2020 06:13:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffaa7abe-6e87-4ebf-bd7f-8d40dfa99e06</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;P0.22 should be set as a regular GPIO by default. The fact that it is recommended to be used for QSPI is just a recommendation and nothing else.&lt;/p&gt;
&lt;p&gt;P0.18 however, is by default the reset pin and is the&amp;nbsp;&lt;strong&gt;only&lt;/strong&gt; pin that can be used like this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To configure a pin as output this should be sufficient:&amp;nbsp;&lt;strong&gt;nrf_gpio_cfg_output(pin_number);&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>