<?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>nRF52832 SPI &amp;amp; FreeRTOS problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/88077/nrf52832-spi-freertos-problem</link><description>Hi, I am developing nRF52832, ADS1291. 
 I got the data from ADS1291 normally through SPI communication. 
 And I applied RTOS by referring to the nRF5_SDK_17.0.0/examples/peripheral/blinky_freertos. 
 It seemed to work normally, but while receiving data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 May 2022 02:38:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/88077/nrf52832-spi-freertos-problem" /><item><title>RE: nRF52832 SPI &amp; FreeRTOS problem</title><link>https://devzone.nordicsemi.com/thread/369696?ContentTypeID=1</link><pubDate>Fri, 27 May 2022 02:38:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4dd0509-2cce-49d9-9d0b-a51da1c384d2</guid><dc:creator>Minseo</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;Thank you. I solved it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SPI &amp; FreeRTOS problem</title><link>https://devzone.nordicsemi.com/thread/368572?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 11:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6433b04-9ac8-4927-a1d9-71ea48e1011d</guid><dc:creator>Kenneth</dc:creator><description>[quote user=""]It seemed to work normally, but while receiving data from SPI, there was a problem that the data suddenly got cut off or a strange value came out.[/quote]
&lt;p&gt;You need to try to narrow down the problem a bit, for instance try to set the spi buffer as static volatile and possible copy the buffer to a second buffer in case it might be re-used for the next transfer in some way. Maybe connect a logic analyzer trace to check how frequently you are calling spim and how the&amp;nbsp;interval is affected by BLE.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 SPI &amp; FreeRTOS problem</title><link>https://devzone.nordicsemi.com/thread/368542?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 08:48:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffc8ab4f-b4f8-4ac4-907d-ccfcdd2fa115</guid><dc:creator>Minseo</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I just checked.&lt;/p&gt;
&lt;p&gt;It works because I&amp;#39;m turning off the BLE&lt;/p&gt;
&lt;p&gt;What does RTOS have to do with BLE?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>