<?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: KV46 ADC accuracy issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV46-ADC-accuracy-issue/m-p/1097541#M57901</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/tckwok@asmpt.com"&gt;tckwok@asmpt.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Explain the application in more detail. It's not that helpful saying what you "want" without explaining the application and what is being measured.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Have you put an Oscilloscope on your power supply as well as VREF_H and VREF_L and the incoming line?&amp;nbsp;&amp;nbsp;I'd be hesitant to depend on a DMM only to indicate that the line is clean/noise free (especially considering that the DMM connections add capacitance/inductance to the circuit which will help filter things).&amp;nbsp; When you put on the 'scope probe, please note the input and line impedance and explain how you are grounding it.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Describe how you have wired your board/ADC (pictures of the schematic and PCB would be helpful).&amp;nbsp; I'd also be interested in your power management and clocking.&amp;nbsp; Your ground plane needs to be explained as does line impedance as you're implying that the sample rate is fairly high.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on what you've written, a 4 count "swing" means that with a 3.3V source&amp;nbsp;there is&amp;nbsp;a 3mV or 0.1% accuracy&amp;nbsp;which is&amp;nbsp;going to be very difficult to achieve, especially in an MCU where lots of things are happening (not just the PWM).&amp;nbsp; Grounding between the MCU and the source of the signal (and oscilloscope) you're measuring is probably going to be the most critical parameter (followed by power supply stability/noise).&amp;nbsp;&amp;nbsp;The PCB layout/wiring instructions in the referenced AppNote are good but probably not sufficient to get the accuracy you want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're getting around 10mV accuracy which is what I would consider very good for any MCU based solution - you will be stretched to improve that to the level that you are looking for.&amp;nbsp; Most likely, you will need to hire a circuit design/PCB layout consultant with the skills to bring the noise down/accuracy up to the levels that you want - look for somebody who has RF layout experience (with embedded antennas) as a starting point.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Jul 2020 15:38:27 GMT</pubDate>
    <dc:creator>myke_predko</dc:creator>
    <dc:date>2020-07-29T15:38:27Z</dc:date>
    <item>
      <title>KV46 ADC accuracy issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV46-ADC-accuracy-issue/m-p/1097540#M57900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are now using Kinetis KV46 series controller and want to have all ADC results with less than &amp;lt;&amp;nbsp;4 counts swingings, given a very stable source.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In our setting, all of the ADC ch are enabled with ADCA &amp;amp; ADCB ch 0,1,2,3 configured as differential and the rest single-ended. Then,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we supplied a 3.0V to ADC VRef_H and a sample 1.2V to one of the differential ch to check how accurate&amp;nbsp;we can do, after making sure the stability of the power source is as fine as 1mV level with a 6.5 digits DMM. Yet we observed the ADC reading is swing at around 8~15 counts. Therefore, we tried to follow a few steps&amp;nbsp;from the article " how to increase the ADC converter accuracy in an application "&amp;nbsp;provided by NXP, like&amp;nbsp;section 4.2 &amp;lt; minimise the ADC errors related to the external environment: ( to name a few moves we did)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. adding differential filter with R = 180ohm , C = 8.2nF under our current 50kHz sampling&lt;/P&gt;&lt;P&gt;2. even shut down the PWM module to avoid cross-talking&lt;/P&gt;&lt;P&gt;3. ensure a stable power and Vref_H source&lt;/P&gt;&lt;P&gt;4. those PCB layout techniques&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and we repeat with test with the EV board :&amp;nbsp;&lt;SPAN class="" style="color: #215bd6; background-color: #f8f8f9; font-size: 14px;"&gt;&lt;A href="https://www.nxp.com/design/development-boards/tower-development-boards/mcu-and-processor-modules/kinetis-modules/kinetis-kv4x-family-tower-system-module:TWR-KV46F150M" style="color: #215bd6; background-color: #f8f8f9; font-size: 14px;"&gt;TWR-KV46F150M&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and got the same 8~15 counts swinging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Q : how can I reduce those counts to &amp;lt; 4?&lt;/P&gt;&lt;P&gt;Is it caused by a wrong set-up? or what else can we do?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s we treat averaging technique as last resort because it wastes our sampling resource&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for reading this and helping us!!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;how to increase ADC accuracy &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN5250.pdf" title="https://www.nxp.com/docs/en/application-note/AN5250.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN5250.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 04:10:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV46-ADC-accuracy-issue/m-p/1097540#M57900</guid>
      <dc:creator>tckwok</dc:creator>
      <dc:date>2020-07-29T04:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: KV46 ADC accuracy issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV46-ADC-accuracy-issue/m-p/1097541#M57901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/tckwok@asmpt.com"&gt;tckwok@asmpt.com&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Explain the application in more detail. It's not that helpful saying what you "want" without explaining the application and what is being measured.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Have you put an Oscilloscope on your power supply as well as VREF_H and VREF_L and the incoming line?&amp;nbsp;&amp;nbsp;I'd be hesitant to depend on a DMM only to indicate that the line is clean/noise free (especially considering that the DMM connections add capacitance/inductance to the circuit which will help filter things).&amp;nbsp; When you put on the 'scope probe, please note the input and line impedance and explain how you are grounding it.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;Describe how you have wired your board/ADC (pictures of the schematic and PCB would be helpful).&amp;nbsp; I'd also be interested in your power management and clocking.&amp;nbsp; Your ground plane needs to be explained as does line impedance as you're implying that the sample rate is fairly high.&amp;nbsp;&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on what you've written, a 4 count "swing" means that with a 3.3V source&amp;nbsp;there is&amp;nbsp;a 3mV or 0.1% accuracy&amp;nbsp;which is&amp;nbsp;going to be very difficult to achieve, especially in an MCU where lots of things are happening (not just the PWM).&amp;nbsp; Grounding between the MCU and the source of the signal (and oscilloscope) you're measuring is probably going to be the most critical parameter (followed by power supply stability/noise).&amp;nbsp;&amp;nbsp;The PCB layout/wiring instructions in the referenced AppNote are good but probably not sufficient to get the accuracy you want.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're getting around 10mV accuracy which is what I would consider very good for any MCU based solution - you will be stretched to improve that to the level that you are looking for.&amp;nbsp; Most likely, you will need to hire a circuit design/PCB layout consultant with the skills to bring the noise down/accuracy up to the levels that you want - look for somebody who has RF layout experience (with embedded antennas) as a starting point.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;myke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2020 15:38:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KV46-ADC-accuracy-issue/m-p/1097541#M57901</guid>
      <dc:creator>myke_predko</dc:creator>
      <dc:date>2020-07-29T15:38:27Z</dc:date>
    </item>
  </channel>
</rss>

