<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: K64 ADC Sample and Conversion Time in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-Sample-and-Conversion-Time/m-p/2054343#M67338</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your post and sorry for the delay.&lt;/P&gt;
&lt;P&gt;Is there a timing diagram available anywhere that shows the sampling and conversion phases?&lt;/P&gt;
&lt;P&gt;---&amp;gt;&amp;nbsp;I'm sorry. I can't find such a timing diagram in any of the documents.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, can the total time between samples be expressed as a sum of t_sample and t_conversion?&lt;/P&gt;
&lt;P&gt;---&amp;gt; Actually, that's not the way it works. The total conversion time refers to the overall duration, which already includes the sampling time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the expression for conversion time the total time between samples?&amp;nbsp;If so, where is the sample time reflected in the total conversion time?&lt;/P&gt;
&lt;P&gt;---&amp;gt;&amp;nbsp;Based on the description in the reference manual, I believe that the expression for the conversion time includes the sample time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the RM, the sample time is determined by the ADC configuration. There is a concept of base sample time, which is four ADCK cycles.&lt;/P&gt;
&lt;P&gt;For the first conversion, there is a 2-cycle adder on top of the base sample time of four ADCK cycles. And for high-speed conversions, there is an additional 2-cycle adder for any conversion.&lt;/P&gt;
&lt;P&gt;Please refer to the following two screenshots. After removing the base sample time of 4 ADCK from the sample time in Figure 1,&amp;nbsp;you'll find that the Long Sample Time Adder (LSTAdder) and the High-Speed Conversion Time Adder (HSCAdder) are consistent with those in Figure 2. These two adders are already reflected in the formula for the total conversion time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-28 180127.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326403iD8DB2DD7E0B51CE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-28 180127.png" alt="Screenshot 2025-02-28 180127.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-28 181047.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326404iB3BE20776011844C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-28 181047.png" alt="Screenshot 2025-02-28 181047.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;As for the base sample time, I guess it should be included in the Base conversion time（BCT）. So it's within the parentheses of the formula and needs to be multiplied by AverageNum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SFCAdder from Table 35-3 (5 ADCK cycles + 5 bus clock cycles) is not the same as the Sample time listed in the sample time table (6 or 4 ADCK cycles).&lt;/P&gt;
&lt;P&gt;---&amp;gt;&amp;nbsp;SFCAdder (Single or first continuous time adder) is not the same concept as the sample time. SFCAdder includes the time for the ADC to start up and get ready, and it is only counted once during a continuous conversion process. It is not the sample time. Therefore, it is normal that it is different from the sample time (6 or 4 ADCK cycles) listed in the sample time table.&lt;/P&gt;
&lt;P&gt;Hope it can help you.&amp;nbsp; If you have any further questions or need more information, please let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!&lt;BR /&gt;--------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Mar 2025 04:03:50 GMT</pubDate>
    <dc:creator>Celeste_Liu</dc:creator>
    <dc:date>2025-03-03T04:03:50Z</dc:date>
    <item>
      <title>K64 ADC Sample and Conversion Time</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-Sample-and-Conversion-Time/m-p/2051158#M67314</link>
      <description>&lt;P&gt;I am trying to understand the Sample Time and Conversion Time for the K64 ADC as described in&amp;nbsp;&lt;STRONG&gt;35.4.4.5 Sample time and total conversion time.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Consider a simple example case:&lt;/P&gt;&lt;PRE&gt;CFG1[ADLPC] = 0 (normal power configuration)&lt;BR /&gt;CFG1[ADIV] = 00 (divide ratio is 1, ADCK rate is the Bus Clock rate)&lt;BR /&gt;CFG1[ADLSMP] = 0 (short sample time)&lt;BR /&gt;CFG1[MODE] = 10 (16bit)&lt;BR /&gt;CFG1[ADICLK] = 00 (Bus Clock)&lt;BR /&gt;CFG2[ADHSC] = 0 (normal conversion sequence)&lt;BR /&gt;SC1n[DIFF] = 0 (single-ended)&lt;BR /&gt;SC3[AVGE] = 0 (AverageNum = 1)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;In this case, I expect the&amp;nbsp;&lt;STRONG&gt;sample time&lt;/STRONG&gt; to be 6 ADCK cycles on a first or single conversion, and 4 ADCK cycles on subsequent conversion.&lt;/P&gt;&lt;P&gt;The total&amp;nbsp;&lt;STRONG&gt;conversion time&lt;/STRONG&gt; is given by: SFCAdder + AverageNum*(BCT + LSDAdder +HSCAdder).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;conversion time&lt;/STRONG&gt; = (5 ADCK cycles + 5 bus clock cycles) + 1*(25 ADCK cycles + 0 + 0)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;conversion time =&amp;nbsp;&lt;/STRONG&gt;35/f_BUS&lt;/P&gt;&lt;P&gt;My question is, is the expression for &lt;STRONG&gt;conversion time&lt;/STRONG&gt; the total time between samples? If so,&amp;nbsp;where is the&amp;nbsp;&lt;STRONG&gt;sample time&lt;/STRONG&gt; reflected in the total&amp;nbsp;&lt;STRONG&gt;conversion time?&amp;nbsp;&lt;/STRONG&gt;The SFCAdder from&amp;nbsp;&lt;STRONG&gt;Table 35-3&lt;/STRONG&gt;&amp;nbsp;(5 ADCK cycles + 5 bus clock cycles) is not the same as the&amp;nbsp;&lt;STRONG&gt;Sample time&lt;/STRONG&gt; listed in the sample time table (6 or 4 ADCK cycles):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Sample time" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/325616iB0459653AD738F28/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-02-25 144305.png" alt="Sample time" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Sample time&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Alternatively, can the total time between samples be expressed as a sum of t_sample and t_conversion? Is there a timing diagram available anywhere that shows the sampling and conversion phases?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 23:21:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-Sample-and-Conversion-Time/m-p/2051158#M67314</guid>
      <dc:creator>aberger</dc:creator>
      <dc:date>2025-02-25T23:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: K64 ADC Sample and Conversion Time</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-Sample-and-Conversion-Time/m-p/2054343#M67338</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/113456"&gt;@aberger&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for your post and sorry for the delay.&lt;/P&gt;
&lt;P&gt;Is there a timing diagram available anywhere that shows the sampling and conversion phases?&lt;/P&gt;
&lt;P&gt;---&amp;gt;&amp;nbsp;I'm sorry. I can't find such a timing diagram in any of the documents.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alternatively, can the total time between samples be expressed as a sum of t_sample and t_conversion?&lt;/P&gt;
&lt;P&gt;---&amp;gt; Actually, that's not the way it works. The total conversion time refers to the overall duration, which already includes the sampling time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the expression for conversion time the total time between samples?&amp;nbsp;If so, where is the sample time reflected in the total conversion time?&lt;/P&gt;
&lt;P&gt;---&amp;gt;&amp;nbsp;Based on the description in the reference manual, I believe that the expression for the conversion time includes the sample time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the RM, the sample time is determined by the ADC configuration. There is a concept of base sample time, which is four ADCK cycles.&lt;/P&gt;
&lt;P&gt;For the first conversion, there is a 2-cycle adder on top of the base sample time of four ADCK cycles. And for high-speed conversions, there is an additional 2-cycle adder for any conversion.&lt;/P&gt;
&lt;P&gt;Please refer to the following two screenshots. After removing the base sample time of 4 ADCK from the sample time in Figure 1,&amp;nbsp;you'll find that the Long Sample Time Adder (LSTAdder) and the High-Speed Conversion Time Adder (HSCAdder) are consistent with those in Figure 2. These two adders are already reflected in the formula for the total conversion time.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-28 180127.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326403iD8DB2DD7E0B51CE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-28 180127.png" alt="Screenshot 2025-02-28 180127.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-02-28 181047.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/326404iB3BE20776011844C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-02-28 181047.png" alt="Screenshot 2025-02-28 181047.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;As for the base sample time, I guess it should be included in the Base conversion time（BCT）. So it's within the parentheses of the formula and needs to be multiplied by AverageNum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The SFCAdder from Table 35-3 (5 ADCK cycles + 5 bus clock cycles) is not the same as the Sample time listed in the sample time table (6 or 4 ADCK cycles).&lt;/P&gt;
&lt;P&gt;---&amp;gt;&amp;nbsp;SFCAdder (Single or first continuous time adder) is not the same concept as the sample time. SFCAdder includes the time for the ADC to start up and get ready, and it is only counted once during a continuous conversion process. It is not the sample time. Therefore, it is normal that it is different from the sample time (6 or 4 ADCK cycles) listed in the sample time table.&lt;/P&gt;
&lt;P&gt;Hope it can help you.&amp;nbsp; If you have any further questions or need more information, please let me know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BRs,&lt;/P&gt;
&lt;P&gt;Celeste&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!&lt;BR /&gt;--------------------------------------------------------------------------------------------------------------------------&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 04:03:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K64-ADC-Sample-and-Conversion-Time/m-p/2054343#M67338</guid>
      <dc:creator>Celeste_Liu</dc:creator>
      <dc:date>2025-03-03T04:03:50Z</dc:date>
    </item>
  </channel>
</rss>

