<?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: KV31 ADC Sample Rate with Hardware Averaging in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV31-ADC-Sample-Rate-with-Hardware-Averaging/m-p/644658#M39109</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexey/Jorge,&lt;/P&gt;&lt;P&gt;Thanks for the response. &amp;nbsp;I was incorrectly assuming the PIT initiated each sample input to the hardware average function.&lt;/P&gt;&lt;P&gt;Shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 23 Oct 2016 02:28:47 GMT</pubDate>
    <dc:creator>ohiogt</dc:creator>
    <dc:date>2016-10-23T02:28:47Z</dc:date>
    <item>
      <title>KV31 ADC Sample Rate with Hardware Averaging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV31-ADC-Sample-Rate-with-Hardware-Averaging/m-p/644655#M39106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the PIT to hardware trigger the ADC module.&amp;nbsp; I was able to successfully capture a 1 kHz test signal at a 100 kSPS rate.&amp;nbsp; I then implemented hardware averaging.&amp;nbsp; I expected the sample rate to drop&amp;nbsp;to the base sample rate divided by the number of averages (i.e. 100 kSPS / 4 avg. = 25 kSPS).&amp;nbsp; Instead it dropped by a factor of 3 (33.33 kSPS).&amp;nbsp; I found the other settings resulted in sample rates that were (3/4 * number of avg's).&amp;nbsp; So an average of 8 resulted in a sample rate reduction of 6.&amp;nbsp; Has anyone else confirmed this?&amp;nbsp; Is the intended behavior?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;No Averaging - 100 kSPS Assumed Sample Rate, 1 kHz Test Signal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="time no avg.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4161i56C5BB1E536C4D97/image-size/large?v=v2&amp;amp;px=999" role="button" title="time no avg.jpg" alt="time no avg.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="freq no avg.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4200iCAF381810C27A378/image-size/large?v=v2&amp;amp;px=999" role="button" title="freq no avg.jpg" alt="freq no avg.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Averaging of 4&amp;nbsp;-&amp;nbsp;25 kSPS Assumed Sample Rate, 1 kHz Test Signal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="time 4 avg.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4236i6A2A4BA5F3B14D9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="time 4 avg.jpg" alt="time 4 avg.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="freq 4 avg.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4275i0F8F95BAB2D34978/image-size/large?v=v2&amp;amp;px=999" role="button" title="freq 4 avg.jpg" alt="freq 4 avg.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Averaging of 4&amp;nbsp;-&amp;nbsp;33.33 kSPS Assumed Sample Rate, 1 kHz Test Signal&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="time 4 avg 33.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4333i131958AA111DCD99/image-size/large?v=v2&amp;amp;px=999" role="button" title="time 4 avg 33.jpg" alt="time 4 avg 33.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="freq 4 avg 33.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4366i9501FDEA400A3588/image-size/large?v=v2&amp;amp;px=999" role="button" title="freq 4 avg 33.jpg" alt="freq 4 avg 33.jpg" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 19:51:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV31-ADC-Sample-Rate-with-Hardware-Averaging/m-p/644655#M39106</guid>
      <dc:creator>ohiogt</dc:creator>
      <dc:date>2016-10-17T19:51:48Z</dc:date>
    </item>
    <item>
      <title>Re: KV31 ADC Sample Rate with Hardware Averaging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV31-ADC-Sample-Rate-with-Hardware-Averaging/m-p/644656#M39107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shawn Mason&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry for the late reply. It is difficult to us determinate the problem here if we don't have knowledge of how you setup the ADC conversions. How are you setting your sample time? and how is your Base conversion time? is it possible that you share your complete project or the part that setup your ADC conversion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recommend you to check section &lt;STRONG&gt;&lt;EM&gt;31.4.3.5 Sample time and total conversion time &lt;/EM&gt;&lt;/STRONG&gt;in the reference manual. Here you could find:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_7.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5196iF36FCE72BF2093F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_7.png" alt="pastedImage_7.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, ConversionTime could be affected by time added due to long sample or High-speed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this information help you, please don't hesitate to tell me if you have more question of this.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Jorge Alcala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 21:56:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV31-ADC-Sample-Rate-with-Hardware-Averaging/m-p/644656#M39107</guid>
      <dc:creator>jorge_a_vazquez</dc:creator>
      <dc:date>2016-10-21T21:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: KV31 ADC Sample Rate with Hardware Averaging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV31-ADC-Sample-Rate-with-Hardware-Averaging/m-p/644657#M39108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi!&lt;/P&gt;&lt;P&gt;When you are using hardware avereging your PIT just starts a burst of a conversion. Each burst consist of number of hardware averege. Inside each of burs acting rules of continios conversion.&lt;/P&gt;&lt;P&gt;&amp;nbsp;The time of such a burst depends on your ADC clock speed, sample time settings and ADC resolution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2016 22:26:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV31-ADC-Sample-Rate-with-Hardware-Averaging/m-p/644657#M39108</guid>
      <dc:creator>alexeyusoltsev</dc:creator>
      <dc:date>2016-10-21T22:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: KV31 ADC Sample Rate with Hardware Averaging</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV31-ADC-Sample-Rate-with-Hardware-Averaging/m-p/644658#M39109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexey/Jorge,&lt;/P&gt;&lt;P&gt;Thanks for the response. &amp;nbsp;I was incorrectly assuming the PIT initiated each sample input to the hardware average function.&lt;/P&gt;&lt;P&gt;Shawn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Oct 2016 02:28:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV31-ADC-Sample-Rate-with-Hardware-Averaging/m-p/644658#M39109</guid>
      <dc:creator>ohiogt</dc:creator>
      <dc:date>2016-10-23T02:28:47Z</dc:date>
    </item>
  </channel>
</rss>

