<?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: S32k311 ADC module for MCAL in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188003#M18899</link>
    <description>&lt;P&gt;Hi@&lt;SPAN&gt;dhanabharath&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"My ADC reading seems to be calculated using the internal 2.5 V reference"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Unless there is a problem with your VREFH pins, this is not possible&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ADC reference voltage VREF cannot be modified via software.&lt;/P&gt;
&lt;P&gt;This is related to your current external voltage selections for VREFH and VREFL pins.&lt;/P&gt;
&lt;P&gt;If you are referring to how to modify the external ADC reference voltage in hardware, then you&lt;/P&gt;
&lt;P&gt;need to review your hardware design and modify it.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Oct 2025 06:10:56 GMT</pubDate>
    <dc:creator>Senlent</dc:creator>
    <dc:date>2025-10-17T06:10:56Z</dc:date>
    <item>
      <title>S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2184206#M18892</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/61445"&gt;@nxp&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; i am configuring ADC module for S32k31xevb- q100. i am using Autosar based MCAL layer configuration. in my case i am using software trigger without Interrupt method.&amp;nbsp; it is entering in to this function but my ADc value is not converting&amp;nbsp;&lt;SPAN&gt;Adc_Sar_Ip_StartConversion(PhysicalHwUnitId, ADC_SAR_IP_CONV_CH&amp;nbsp;AIN_NORMAL); what will be reason for this?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Oct 2025 04:39:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2184206#M18892</guid>
      <dc:creator>dhanabharathi</dc:creator>
      <dc:date>2025-10-11T04:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2184736#M18893</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;dhanabharathi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;You didn't add and configurate "Rm" component in your project.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1760348275804.png" style="width: 564px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/360451i16F17F432A18B809/image-dimensions/564x234?v=v2" width="564" height="234" role="button" title="Senlent_0-1760348275804.png" alt="Senlent_0-1760348275804.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Oct 2025 09:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2184736#M18893</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-10-13T09:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2186548#M18894</link>
      <description>&lt;P&gt;hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;ok, Thankyou.&lt;BR /&gt;Another one problem.&lt;BR /&gt;when read data via analog pin. the VREF is always it taking 2.5 v only. I need 3.3v or 5v Vref. where i need to configure this? i can't set the Vref voltage. the configuration setting is inactive. i attached image for your reference&lt;/P&gt;</description>
      <pubDate>Wed, 15 Oct 2025 09:59:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2186548#M18894</guid>
      <dc:creator>dhanabharathi</dc:creator>
      <dc:date>2025-10-15T09:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2187026#M18895</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;dhanabharathi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I'm not sure what you mean. Shouldn't VREF be fixed? I&lt;/P&gt;
&lt;P&gt;sn't it determined during hardware design?&lt;/P&gt;
&lt;P&gt;If I'm misunderstanding your question, please let me know.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 01:52:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2187026#M18895</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-10-16T01:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2187141#M18896</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;I will explain clearly My ADC reading seems to be calculated using the internal 2.5 V reference, but my input uses a 3.3 V reference (potentiometer on 5 V). How do I change the ADC reference from 2.5 V to 5 V so that the calculation V_measured = (ADC_value / (2^n − 1)) × Vref uses 5V?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 05:01:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2187141#M18896</guid>
      <dc:creator>dhanabharathi</dc:creator>
      <dc:date>2025-10-16T05:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2187252#M18897</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;dhanabharathi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;vrefh and vrefl are the high and low reference voltage points of the ADC, corresponding to the vrefh and vrefl pins of the pins&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Senlent_0-1760598697496.png" style="width: 602px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/361103i817B4C0098C00CB5/image-dimensions/602x313?v=v2" width="602" height="313" role="button" title="Senlent_0-1760598697496.png" alt="Senlent_0-1760598697496.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Can you understand my explanation?&lt;/P&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Oct 2025 07:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2187252#M18897</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-10-16T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2187971#M18898</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;No, i didn't get your point.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 04:34:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2187971#M18898</guid>
      <dc:creator>dhanabharathi</dc:creator>
      <dc:date>2025-10-17T04:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188003#M18899</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;dhanabharath&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;"My ADC reading seems to be calculated using the internal 2.5 V reference"&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Unless there is a problem with your VREFH pins, this is not possible&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The ADC reference voltage VREF cannot be modified via software.&lt;/P&gt;
&lt;P&gt;This is related to your current external voltage selections for VREFH and VREFL pins.&lt;/P&gt;
&lt;P&gt;If you are referring to how to modify the external ADC reference voltage in hardware, then you&lt;/P&gt;
&lt;P&gt;need to review your hardware design and modify it.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 06:10:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188003#M18899</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-10-17T06:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188178#M18900</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;ok. i understood.&lt;/P&gt;&lt;P&gt;I verified that VREFH is 5.0 V. However, when I feed 4.0 V into the ADC, the conversion result is off from the expected value for a 5 V reference. Could you help me review potential causes (reference selection, calibration, sampling time, or pin routing)?&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 09:05:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188178#M18900</guid>
      <dc:creator>dhanabharathi</dc:creator>
      <dc:date>2025-10-17T09:05:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188183#M18901</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;dhanabharathi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Share your whole project and i will take time to test it.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 09:09:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188183#M18901</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-10-17T09:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188307#M18902</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; i have attached the project file.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Oct 2025 11:53:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188307#M18902</guid>
      <dc:creator>dhanabharathi</dc:creator>
      <dc:date>2025-10-17T11:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188823#M18903</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;dhanabharathi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I see no problem with your configuration, but some mistake in your code.&lt;/P&gt;
&lt;P&gt;Issues 1.&lt;/P&gt;
&lt;DIV style="background-color: #ffffff; padding: 0px 0px 0px 2px;"&gt;
&lt;DIV style="color: #000000; background-color: #ffffff; font-family: 'Courier New'; font-size: 10pt; white-space: pre;"&gt;
&lt;P style="margin: 0;"&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; ADC_BANDGAP 5980U &lt;/SPAN&gt;&lt;SPAN&gt;/* &lt;/SPAN&gt;&lt;SPAN&gt;Vbandgap&lt;/SPAN&gt;&lt;SPAN&gt; ~ 1.2V on 14 bits resolution, 3.3V VrefH */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background-color: #e0e0e0; margin: 0;"&gt;&lt;SPAN&gt;#else&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background-color: #e0e0e0; margin: 0;"&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; ADC_BANDGAP 3932U &lt;/SPAN&gt;&lt;SPAN&gt;/* &lt;/SPAN&gt;&lt;SPAN&gt;Vbandgap&lt;/SPAN&gt;&lt;SPAN&gt; ~ 1.2V on 14 bits resolution, 5V VrefH */&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="background-color: #e0e0e0; margin: 0;"&gt;&lt;SPAN&gt;#endif&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if your VREF is 5V , then the ADC_BANDGAP is 3932, not 5980.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Issues 2.&lt;/P&gt;
&lt;P&gt;if ((ResultBufferDma[0u] &amp;gt;&amp;gt; 1U != AdcReadGroupResult[0u]) || \&lt;BR /&gt;(ResultBufferDma[1u] &amp;gt;&amp;gt; 1U != AdcReadGroupResult[1u]) || \&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(ResultBufferDma[2u] != RESULT_BUFF_VAL) || \&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;(AdcReadGroupResult[2u] != ADC_RESULT_BUFF_VAL) || \&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;(ADC_TOLERANCE((ResultBufferDma[0u] &amp;gt;&amp;gt; 1U), ADC_BANDGAP)) || \&lt;BR /&gt;(ADC_TOLERANCE((ResultBufferDma[1u] &amp;gt;&amp;gt; 1U), ADC_VREFH)) \&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;You should delete these two lines of code. The original demo only set up two sampling channels, but you are currently using 4 sampling channels. This judgment will cause you to be unable to perform the next sampling.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Oct 2025 02:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2188823#M18903</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-10-20T02:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2190638#M18904</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; I followed your steps , still the same problem persists&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 09:23:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2190638#M18904</guid>
      <dc:creator>dhanabharathi</dc:creator>
      <dc:date>2025-10-22T09:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2191172#M18905</link>
      <description>&lt;P&gt;Hi@&lt;SPAN&gt;dhanabharathi&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The test hardware base on S32K31XEVB, and the result is right on myside.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I attached the project and the test result for your reference.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-10-23_13-35-45.png" style="width: 697px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/362213i7862592F42AA3AED/image-dimensions/697x271?v=v2" width="697" height="271" role="button" title="2025-10-23_13-35-45.png" alt="2025-10-23_13-35-45.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 05:40:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2191172#M18905</guid>
      <dc:creator>Senlent</dc:creator>
      <dc:date>2025-10-23T05:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: S32k311 ADC module for MCAL</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2191192#M18906</link>
      <description>hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/188029"&gt;@Senlent&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I will check my side again and i will let you know</description>
      <pubDate>Thu, 23 Oct 2025 06:22:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/S32k311-ADC-module-for-MCAL/m-p/2191192#M18906</guid>
      <dc:creator>dhanabharathi</dc:creator>
      <dc:date>2025-10-23T06:22:37Z</dc:date>
    </item>
  </channel>
</rss>

