<?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>nRF52 SAADC Sampling Rate w/ ESB</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15652/nrf52-saadc-sampling-rate-w-esb</link><description>Hello, 
 I am currently trying to transmit around 800kbps of data using the Nordic ESB protocol. I am also attempting to sample 2 inputs using the SAADC at around 32 khz rate. My current settings for the SAADC are as follows: 
 ret_code_t err_code;</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Aug 2016 11:23:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15652/nrf52-saadc-sampling-rate-w-esb" /><item><title>RE: nRF52 SAADC Sampling Rate w/ ESB</title><link>https://devzone.nordicsemi.com/thread/59763?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 11:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e296091-5b3b-40a0-98d1-438942f6ca25</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I think it is matter of trial and error to find out if the nRF52 can handle this high ESB transmit rate and this high sample rate. I think this is a matter of how much the nRF52 M4 CPU can process. The SAADC itself does not however put any strain on the CPU, as it can sample autonomously and transfer samples directly to RAM via EasyDMA, but at some point you would need the CPU to process the samples in RAM, transfer them via SPI, UART, BLE or something else, and that requires CPU time. I suspect anyway that if transmitting 800kbps with ESB works and you receive your data from serial interface, UART, SPI etc, then processing data from SAADC will not be more CPU demanding than processing data from any serial interface. The SAADC can handle up to 200k samples per second so it will not be a bottleneck.&lt;/p&gt;
&lt;p&gt;For your oversampling and calibration questions, I think the &lt;a href="https://github.com/NordicSemiconductor/nRF52-ADC-examples"&gt;saadc_low_power example on Github&lt;/a&gt; has some documentation on this. Also, there are a lot of in-code documentation that could help understand the rules of oversampling, scan mode and calibration.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>