<?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>Is it possible switch SPI master role to slave role?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1394/is-it-possible-switch-spi-master-role-to-slave-role</link><description>Hi,
I&amp;#39;m using PCA10001 connect to a sensor chip.I would like to set the register values for sensor chip as SPI master role and I need to switch to slave role to read the sensor data from sensor chip. Unfortunately, I couldn&amp;#39;t get any sensor data from</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Mar 2014 11:28:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1394/is-it-possible-switch-spi-master-role-to-slave-role" /><item><title>RE: Is it possible switch SPI master role to slave role?</title><link>https://devzone.nordicsemi.com/thread/6276?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 11:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b70ba501-e827-4840-b897-77cc2b853694</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Great that you found Petter&amp;#39;s answer helpful, but it&amp;#39;s much appreciated if you don&amp;#39;t post thank-you replies, but instead just upvote the answers you like. :-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible switch SPI master role to slave role?</title><link>https://devzone.nordicsemi.com/thread/6275?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2014 02:52:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f03d809a-bb85-4f3f-a09f-cff8bec69f34</guid><dc:creator>sugarchai</dc:creator><description>&lt;p&gt;Thank you:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible switch SPI master role to slave role?</title><link>https://devzone.nordicsemi.com/thread/6274?ContentTypeID=1</link><pubDate>Fri, 24 Jan 2014 15:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ada3e55-1195-4335-a5c3-5099e22ff257</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;On the nRF51822, the SPI Master(SPI), SPI Slave(SPIS) (and TWI) communication are handled through two peripherals IDs, ID 3 and 4, see Table 15 in nRF51822 PS.&lt;/p&gt;
&lt;p&gt;ID 3 is associated with SPI0 and TWI0. ID 4 is associated with SPIS1, SPI1, and TWI1.&lt;/p&gt;
&lt;p&gt;Only one instance of the same ID can be used at the time, which means that it is possible to implement one instance of the SPI Master(SPI0) and one instance of the SPI Slave(SPIS1) together.&lt;/p&gt;
&lt;p&gt;If you, for example, also want to use TWI, you need to disable the peripheral associated with that ID before you configure and use it. Disabling a peripheral will not reset any of the registers that are shared. It is therefore important to configure all relevant registers explicitly to secure that it operates correctly. For more information please see &amp;quot;Shared resources&amp;quot; in Chapter 25, 26, and 27 in the nRF51 Series Reference Manual.&lt;/p&gt;
&lt;p&gt;Also be sure that your device includes a SPI Slave. Devices with the following markings include a SPI Slave:
-QFAA: FA, GC, G0
-CEAA: CA, DA, D0
-QFAB: B0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>