<?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>ble and spi  in nrf52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23120/ble-and-spi-in-nrf52</link><description>hello , I am working spi with softdevice(i.e., bluetooth). here spi master is nrf52 and spi slave is ad9837. the spi interface code works fine without soft device(i.e.,ble) but with softdevice and I am integrate that code to &amp;quot;ble_app_uart&amp;quot; example code</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jul 2022 08:13:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23120/ble-and-spi-in-nrf52" /><item><title>RE: ble and spi  in nrf52</title><link>https://devzone.nordicsemi.com/thread/376546?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2022 08:13:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5eaa6b62-0f34-4e5b-b23a-92882d85141d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Please post a new ticket where you describe your problem in details and include your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble and spi  in nrf52</title><link>https://devzone.nordicsemi.com/thread/376188?ContentTypeID=1</link><pubDate>Fri, 08 Jul 2022 11:38:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07e91ae8-fab9-4753-bdf3-5ad8c76dffb7</guid><dc:creator>urnordic</dc:creator><description>&lt;p&gt;Hi ,&lt;br /&gt;I&amp;#39;m facing the same problem:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;spi without softdevice works&lt;/li&gt;
&lt;li&gt;bel_app_uart + spi is not working&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;#39;m calling &lt;strong&gt;nrf_drv_spi_transfer&lt;/strong&gt; and waiting till&amp;nbsp; &lt;strong&gt; &amp;quot;NRF_ERROR_BUSY&amp;quot;&lt;/strong&gt; is gone.&amp;nbsp;&lt;br /&gt;But it stays busy forever.&lt;br /&gt;Were you able to solve your problems?&lt;/p&gt;
&lt;p&gt;Best&lt;/p&gt;
&lt;p&gt;Felix&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ble and spi  in nrf52</title><link>https://devzone.nordicsemi.com/thread/90953?ContentTypeID=1</link><pubDate>Wed, 28 Jun 2017 19:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:093c7e63-ec95-4cfb-95c7-a87908d94fc2</guid><dc:creator>Tien Tran</dc:creator><description>&lt;p&gt;I&amp;#39;m assuming you&amp;#39;re calling nrf_drv_spi_transfer() SIX times. If that&amp;#39;s the case, you&amp;#39;re calling &amp;quot;nrf_drv_spi_transfer&amp;quot; too fast. You don&amp;#39;t let the previous transfer finish before you start another.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what you mean by &amp;quot;6 types of data&amp;quot;, but you can just put all of your data in a larger tx_buffer, and then pass its pointer to the nrf_drv_spi_transfer(). That way you would only need to use nrf_drv_spi_transfer() ONE time.&lt;/p&gt;
&lt;p&gt;You could also write your nrf_drv_spi_transfer() functions in the spi handler(). The handler will run whenever a transfer is complete, so by having your functions in there, you avoid any transfer() overlap.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>