<?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>freeRTOS - Reduce BLE thread blocking time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25174/freertos---reduce-ble-thread-blocking-time</link><description>Hi, 
 I&amp;#39;m currently running a BLE thread which is sample the SAADC at 100hz. I&amp;#39;m also sending out notifications with the ADC values at 100Hz. 
 On a separate thread I&amp;#39;m running a sensor state machine, polling an accelerometer also at 100hz. 
 I&amp;#39;m finding</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Sep 2017 09:39:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25174/freertos---reduce-ble-thread-blocking-time" /><item><title>RE: freeRTOS - Reduce BLE thread blocking time</title><link>https://devzone.nordicsemi.com/thread/99180?ContentTypeID=1</link><pubDate>Fri, 29 Sep 2017 09:39:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e0fa4f2-c760-4e7b-ad05-f42bfa8dd59c</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I do not think BLE thread should take upto 50ms , but the softdevice could take if you doing some flash activity. Based on the description you gave it is hard to say, what is blocking your sensor thread. Maybe more code or adding your project here might help. 50ms is very large blocking time if there is no flash activity. Maybe you can use SEgger SystemView to get more data which task is blocking what.
&lt;a href="https://www.segger.com/products/development-tools/systemview/"&gt;www.segger.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;some helpful link
&lt;a href="https://mcuoneclipse.com/2015/11/16/segger-systemview-realtime-analysis-and-visualization-for-freertos/"&gt;mcuoneclipse.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>