<?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: Multichannel ATD in mc9s12xep100 in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Multichannel-ATD-in-mc9s12xep100/m-p/438443#M3105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mrunal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder you didn't select the correct channel before getting value from ATD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, to get the correct value from channel 1, we need:&lt;/P&gt;&lt;P&gt;/* Run measurement of channel 1 with set wait for result */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; err = AD2_MeasureChan(TRUE,1U);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Get result of channel 1 justified to left*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; err = AD2_GetChanValue16(1U,&amp;amp;Value1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you check sample code under&lt;/P&gt;&lt;P&gt;{CW5.1 install folder}\ProcessorExpert\Projects\Test projects\ADC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this help?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2015 09:58:21 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2015-04-27T09:58:21Z</dc:date>
    <item>
      <title>Multichannel ATD in mc9s12xep100</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Multichannel-ATD-in-mc9s12xep100/m-p/438442#M3104</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 am working on the Demoboard for MC9S12XEP100 . I need 3 atd channels for my project but the results of conversion for all three seem to be getting stored in ATD0DR0 i.e the result register for channel 0 only. I have tried the sequence storage of the results but doesnt seem to work .&amp;nbsp; Can someone please help ?&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 13:37:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Multichannel-ATD-in-mc9s12xep100/m-p/438442#M3104</guid>
      <dc:creator>mrunaljoshi</dc:creator>
      <dc:date>2015-04-23T13:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multichannel ATD in mc9s12xep100</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Multichannel-ATD-in-mc9s12xep100/m-p/438443#M3105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mrunal,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder you didn't select the correct channel before getting value from ATD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, to get the correct value from channel 1, we need:&lt;/P&gt;&lt;P&gt;/* Run measurement of channel 1 with set wait for result */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; err = AD2_MeasureChan(TRUE,1U);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Get result of channel 1 justified to left*/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; err = AD2_GetChanValue16(1U,&amp;amp;Value1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you check sample code under&lt;/P&gt;&lt;P&gt;{CW5.1 install folder}\ProcessorExpert\Projects\Test projects\ADC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can this help?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2015 09:58:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Multichannel-ATD-in-mc9s12xep100/m-p/438443#M3105</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-04-27T09:58:21Z</dc:date>
    </item>
  </channel>
</rss>

