<?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>MPC5xxxのトピックRe: MPC5554  Strange ADC Sampling Problem</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725828#M9783</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try to increase sampling time for the first measurement (U0), let me know if it affect the result.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29981i4BD29CE2D070F922/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2018 14:44:09 GMT</pubDate>
    <dc:creator>davidtosenovjan</dc:creator>
    <dc:date>2018-05-28T14:44:09Z</dc:date>
    <item>
      <title>MPC5554  Strange ADC Sampling Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725823#M9778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="搜狗截图18年05月28日1015_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/8529i4CF45E63656CEA5D/image-size/large?v=v2&amp;amp;px=999" role="button" title="搜狗截图18年05月28日1015_1.png" alt="搜狗截图18年05月28日1015_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;hello，I have a strange problem using MPC5554 ADC module.&lt;/P&gt;&lt;P&gt;I want to use ADC to sample 2.5V voltage, the accurate number should be 8192 in decimal. firstly, I sample the channel 42, the result is Result[0]= 8221, &amp;nbsp; then I sample 2.5V voltage generated by the singnal generator,the result is U0=8506; then I put the same code into for loop, as the picture above shows, the result is U1=9800.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;U0 is a little larger than&amp;nbsp;&lt;SPAN&gt; Result[0], maybe I can calibrate it and it will be OK. &amp;nbsp; &amp;nbsp;But why U0 is different from U1? &amp;nbsp;the code is the same, why the result is different? &amp;nbsp; the only diffrence is U1 is in the loop and U0 is out of the loop.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 02:28:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725823#M9778</guid>
      <dc:creator>kaixionglv</dc:creator>
      <dc:date>2018-05-28T02:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5554  Strange ADC Sampling Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725824#M9779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, it could be possibly caused by following erratum.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29978iC05B53E5071E93D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also try to increase sampling time for internal channel. Definitely it is needed to calibrate ADC modules before use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 07:14:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725824#M9779</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2018-05-28T07:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5554  Strange ADC Sampling Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725825#M9780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much, I will calibate it later. But the most troublesome thing is that U0 is not equal to U1. I don‘t know why?&lt;/P&gt;&lt;P&gt;as the picture shows, U0 and U1 are resulted from the same code, the only diffenrence is U0 is out of "for " loop , and U1 is in the "for" loop. they should be the same , but actually they are not, I have tried many differenr voltage sources, the problem is still existing. &amp;nbsp;&lt;/P&gt;&lt;P&gt;the system clock is 128MHZ and the ADC clock is 2MHZ, they are unchanged during my test experiments&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 09:19:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725825#M9780</guid>
      <dc:creator>kaixionglv</dc:creator>
      <dc:date>2018-05-28T09:19:49Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5554  Strange ADC Sampling Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725826#M9781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you measuring static voltage level?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 11:28:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725826#M9781</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2018-05-28T11:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5554  Strange ADC Sampling Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725827#M9782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes,I measured the DC voltage, &amp;nbsp;if I put these codes out of "for" loop as U0's codes, U1 is equal to U0, but if I put U1's codes into "for' loop, U1 ia not equal to U0, this is troublesome&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 12:04:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725827#M9782</guid>
      <dc:creator>kaixionglv</dc:creator>
      <dc:date>2018-05-28T12:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5554  Strange ADC Sampling Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725828#M9783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try to increase sampling time for the first measurement (U0), let me know if it affect the result.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/29981i4BD29CE2D070F922/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2018 14:44:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725828#M9783</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2018-05-28T14:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5554  Strange ADC Sampling Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725829#M9784</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much , I configure the LST =0B11, &amp;nbsp; &amp;nbsp;the problem is still existing, but I find how to solve it inspired by you, &amp;nbsp; &amp;nbsp;I add a delay() function after eQADC initialization, &amp;nbsp;if the delay time is long enough, &amp;nbsp; U0 will be equal to U1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then &amp;nbsp; I should calibrate the result later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, 2.5v DC voltage, the accurate result should be 8190, but my sampling result is &amp;nbsp;9786 before calibrating, is it&amp;nbsp;9786 a reasonable result before&amp;nbsp;cailibrating? I mean if my PCB board is bad or my voltage source is not good, why the result without calibrating is so rediculous? &amp;nbsp;I have already used many kinds of cheap MCU without ADC calibarating function , the sampling &amp;nbsp;result is in a reasonable range, why MPC5554's result is so strange ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2018 03:09:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725829#M9784</guid>
      <dc:creator>kaixionglv</dc:creator>
      <dc:date>2018-05-29T03:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5554  Strange ADC Sampling Problem</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725830#M9785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is possible. Initial delay is part of recommended calibration sequence as you can see below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32880iBC123935BE8F740A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to perform calibration, it is easy - here you may find example code:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-101791"&gt;Example MPC5644A eQADC channel 146 conversion+calibration CW210&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This device does not have defined offset and gain error for uncalibrated result, but it may be tens or hundreds LSB (Counts). In your case it would be 399 what it quite high. Anyway it does not make sense to deal with accuracy without proper ADC calibration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2018 07:54:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5554-Strange-ADC-Sampling-Problem/m-p/725830#M9785</guid>
      <dc:creator>davidtosenovjan</dc:creator>
      <dc:date>2018-05-30T07:54:38Z</dc:date>
    </item>
  </channel>
</rss>

