<?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>nRF52840 SPI Simultaneous Connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29760/nrf52840-spi-simultaneous-connection</link><description>Hi,
from the nRF52840&amp;#39;s datasheet: Up to 4x SPI masters/3x SPI slaves with EasyDMA .
Is it possible to connect the nRF52840 as a slave with another microcontroller and simultaneously as a master with a sensor using SPI?
If yes, could you please give</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jan 2018 14:11:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29760/nrf52840-spi-simultaneous-connection" /><item><title>RE: nRF52840 SPI Simultaneous Connection</title><link>https://devzone.nordicsemi.com/thread/117995?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 14:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f624830-dafa-4978-bb86-5f97fd8d732e</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Q1) Yes, you can be a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/spis.html?cp=2_0_0_30#concept_z12_hz2_wr"&gt;slave&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/spim.html?cp=2_0_0_29#concept_j35_hv2_wr"&gt;master&lt;/a&gt; at the same time. Just make sure to use &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52840.ps/peripheral_interface.html?cp=2_0_0_13_1#concept_shared_id"&gt;two different instances of the SPI&lt;/a&gt;. For example SPIM0 and SPIS1.&lt;/p&gt;
&lt;p&gt;Q2) You, can use any pins you like. The only recommendation we have is to not place high frequency signals, such as SPI signals, close to the antenna.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>