<?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>nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121271/nrf5340-adc-resolution-vs-conversion-time</link><description>Hi all, 
 do different settings of SAADC RESOLUTION register affect Conversion Time t CONV ? I cannot find any dependency - the only value given for t CONV is 2 &amp;#181;s typ (7.29.12.1 SAADC Electrical Specification in PS v1.6). 
 If t CONV is independent of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 08 Jul 2025 08:44:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121271/nrf5340-adc-resolution-vs-conversion-time" /><item><title>RE: nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/thread/541744?ContentTypeID=1</link><pubDate>Tue, 08 Jul 2025 08:44:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cc800bf-de8b-4c0f-b800-3ae97adb5fcb</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Happy to hear. Thank you for the update. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/thread/541658?ContentTypeID=1</link><pubDate>Mon, 07 Jul 2025 14:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:575cc24e-b278-47c9-b733-72cf6619be35</guid><dc:creator>Wolfgang R</dc:creator><description>&lt;p&gt;No more answer needed:&lt;br /&gt;We have just tested it on actual HW and the ADC is indead running at exactly 200 kHz with 14 bit resolution and 8 times oversampling, delivering the expected results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/thread/541366?ContentTypeID=1</link><pubDate>Thu, 03 Jul 2025 15:44:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef7d5af0-be4c-4ea4-9c5d-7be5537de4e9</guid><dc:creator>Wolfgang R</dc:creator><description>&lt;p&gt;Ok, thanks.&lt;/p&gt;
&lt;p&gt;So IIUC the ADC runs on&amp;nbsp;&lt;span&gt;PCLK32M which is synchronous to the rest of the system.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;However: the original &lt;strong&gt;question&lt;/strong&gt; remains:&lt;br /&gt;How long in terms of&amp;nbsp;PCLK32M&amp;nbsp;periods is&amp;nbsp;tCONV? Is it EXACTLY 2 &amp;micro;s = 64 periods, or does this vary with&amp;nbsp;SAADC RESOLUTION?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/thread/539396?ContentTypeID=1</link><pubDate>Mon, 16 Jun 2025 13:23:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:959eb21e-8531-41dc-a56a-2cedb8b1d106</guid><dc:creator>Priyanka</dc:creator><description>[quote user="Wolfgang R"]&lt;p&gt;&lt;strong&gt;Q2&lt;/strong&gt;: Is the ADC clock stable relative to PCLK16M, or does it vary, e.g. over temperature?&lt;/p&gt;
&lt;p&gt;Product spec S v1.6 says in 7.29.13 Performance factors:&amp;nbsp;&lt;br /&gt;&amp;quot;... startup times of regulators and references will contribute to variability.&amp;quot;&lt;br /&gt;There doesn&amp;#39;t seem to be any option to enable ADC hardware other than START, so it seems the ADC manages startup and shutdown of regulators and references automatically.&lt;/p&gt;[/quote]
&lt;p&gt;Clock stability shouldn’t be a big concern here if HFXO is present. Then the accuracy of ADC clock is mostly dependent on HFXO accuracy, which is roughly +/-60 ppm over ETC.HFXO is present. Then the accuracy of ADC clock is mostly dependent on HFXO accuracy, which is roughly +/-60 ppm over ETC.&lt;br /&gt;To achieve better ADC performance, TIMER module should be used. The internal TIMER runs on clock source PCLK16M and PCLK1M.&lt;/p&gt;
[quote user="Wolfgang R"]Under which conditions do regulators and references start or shut down and restart so that their startup times come to effect?[/quote]
&lt;p&gt;To start an ADC, first ENABLE = 1, ADC gives access to the analog input pins. Then the ADC resources are started by triggering the START task. To start sampling, if you picked internal TIMER, it is sufficient to trigger SAMPLE task only once in order to start the SAADC and triggering the STOP task will stop sampling. ENABLE = 0 if one wants to disable ADC.&lt;/p&gt;
&lt;p&gt;Also please note the following:&lt;/p&gt;
&lt;p&gt;Mentioned jitter is from the clock source (PCLK32M), clock path through digital domain etc. It is hard to give a specific number. Please note that the startup only happens once before the ADC sampling is triggered. It is purely digital controlled. Jitter should not be an issue for the startup time of SAADC, but jitter can affect the accuracy when doing continuous mode sampling and a time series analysis of the results. So again, please use the TIMER module, HFXO clock source, and Constant Latency mode to achieve the best performance.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/thread/537996?ContentTypeID=1</link><pubDate>Wed, 04 Jun 2025 09:03:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fff19c60-0920-41a9-87e5-f1d55d0b78a9</guid><dc:creator>Priyanka</dc:creator><description>[quote user="Wolfgang R"]&lt;p&gt;&lt;strong&gt;Q1&lt;/strong&gt;: What clock source does the ADC run on? It seems to be a 16 MHz clock (assumption based on SAADC.SAMPLERATE.CC)&amp;nbsp;- is it PCLK16M?&lt;/p&gt;
&lt;p&gt;Out plan is to let the ADC run in continuous mode triggered by internal timer with SAMPLERATE.CC=80 (5 µs), CH[n].CONFIG.TACQ=0 (3µs) plus 2µs tCONV resulting in&amp;nbsp;200 kHz sample rate, then Oversample 8x to&amp;nbsp;get averaged results at 25 kHz rate. Not using Scan Mode.&lt;/p&gt;[/quote]
&lt;p&gt;ADC itself runs on PCLK32M. Sampling freq source clock can be from 32.768 kHz RTC or more accurate internal 16MHz TIMER. &lt;br /&gt;Yes, SAMPLERATE.CC=80 sets sample rate at 200 kHz. With oversampling 8x, the signal freq can be up to 25 kHz.&lt;/p&gt;
[quote user="Wolfgang R"]&lt;strong&gt;Q3&lt;/strong&gt;: Under which conditions do regulators and references start or shut down and restart so that their startup times come to effect?[/quote]
&lt;p&gt;After configuring RESULT.PTR and RESULT.MAXCNT, the ADC resources are started by triggering the START task. To start sampling, if you picked internal TIMER, it is sufficient to trigger SAMPLE task only once in order to start the SAADC and triggering the STOP task will stop sampling.&lt;/p&gt;
[quote user="Wolfgang R"]&lt;strong&gt;Q4&lt;/strong&gt;: How long are these times?[/quote]
&lt;p&gt;As soon as the START task is triggered, startup times of regulators and references timings should come into effect.&lt;/p&gt;
&lt;p&gt;I will get back to you regarding the temperature effect.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/thread/537162?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 11:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb7912b5-562d-44a3-a006-46862fdf8287</guid><dc:creator>Wolfgang R</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/thread/537145?ContentTypeID=1</link><pubDate>Tue, 27 May 2025 11:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b74d828f-a9b7-4799-8b29-e132def75585</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Apologies for the delay. I am checking for further data internally form the team and will keep you updated.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Priyanka&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/thread/534934?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 14:38:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1ff5a2a-d648-4f3e-80a1-7abfdece0de7</guid><dc:creator>Wolfgang R</dc:creator><description>&lt;p&gt;Ok, sounds like we could get 200kHz even at 14 bit.&lt;/p&gt;
&lt;p&gt;However, we&amp;#39;re still a bit concerned about terms like &amp;quot;not much effect&amp;quot; or &amp;quot;typically around 2 &amp;micro;s&amp;quot;. This sounds a little vague.&lt;br /&gt;Is there any documentation about&amp;nbsp;EXACT ADC timing?&lt;br /&gt;&lt;strong&gt;Q1&lt;/strong&gt;: What clock source does the ADC run on? It seems to be a 16 MHz clock (assumption based on SAADC.SAMPLERATE.CC)&amp;nbsp;- is it PCLK16M?&lt;/p&gt;
&lt;p&gt;Out plan is to let the ADC run in continuous mode triggered by internal timer with SAMPLERATE.CC=80 (5 &amp;micro;s), CH[n].CONFIG.TACQ=0 (3&amp;micro;s) plus 2&amp;micro;s tCONV resulting in&amp;nbsp;200 kHz sample rate, then Oversample 8x to&amp;nbsp;get averaged results at 25 kHz rate. Not using Scan Mode.&lt;/p&gt;
&lt;p&gt;The actual rate need not be 25 kHz, but it must be stable (for signal processing).&lt;br /&gt;&lt;strong&gt;Q2&lt;/strong&gt;: Is the ADC clock stable relative to PCLK16M, or does it vary, e.g. over temperature?&lt;/p&gt;
&lt;p&gt;Product spec S v1.6 says in 7.29.13 Performance factors:&amp;nbsp;&lt;br /&gt;&amp;quot;... startup times of regulators and references will contribute to variability.&amp;quot;&lt;br /&gt;There doesn&amp;#39;t seem to be any option to enable ADC hardware other than START, so it seems the ADC manages startup and shutdown of regulators and references automatically.&lt;br /&gt;&lt;strong&gt;Q3&lt;/strong&gt;: Under which conditions do regulators and references start or shut down and restart so that their startup times come to effect?&lt;br /&gt;&lt;strong&gt;Q4&lt;/strong&gt;: How long are these times?&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 ADC resolution vs conversion time</title><link>https://devzone.nordicsemi.com/thread/534809?ContentTypeID=1</link><pubDate>Mon, 12 May 2025 07:42:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86a3b57d-b368-4da9-b71b-065fcb948d31</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;No, for the 52/53 series, the&amp;nbsp;settings of SAADC RESOLUTION register does&amp;nbsp;not have much affect on the conversion time tCONV ( typically it&amp;#39;s around 2us). So&amp;nbsp;your benefit would be the reduced data size and processing requirements, not increased sampling rate or lower latency.&lt;/p&gt;
&lt;p&gt;Though for the 54 series, this is different and the tCONV&amp;nbsp;is lesser.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>