<?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>Effects of CPU blocking due to BLE radio on ADC sampling frequency and Workaround</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87293/effects-of-cpu-blocking-due-to-ble-radio-on-adc-sampling-frequency-and-workaround</link><description>Hi Everyone, 
 I have seen some posts regarding this topic on the forum but would just like to clarify a few things. 
 I am currently using an application timer to sample data from 4 channels @ 256 Hz. ( oversample = 4x, burst enabled on all channels</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Apr 2022 13:23:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87293/effects-of-cpu-blocking-due-to-ble-radio-on-adc-sampling-frequency-and-workaround" /><item><title>RE: Effects of CPU blocking due to BLE radio on ADC sampling frequency and Workaround</title><link>https://devzone.nordicsemi.com/thread/365603?ContentTypeID=1</link><pubDate>Fri, 29 Apr 2022 13:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a49c47ee-3849-4fc5-8745-a4e5109df902</guid><dc:creator>Jared</dc:creator><description>[quote user="bryanhsieh"]&lt;p&gt;To achieve low power with scan+burst+oversample, it seems like resetting the ADC is the only way.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;Are you thinking about cases where the EasyDMA is still running after disabling the ADC?&amp;nbsp;&lt;/p&gt;
[quote user=""]From the table taken from the documentation on BLE radio blocking time during advertisement shown below, it seems the maximum blocking time is 128us.[/quote]
&lt;p&gt;The maximum blocking time for one advertising event would be the marked formula with the max parameters:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1651238441877v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want a window where it can guarantee that you wont be interrupted then I would suggest using &lt;a href="https://infocenter.nordicsemi.com/topic/sds_s132/SDS/s1xx/multilink_scheduling/timeslot_api_timing.html?cp=4_7_3_0_14_8"&gt;Radio Timeslots&lt;/a&gt;.&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><item><title>RE: Effects of CPU blocking due to BLE radio on ADC sampling frequency and Workaround</title><link>https://devzone.nordicsemi.com/thread/365018?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 16:46:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a99218d-1bfa-4875-8f8a-513a0e470d15</guid><dc:creator>bryanhsieh</dc:creator><description>&lt;p&gt;Thanks Jared, I had a look at the example, it doesn&amp;#39;t fully cover what I what to do or answer all of my questions.&lt;/p&gt;
&lt;p&gt;To achieve low power with scan+burst+oversample, it seems like resetting the ADC is the only way.&lt;/p&gt;
&lt;p&gt;I am not too sure if I can do this with the ADC driver and hence the code shown above directly set/control the ADC registers.&lt;/p&gt;
&lt;p&gt;Also I wanted to check if the radio blocking time would adversely affect adc when sampled @256Hz.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Effects of CPU blocking due to BLE radio on ADC sampling frequency and Workaround</title><link>https://devzone.nordicsemi.com/thread/364960?ContentTypeID=1</link><pubDate>Tue, 26 Apr 2022 12:48:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ca174ca-50e9-45ac-9dab-8950d6a85c83</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Can you take a look at our &lt;a href="https://github.com/NordicPlayground/nRF52-ADC-examples/tree/master/ble_app_uart__saadc_timer_driven__scan_mode"&gt;ble_app_uart__saadc_timer_driven__scan_mode example&lt;/a&gt;?&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>