<?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>Model-Based Design Toolbox (MBDT)のトピックRe: S32K344 - What does the Adc_Calibrate function in the ADC block do?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-What-does-the-Adc-Calibrate-function-in-the-ADC-block-do/m-p/1841334#M8953</link>
    <description>&lt;P&gt;I am also facing the same problem, does anyone have any solution for it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2024 13:57:11 GMT</pubDate>
    <dc:creator>AmolParikh</dc:creator>
    <dc:date>2024-04-05T13:57:11Z</dc:date>
    <item>
      <title>S32K344 - What does the Adc_Calibrate function in the ADC block do?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-What-does-the-Adc-Calibrate-function-in-the-ADC-block-do/m-p/1838487#M8951</link>
      <description>&lt;P&gt;I am developing a model on Simulink with MBDT 1.3. In the ADC block, there is one function called Adc_Calibrate. What does this function do?&lt;BR /&gt;&lt;BR /&gt;I put it in an enabled subsystem and this is the output - raw data&amp;nbsp;from one of the ADC blocks on the same AdcHwUnit as the one selected with Adc_Calibrate:&lt;BR /&gt;&lt;BR /&gt;1 - When the subsystem is enabled, the raw values look like this on FreeMASTER:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rishikesh_c_0-1711960537857.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/271307i0986F7B6F4C0F709/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rishikesh_c_0-1711960537857.png" alt="rishikesh_c_0-1711960537857.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;rishikesh_c_0-1711960537857.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;And when it is not enabled, it looks like this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rishikesh_c_1-1711963406181.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/271317iBA490EAAC162B3AD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rishikesh_c_1-1711963406181.png" alt="rishikesh_c_1-1711963406181.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;rishikesh_c_1-1711963406181.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It is a similar graph but the difference is in the maximum values it reaches. When the subsystem is not enabled, the maximum value it reaches is about 150 and when it is enabled it reaches around 1400.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What is the reason for this and what exactly is the purpose of the Adc_Calibrate function?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 09:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-What-does-the-Adc-Calibrate-function-in-the-ADC-block-do/m-p/1838487#M8951</guid>
      <dc:creator>rishikesh_c</dc:creator>
      <dc:date>2024-04-01T09:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 - What does the Adc_Calibrate function in the ADC block do?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-What-does-the-Adc-Calibrate-function-in-the-ADC-block-do/m-p/1841334#M8953</link>
      <description>&lt;P&gt;I am also facing the same problem, does anyone have any solution for it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 13:57:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-What-does-the-Adc-Calibrate-function-in-the-ADC-block-do/m-p/1841334#M8953</guid>
      <dc:creator>AmolParikh</dc:creator>
      <dc:date>2024-04-05T13:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 - What does the Adc_Calibrate function in the ADC block do?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-What-does-the-Adc-Calibrate-function-in-the-ADC-block-do/m-p/1854955#M9017</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Rishi Chapekar and Amol Parikh,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Adc_Calibrate function inside the ADC blocks implements the ADC Calibration activity, that can be added in the Initialize Subsystem:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1714052953497.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275883i558A3D5A606EACE0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1714052953497.png" alt="stefanvlad_0-1714052953497.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;stefanvlad_0-1714052953497.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The Adc_Calibrate function will help the ADC peripheral to minimize the reading errors and get closer to the Ideal response&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefanvlad_0-1714062940864.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/275930i188496F4AF8AA882/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefanvlad_0-1714062940864.png" alt="stefanvlad_0-1714062940864.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;stefanvlad_0-1714062940864.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Figure 3. Effect of calibration error on ADC response&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An in-depth analysis of the recommended ADC calibration can be found here:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/16-bit-SAR-ADC-calibration/ta-p/1102292" target="_blank"&gt;16-bit SAR ADC calibration - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;It is recommended to use the ADC Calibration block only in the Initialization part of the model, otherwise running it in a repeated triggered subsystem will result in the values getting filtered as your results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best practices to increase the ADC accuracy can be found also in&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12217.pdf" target="_blank"&gt;AN12217: S32K1xx ADC guidelines, specs, and configuration – Application Note (nxp.com).&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Stefan V.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2024 16:55:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/S32K344-What-does-the-Adc-Calibrate-function-in-the-ADC-block-do/m-p/1854955#M9017</guid>
      <dc:creator>stefanvlad</dc:creator>
      <dc:date>2024-04-25T16:55:19Z</dc:date>
    </item>
  </channel>
</rss>

