<?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>Can’t remap SPI0 on PCA10040</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89430/can-t-remap-spi0-on-pca10040</link><description>I want to remap SPI0 pins from default (P26, P27, P28) to another ones (P08, P09, P10) on PCA10040 under nRF Connect SDK. But I stuck into a problem: SPI module seems to work fine, because CS pin works as expected, but SCK (P10) and MOSI (P08) not work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 30 Jun 2022 08:19:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89430/can-t-remap-spi0-on-pca10040" /><item><title>RE: Can’t remap SPI0 on PCA10040</title><link>https://devzone.nordicsemi.com/thread/374846?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 08:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc334e88-cb53-407a-82a5-b61a473e4b2d</guid><dc:creator>helsing</dc:creator><description>&lt;p&gt;Hi Piotr,&lt;/p&gt;
[quote user=""]maybe some peripherals like nfc etc are configured by default?[/quote]
&lt;p&gt;Yes. Try adding this line to you prj.conf file:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;CONFIG_NFCT_PINS_AS_GPIOS=y&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;That should make P0.09 and P0.10 available. &lt;/p&gt;
&lt;p&gt;As for pin P0.08, this one is used for UART connection to the interface/debug IC on the DK. If you cut open solder bridge SB25 you should be able to get access to this GPIO. Check out the back of the DK to see a drawing of the solder bridges or the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_drawings_v1.0.html"&gt;hardware drawings of nRF52 DK&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>