<?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: ADC output conversion in S32K</title>
    <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1719399#M26909</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222250"&gt;@PCS13&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In the project you sent, you use 8bit ADC, now you are calculating the result using 12bit ADC.&lt;/P&gt;
&lt;P&gt;The SW must be configured according to the ADC settings and the actual VREF voltage.&lt;/P&gt;
&lt;P&gt;Please measure the ADC input along with the ADC VREF.&lt;/P&gt;
&lt;P&gt;And make sure the VREFH is not &amp;gt; VDDA + 0.1V.&lt;/P&gt;
&lt;P&gt;Can you share your latest project? Because it seems you have reconfigured it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2023 08:49:10 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2023-09-08T08:49:10Z</dc:date>
    <item>
      <title>ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1712849#M26536</link>
      <description>&lt;P&gt;I have the evaluation board of the NXP #s32k116. I am working on the ADC. Now following a RTM sample code I prepared my code on ADC, sw triggered. Now I used channel 0 that PTA0 for the input channel of voltage. Now the screen shot below shows the output values of ADC. The problem is the values remain the same even if the jumpers are not there in pta0, have 5 V jumper from board, 3.3 V jumper or a ground jumper. What am I doing wrong? I tried changing channels. The picture below shows jumper connected to 3 three different channels&lt;/P&gt;&lt;P&gt;channel 0 - pta0 - 5v&lt;/P&gt;&lt;P&gt;channel 1 - pta1 - 0 v&lt;/P&gt;&lt;P&gt;channel 3 - pta7 - 3.3 v&lt;/P&gt;&lt;P&gt;however output remains the same.&lt;/P&gt;&lt;P&gt;i want the adc to read voltages upto 3.3v.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 06:52:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1712849#M26536</guid>
      <dc:creator>PCS13</dc:creator>
      <dc:date>2023-08-29T06:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1712965#M26549</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222250"&gt;@PCS13&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you share the project so that I can see the configuration?&lt;/P&gt;
&lt;P&gt;What is the content of ADC_0_ChnConfig0?&lt;/P&gt;
&lt;P&gt;Can you read the ADC0_SC1A[ADCH] register after the ADC_DRV_ConfigChan?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 08:17:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1712965#M26549</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-29T08:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1713161#M26563</link>
      <description>how do i share my project?&lt;BR /&gt;ADCH is in RW access mode but bin is blank after ADC_DRV_ConfigChan. i am checking in EmbSys Registers. adc_converter_config_t is in default mode.</description>
      <pubDate>Tue, 29 Aug 2023 10:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1713161#M26563</guid>
      <dc:creator>PCS13</dc:creator>
      <dc:date>2023-08-29T10:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1713280#M26572</link>
      <description>&lt;P&gt;You can attach the project in a .zip file here to this thread.&lt;/P&gt;
&lt;P&gt;Of you can create a ticket and share it there privately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 12:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1713280#M26572</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-29T12:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1713658#M26591</link>
      <description>&lt;P&gt;here i have attached the file&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 03:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1713658#M26591</guid>
      <dc:creator>PCS13</dc:creator>
      <dc:date>2023-08-30T03:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1714067#M26624</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222250"&gt;@PCS13&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for the project.&lt;/P&gt;
&lt;P&gt;I have been testing it without any modifications, and it works correctly.&lt;/P&gt;
&lt;P&gt;Please measure the input voltage at PTA0 and the VREFH reverence voltage.&lt;/P&gt;
&lt;P&gt;You mentioned that you measure 5V input, but the &lt;STRONG&gt;ADC_VREFH&lt;/STRONG&gt; macro is set to 3.3V in the project.&lt;/P&gt;
&lt;P&gt;I would say you get the correct &lt;STRONG&gt;adcRawValue &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;8bit ADC: LSB = (VREFH - VREFL) / 256.&lt;/P&gt;
&lt;P&gt;But the &lt;STRONG&gt;adcValue &lt;/STRONG&gt;is incorrect because of the &lt;STRONG&gt;ADC_VREFH &lt;/STRONG&gt;definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 14:10:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1714067#M26624</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-08-30T14:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1718055#M26829</link>
      <description>&lt;P&gt;hey i did what said. i change the reference high to 5 volts. But its still reading the garbage value whether the jumper in is in or out. i am getting the wrong values in&amp;nbsp;&lt;STRONG&gt;adcRawValue&amp;nbsp;&lt;/STRONG&gt;itself. the readings hower around 1100&amp;nbsp; to 1300 out of 4096. i am suspecting that the board might have some issues. I also checked for channel 3, pta 7. doesn't work&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2023 12:52:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1718055#M26829</guid>
      <dc:creator>PCS13</dc:creator>
      <dc:date>2023-09-06T12:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1719399#M26909</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222250"&gt;@PCS13&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In the project you sent, you use 8bit ADC, now you are calculating the result using 12bit ADC.&lt;/P&gt;
&lt;P&gt;The SW must be configured according to the ADC settings and the actual VREF voltage.&lt;/P&gt;
&lt;P&gt;Please measure the ADC input along with the ADC VREF.&lt;/P&gt;
&lt;P&gt;And make sure the VREFH is not &amp;gt; VDDA + 0.1V.&lt;/P&gt;
&lt;P&gt;Can you share your latest project? Because it seems you have reconfigured it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2023 08:49:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1719399#M26909</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-08T08:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1720792#M26966</link>
      <description />
      <pubDate>Tue, 12 Sep 2023 03:44:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1720792#M26966</guid>
      <dc:creator>PCS13</dc:creator>
      <dc:date>2023-09-12T03:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: ADC output conversion</title>
      <link>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1720964#M26982</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222250"&gt;@PCS13&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I don't see any issues in the project now.&lt;/P&gt;
&lt;P&gt;What about the actual measurement (preferably using an oscilloscope during the sampling time) on the ADC input, VREF and VDDA?&lt;/P&gt;
&lt;P&gt;There is also a chance that the input has a very high source resistance which impacts the accuracy of the ADC conversion.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 08:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-output-conversion/m-p/1720964#M26982</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2023-09-12T08:03:16Z</dc:date>
    </item>
  </channel>
</rss>

