<?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>Use nrf52 : spi multi instance(use same MISO, MOSI, SCK pin and different SS pin)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63672/use-nrf52-spi-multi-instance-use-same-miso-mosi-sck-pin-and-different-ss-pin</link><description>Hi 
 I want to declare 2 spi instances with only cs pin different. 
 
 The reason for dividing the two is because the modes are different. 
 The one declared above is executed, but the one declared below is blocked by the following function. (nrf_drv_spi_transfer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jul 2020 01:40:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63672/use-nrf52-spi-multi-instance-use-same-miso-mosi-sck-pin-and-different-ss-pin" /><item><title>RE: Use nrf52 : spi multi instance(use same MISO, MOSI, SCK pin and different SS pin)</title><link>https://devzone.nordicsemi.com/thread/260007?ContentTypeID=1</link><pubDate>Wed, 15 Jul 2020 01:40:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb1c3c24-4e9d-4017-9060-62c8a5d98acd</guid><dc:creator>Yonghun Song</dc:creator><description>&lt;p&gt;Thank u~&lt;/p&gt;
&lt;p&gt;it works now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Use nrf52 : spi multi instance(use same MISO, MOSI, SCK pin and different SS pin)</title><link>https://devzone.nordicsemi.com/thread/259837?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2020 08:57:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80423201-b4ed-4dd0-a42b-4f1eb13b51cf</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]The one declared above is executed, but the one declared below is blocked by the following function. (nrf_drv_spi_transfer)&lt;br /&gt;[/quote]
&lt;p&gt;&amp;nbsp;This is because you use the same SPI pins (MOSI,MISO,SCK) for more than one instance. The product spec specifies that only one peripheral can drive a GPIO pin at a time. You should also use other pins for the second instance.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>