<?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>S12 / MagniV MicrocontrollersのトピックRe: ADC conversion for S12ZVML128</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC-conversion-for-S12ZVML128/m-p/634155#M13530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have referred the sample code you mentioned.&lt;/P&gt;&lt;P&gt;Please see the question regarding The ADC conversion which is asked by me on community.&lt;/P&gt;&lt;P&gt;And please tell me what is the mistake in that code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Jan 2017 05:03:16 GMT</pubDate>
    <dc:creator>pratibhasurabhi</dc:creator>
    <dc:date>2017-01-24T05:03:16Z</dc:date>
    <item>
      <title>ADC conversion for S12ZVML128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC-conversion-for-S12ZVML128/m-p/634153#M13528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to do ADC conversion.&lt;/P&gt;&lt;P&gt;i am declaring ADC command list as&amp;nbsp;ADC1CommandList[1][4] = {{0xC0,0x00,0x00,0x00}};&lt;/P&gt;&lt;P&gt;In initADC function i have initialized all required registers of ADC1.&lt;/P&gt;&lt;P&gt;I have created get ADC(uint8_t channel no) function , in this function I am filling command list with channel number(passed in argument of function) and after that i have triggered the restart event.Even after end of list interrupt flag in&amp;nbsp;ADC1CONIF register gets set there is no result in ADCresult list.could you please provide me the solution for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jan 2017 10:34:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC-conversion-for-S12ZVML128/m-p/634153#M13528</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2017-01-20T10:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: ADC conversion for S12ZVML128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC-conversion-for-S12ZVML128/m-p/634154#M13529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi PRATIBHA,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please look at simple example code here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-332475"&gt;https://community.nxp.com/docs/DOC-332475&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I used ADC0FLWCTL_TRIG bit as a trigger for new ADC conversion.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please be aware that loading commands from command list and storing results into result list is managed by internal DMA mechanism. Therefore the command and results lists must be aligned to the 4 byte boundary. For example:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;volatile unsigned long adc0_cmdlist[NR_A_CH] __attribute__ ((aligned (4))); //max 256 bytes = 64 commands per 4-byte entries &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;volatile unsigned int adc0_results[NR_A_CH] __attribute__ ((aligned (4)));&amp;nbsp; //max 128 bytes = 64 results per 2-byte entries&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&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, 23 Jan 2017 20:16:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC-conversion-for-S12ZVML128/m-p/634154#M13529</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2017-01-23T20:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: ADC conversion for S12ZVML128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC-conversion-for-S12ZVML128/m-p/634155#M13530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have referred the sample code you mentioned.&lt;/P&gt;&lt;P&gt;Please see the question regarding The ADC conversion which is asked by me on community.&lt;/P&gt;&lt;P&gt;And please tell me what is the mistake in that code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 05:03:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC-conversion-for-S12ZVML128/m-p/634155#M13530</guid>
      <dc:creator>pratibhasurabhi</dc:creator>
      <dc:date>2017-01-24T05:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: ADC conversion for S12ZVML128</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC-conversion-for-S12ZVML128/m-p/634156#M13531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;Hi PRATIBHA,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I suppose that you mean your thread here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="11493" data-containertype="14" data-objectid="443243" data-objecttype="1" href="https://community.nxp.com/thread/443243"&gt;https://community.nxp.com/message/871165&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Radek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jan 2017 22:22:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC-conversion-for-S12ZVML128/m-p/634156#M13531</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2017-01-24T22:22:40Z</dc:date>
    </item>
  </channel>
</rss>

