<?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 MPC563/4 QADC Continuous Scan vs Single Scan  in Other NXP Products</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/MPC563-4-QADC-Continuous-Scan-vs-Single-Scan/m-p/470421#M3370</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a simple experiment set up to accept an analog input and route directly to a DAC output. Using a signal analyzer I am then measuring the frequency response. The gathering of the ADC result and assignment to DAC output are performed within a 4kHz interrupt. I get significant phase response differences between these two scenarios:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) ADC is in continuous scan mode. Upon entering the ISR, the result is read and assigned to the DAC output. With this I get approx. 180 degrees of lag at 2.4kHz.&lt;/P&gt;&lt;P&gt;2) ADC is in single scan mode. Upon entering the ISR, the scan is triggered by writing to the SSE bit. I then wait until I see the completion flag CF, then assign to the DAC output. With this I get approx. 180 degrees of lag at 1.2kHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me understand why this would be? Is there anything HW related that would cause this? Is there a trick to initialization? I can't see anything in the documentation that would suggest an extra interrupt cycle delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any/all suggestions are appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 May 2016 14:29:32 GMT</pubDate>
    <dc:creator>chrisjablonski</dc:creator>
    <dc:date>2016-05-13T14:29:32Z</dc:date>
    <item>
      <title>MPC563/4 QADC Continuous Scan vs Single Scan</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/MPC563-4-QADC-Continuous-Scan-vs-Single-Scan/m-p/470421#M3370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a simple experiment set up to accept an analog input and route directly to a DAC output. Using a signal analyzer I am then measuring the frequency response. The gathering of the ADC result and assignment to DAC output are performed within a 4kHz interrupt. I get significant phase response differences between these two scenarios:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) ADC is in continuous scan mode. Upon entering the ISR, the result is read and assigned to the DAC output. With this I get approx. 180 degrees of lag at 2.4kHz.&lt;/P&gt;&lt;P&gt;2) ADC is in single scan mode. Upon entering the ISR, the scan is triggered by writing to the SSE bit. I then wait until I see the completion flag CF, then assign to the DAC output. With this I get approx. 180 degrees of lag at 1.2kHz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me understand why this would be? Is there anything HW related that would cause this? Is there a trick to initialization? I can't see anything in the documentation that would suggest an extra interrupt cycle delay.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any/all suggestions are appreciated,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 May 2016 14:29:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/MPC563-4-QADC-Continuous-Scan-vs-Single-Scan/m-p/470421#M3370</guid>
      <dc:creator>chrisjablonski</dc:creator>
      <dc:date>2016-05-13T14:29:32Z</dc:date>
    </item>
  </channel>
</rss>

