<?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: s32k144 adc error</title>
    <link>https://community.nxp.com/t5/S32K/s32k144-adc-error/m-p/829707#M3234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/maojun@hangsheng.com.cn"&gt;maojun@hangsheng.com.cn&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the ADC function with 3.3V supply voltage and I did not notice any error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you use evaluation board S32K144EVB?&lt;/P&gt;&lt;P&gt;Could you share your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2018 11:22:49 GMT</pubDate>
    <dc:creator>dianabatrlova</dc:creator>
    <dc:date>2018-11-21T11:22:49Z</dc:date>
    <item>
      <title>s32k144 adc error</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-adc-error/m-p/829706#M3233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi：&lt;/P&gt;&lt;P&gt;&amp;nbsp;I have a touble with s32k144 about its&amp;nbsp;adc function.when I using its&amp;nbsp;adc function.if the problem was happended,the&amp;nbsp;adc Value I inquired was half，but the&amp;nbsp;adc supply voltage to&amp;nbsp;adc input pin was 3.3V，it is same as the&amp;nbsp;adc reference voltage.Normally,it could not be half of the right value. In&amp;nbsp; additon, during the problem, other ad supply voltage could retrun a right value except 3.3V.&lt;/P&gt;&lt;P&gt;If&amp;nbsp; anyone else has this problem or has some advices,please let me know. thank you very much for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Nov 2018 01:55:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-adc-error/m-p/829706#M3233</guid>
      <dc:creator>maojun</dc:creator>
      <dc:date>2018-11-13T01:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 adc error</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-adc-error/m-p/829707#M3234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/maojun@hangsheng.com.cn"&gt;maojun@hangsheng.com.cn&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the ADC function with 3.3V supply voltage and I did not notice any error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you use evaluation board S32K144EVB?&lt;/P&gt;&lt;P&gt;Could you share your code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2018 11:22:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-adc-error/m-p/829707#M3234</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-11-21T11:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 adc error</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-adc-error/m-p/829708#M3235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Diana:&lt;/P&gt;&lt;P&gt;I wasn‘t use evaluation board ,I use the board on my project;&lt;/P&gt;&lt;P&gt;In addition,this problem isn't occurted every time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are some codes.&lt;/P&gt;&lt;P&gt;static t_ADC_Resolution_Table ADC0_ResolutionTable[]=&lt;BR /&gt;{&lt;BR /&gt; {&lt;BR /&gt; AirAdchannel,ADC_RESOLUTION_8BIT&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; HardVerAdchannel,ADC_RESOLUTION_8BIT&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; DATypeAdchannel,ADC_RESOLUTION_8BIT&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;unsigned short bsp_ADC0_GetChanVal(unsigned char chan)&lt;BR /&gt;{&lt;BR /&gt; unsigned short tmpVal=0;&lt;BR /&gt; unsigned char i=0;&lt;BR /&gt; adConv0_ChnConfig0.channel = chan;&lt;BR /&gt; /* Configure ADC channel and software trigger a conversion */&lt;BR /&gt; ADC_DRV_ConfigChan(INST_ADCONV0, 0, &amp;amp;adConv0_ChnConfig0);&lt;BR /&gt; /* Wait for the conversion to be done */&lt;BR /&gt; ADC_DRV_WaitConvDone(INST_ADCONV0);&lt;BR /&gt; /* Store the channel result into a local variable */&lt;BR /&gt; ADC_DRV_GetChanResult(INST_ADCONV0, 0, &amp;amp;tmpVal);&lt;/P&gt;&lt;P&gt;for(i=0; i&amp;lt;ARR_SIZE(ADC0_ResolutionTable); i++)&lt;BR /&gt; {&lt;BR /&gt; if(chan==ADC0_ResolutionTable[i].chan)&lt;BR /&gt; {&lt;BR /&gt; switch(ADC0_ResolutionTable[i].resolution)&lt;BR /&gt; {&lt;BR /&gt; case ADC_RESOLUTION_10BIT:&lt;BR /&gt; tmpVal=TransResolution_12_10(tmpVal);&lt;BR /&gt; break;&lt;/P&gt;&lt;P&gt;case ADC_RESOLUTION_8BIT:&lt;BR /&gt; tmpVal=TransResolution_12_8(tmpVal);&lt;BR /&gt; break;&lt;/P&gt;&lt;P&gt;default:&lt;BR /&gt; break;&lt;BR /&gt; }&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;return tmpVal;&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Nov 2018 07:09:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-adc-error/m-p/829708#M3235</guid>
      <dc:creator>maojun</dc:creator>
      <dc:date>2018-11-23T07:09:19Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 adc error</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-adc-error/m-p/829709#M3236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your information.&lt;/P&gt;&lt;P&gt;In that case, I recommend you look at the document AN12217 -&amp;nbsp;S32K1xx ADC guidelines, spec and configuration:&amp;nbsp;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN12217.pdf" title="https://www.nxp.com/docs/en/application-note/AN12217.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12217.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a chapter 2. ADC concepts, error sources and specification. Also, check if is your analog input signal source resistance within ADC specification.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Diana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Nov 2018 14:35:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-adc-error/m-p/829709#M3236</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2018-11-26T14:35:37Z</dc:date>
    </item>
  </channel>
</rss>

