<?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 Configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/93450/gpio-configuration</link><description>Hi Team, 
 
 We would like to connect external LEDs to the NRF52840DK controller. 
 We could not find any unused GPIO pins to connect. 
 We have referred manual but it showing all 48 GPIO pins are already connected. 
 
 Kindly help us to find unused GPIO</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Nov 2022 17:15:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/93450/gpio-configuration" /><item><title>RE: GPIO Configuration</title><link>https://devzone.nordicsemi.com/thread/393534?ContentTypeID=1</link><pubDate>Tue, 01 Nov 2022 17:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdb325e2-cda2-4357-9bfc-3a6e63962739</guid><dc:creator>Karl Ylvisaker</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;The &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/connector_if.html"&gt;description of the used pins can be seen in the Connector Interface section of the nRF52840 DK documentation&lt;/a&gt;.&lt;br /&gt;You will also need to check the recommended usage for the pin in &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/pin.html"&gt;the nRF52840 SoC Pin Assignment documentation&lt;/a&gt; before you select which of the pins you would like to use for your application.&lt;/p&gt;
[quote user=""]Can I use existing in-built LED GPIO pins for existing in-built SPI GPIO pins?[/quote]
&lt;p&gt;Please elaborate on what you would like to use the LEDs for here.&lt;br /&gt;If you would like the onboard LEDs to blink when a SPI transfer is happening you can connect their pin toggling TASK to the SPI event that you are interested in (such as TX start) through the PPI peripheral, and then they will toggle/set/clear whenever that SPI event is generated. Using PPI will also make the EVENT trigger the TASK directly, without requiring CPU interaction to do so, which both makes the action faster and use less power consuming.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Karl&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>