<?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>S32K中的主题 Re: ADC channel result error</title>
    <link>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1583914#M20061</link>
    <description>&lt;P&gt;I am suspecting my sample time and PDB timer and delay value. In my project I kept constant sampling time.&lt;/P&gt;&lt;P&gt;How to configure the different sampling time for different channels.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Jan 2023 11:35:30 GMT</pubDate>
    <dc:creator>sarwath</dc:creator>
    <dc:date>2023-01-17T11:35:30Z</dc:date>
    <item>
      <title>ADC channel result error</title>
      <link>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1583190#M20029</link>
      <description>&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;I am trying to read the input supply ( voltage and current) through ADC1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ADC1_channel 6&lt;/STRONG&gt; is to sense the Input current and&amp;nbsp;&lt;STRONG&gt;ADC1_channel 7&lt;/STRONG&gt; is to sense the Input voltage.&lt;/P&gt;&lt;P&gt;I am triggering the ADC1 with PDB1,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sarwath_0-1673873225160.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207461i0E99ACFDDD6EC0E0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sarwath_0-1673873225160.png" alt="sarwath_0-1673873225160.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;At beginning I have sensed the&amp;nbsp;&lt;STRONG&gt;ADC1_channel 6 Input current &lt;/STRONG&gt;and I got output &lt;STRONG&gt;current_mv&lt;/STRONG&gt; as &lt;STRONG&gt;1290&lt;/STRONG&gt; &lt;STRONG&gt;mv.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sarwath_1-1673873266639.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207462iD85A6EAEE1B5E051/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sarwath_1-1673873266639.png" alt="sarwath_1-1673873266639.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Later I added the&amp;nbsp;&lt;STRONG&gt;ADC1_channel 7 Input current,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sarwath_2-1673873382537.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207463i1784B69EBAB13FC8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sarwath_2-1673873382537.png" alt="sarwath_2-1673873382537.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When I sense the both ADC1 channel, the &lt;STRONG&gt;current_mv&lt;/STRONG&gt; result are modified from &lt;STRONG&gt;1290mv to 537mv .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sarwath_3-1673873517392.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207464i56051138803F036E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sarwath_3-1673873517392.png" alt="sarwath_3-1673873517392.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My voltage_mv is correct as per my requirement but the current_mv values are changing once I added the 2nd channel&amp;nbsp;&lt;STRONG&gt;ADC1_channel 7. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;There is no changes in supply but I am getting different ADC result. I have attached my project for your reference. Please have a look and let me know where I am going wrong.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sarwath_4-1673873672974.jpeg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207466i579BF5A53E13988A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sarwath_4-1673873672974.jpeg" alt="sarwath_4-1673873672974.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Sarwath&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>Mon, 16 Jan 2023 12:57:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1583190#M20029</guid>
      <dc:creator>sarwath</dc:creator>
      <dc:date>2023-01-16T12:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: ADC channel result error</title>
      <link>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1583914#M20061</link>
      <description>&lt;P&gt;I am suspecting my sample time and PDB timer and delay value. In my project I kept constant sampling time.&lt;/P&gt;&lt;P&gt;How to configure the different sampling time for different channels.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 11:35:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1583914#M20061</guid>
      <dc:creator>sarwath</dc:creator>
      <dc:date>2023-01-17T11:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: ADC channel result error</title>
      <link>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1583968#M20066</link>
      <description>&lt;P&gt;Hi, If you don't have some error in SW configuration then it could be possibly caused by high impedance attached to the ADC input.&lt;/P&gt;
&lt;P&gt;This device explicitly specify it as 5kOhm (max) at 4MHz (max).&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="davidtosenovjan_0-1673959209074.png" style="width: 614px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207654iB75F0B3C0A16F088/image-dimensions/614x324?v=v2" width="614" height="324" role="button" title="davidtosenovjan_0-1673959209074.png" alt="davidtosenovjan_0-1673959209074.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Do you have it so?&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>Tue, 17 Jan 2023 12:41:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1583968#M20066</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2023-01-17T12:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: ADC channel result error</title>
      <link>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1583985#M20068</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Yes david. In my Hardware the source impedance is 159Hz. It is less than 4Mhz only.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sarwath_0-1673960596601.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207656i6E2C6E94654D2193/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sarwath_0-1673960596601.png" alt="sarwath_0-1673960596601.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In RM, I read like,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sarwath_1-1673961085372.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/207659i199F385199EF99DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="sarwath_1-1673961085372.png" alt="sarwath_1-1673961085372.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am using the back to back method only. I feel my PDB trigger causing the issues. How to calculate the &lt;STRONG&gt;PDB module value and delay values&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Sarwath&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 13:14:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1583985#M20068</guid>
      <dc:creator>sarwath</dc:creator>
      <dc:date>2023-01-17T13:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: ADC channel result error</title>
      <link>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1584020#M20071</link>
      <description>&lt;P&gt;When I use the Software trigger for channel ADC1 CH6 , I am getting ADC result value closer to the Vin.&lt;/P&gt;&lt;P&gt;Then I configure the ADC (2 channels) with PDB trigger I am getting this value mismatch. I am reading RM and implementing but I am getting the wrong value in ch6 and ch7 value is valid (closer to the supply voltage). one channel value is correct and another channel value is wrong.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Jan 2023 14:17:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1584020#M20071</guid>
      <dc:creator>sarwath</dc:creator>
      <dc:date>2023-01-17T14:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: ADC channel result error</title>
      <link>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1584611#M20098</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/52613"&gt;@davidtosenovjan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found the root cause of this issue.&lt;/P&gt;&lt;P&gt;I thought to try in different channels (MCU pin) instead of used one (MCU pin 67). Then I checked the continuity of the Pin 67 and there is continuity.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I re-soldered the MCU Pin 67 , Now It is working fine. ADC output is equal to Vin.&lt;/P&gt;&lt;P&gt;Many Thanks,&lt;/P&gt;&lt;P&gt;Sarwath&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 12:42:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/ADC-channel-result-error/m-p/1584611#M20098</guid>
      <dc:creator>sarwath</dc:creator>
      <dc:date>2023-01-18T12:42:48Z</dc:date>
    </item>
  </channel>
</rss>

