<?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>Changing pin configuration of Net Core</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106276/changing-pin-configuration-of-net-core</link><description>I have an application where I need to use GPIO 1.1 as an SPI pin on the APP core and also use BLE. I ahve configured my project to include BLE however this causes the NET core to take over pin 1.1 for UART0. I have tried to add an overlay file into my</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Dec 2023 14:38:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106276/changing-pin-configuration-of-net-core" /><item><title>RE: Changing pin configuration of Net Core</title><link>https://devzone.nordicsemi.com/thread/458765?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 14:38:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8023ab97-2b34-455c-9965-a4b0988259df</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;It&amp;#39;s the device-tree&amp;nbsp;nrf-gpio-forwarder node that is used to set which pins will be forwarded to the network core.&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/build/dts/api/bindings/gpio/nordic,nrf-gpio-forwarder.html"&gt;https://docs.zephyrproject.org/latest/build/dts/api/bindings/gpio/nordic,nrf-gpio-forwarder.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s used for the nRF5340DK here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.4.99-ncs1/boards/arm/nrf5340dk_nrf5340/nrf5340_cpuapp_common.dtsi#L113"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.4.99-ncs1/boards/arm/nrf5340dk_nrf5340/nrf5340_cpuapp_common.dtsi#L113&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By default, all pins are assigned to the application core. The app-core controls the allocation of the pins.&lt;/span&gt;&lt;/p&gt;
[quote user=""]Where do i need to put the overlay file? Root directory of project? In a child image folder?[/quote]
&lt;p&gt;Put it your_app/boards/ folder&lt;/p&gt;
&lt;p&gt;Name the file&amp;nbsp;&lt;span&gt;nrf5340dk_nrf5340_cpuapp.overlay , and the content of the file like shown below:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;gpio_fwd {
	status = &amp;quot;disabled&amp;quot;;
};&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This will disable the&amp;nbsp;pin forwarding to the network core.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>