<?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>[NRF51822] SPI data loss during BTLE connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/950/nrf51822-spi-data-loss-during-btle-connection</link><description>Hi 
 SPI master is 3rd party MCU. SPI slave is nRF51822.
If MCU sends a bunch of data to nRF51822 via SPI, at the same time, BTLE host like celluar phone try to connect nRF51822, is it possible to lost SPI data during the BTLE connection? If yes, did</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Nov 2013 12:39:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/950/nrf51822-spi-data-loss-during-btle-connection" /><item><title>RE: [NRF51822] SPI data loss during BTLE connection</title><link>https://devzone.nordicsemi.com/thread/4548?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2013 12:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06e29f22-7f21-4d70-b296-7de6fe7d7bab</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jeffery,&lt;/p&gt;
&lt;p&gt;The DMA controller (not the CPU) will handler both radio and SPIS for writing into RAM. By theory, there will be no data loss if the SPI slave speed is 2Mbps.&lt;/p&gt;
&lt;p&gt;To be honest, I haven&amp;#39;t tested SPIS and BLE, and currently don&amp;#39;t have an example to provide. However, in next version of the SDK, v5.0.0, which will be released very soon, we will provide library and example for SPIS.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 9.10.2014&lt;/strong&gt;
&lt;a href="https://devzone.nordicsemi.com/question/17689/spi-slave-with-heavy-interrupt-in-btle/?answer=17712#post-id-17712"&gt;This thread&lt;/a&gt; might have additional information on the subject&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF51822] SPI data loss during BTLE connection</title><link>https://devzone.nordicsemi.com/thread/4547?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2013 03:51:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d07bac5d-1c94-43f8-877a-b9b29ae0c65a</guid><dc:creator>Jeffery</dc:creator><description>&lt;p&gt;Hi Hung,
So, if SPIS is 2Mbps, no SPI data will be lost during BTLE connection? Can you provide SPIS example code of nRF51822 like SDK for evaluation?
We had tried other BTLE IC. Transmit a bunch of data from SPI host to the BTLE IC. Then, the BTLE IC delivered data to celluar phone. We found 2% SPI data will be lost. The reason is BTLE has highest interrupt priority. During the BTLE interrupt, the coming SPI data will be possible to be ignored.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [NRF51822] SPI data loss during BTLE connection</title><link>https://devzone.nordicsemi.com/thread/4546?ContentTypeID=1</link><pubDate>Fri, 22 Nov 2013 18:04:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ca1bdbf-22ca-447c-8303-c9c65b362cec</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerrery,&lt;/p&gt;
&lt;p&gt;Have you experienced any issue with SPI slave and BLE stack ?&lt;/p&gt;
&lt;p&gt;The data rate of SPIS slave is limited at maximum 2Mbps and this will allow no collision between the radio and SPIS on accessing RAM using DMA .&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>