<?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: ADC0ReadList and ADC0_3 channel selection</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC0ReadList-and-ADC0-3-channel-selection/m-p/1457136#M18653</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200364"&gt;@ImranAviconn&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You have currently one ADC conversion in a single sequence.&lt;/P&gt;
&lt;P&gt;Every sequence requires a trigger.&lt;/P&gt;
&lt;P&gt;If there is anough time for two conversions in a sequence (between triggers), you can add one Normal Conversion to the list.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1652347258544.png" style="width: 723px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179614iA04B56A55132AAD9/image-dimensions/723x159?v=v2" width="723" height="159" role="button" title="danielmartynek_0-1652347258544.png" alt="danielmartynek_0-1652347258544.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1652347348178.png" style="width: 734px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179616i3CF8AE070FB54399/image-dimensions/734x68?v=v2" width="734" height="68" role="button" title="danielmartynek_1-1652347348178.png" alt="danielmartynek_1-1652347348178.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_2-1652347374374.png" style="width: 736px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179617i7268886D42A4BE34/image-dimensions/736x323?v=v2" width="736" height="323" role="button" title="danielmartynek_2-1652347374374.png" alt="danielmartynek_2-1652347374374.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;{0x40,0xD0,0x00,0x00}, // end of sequence [40], current sense channel [D0] - dc bus current on op-amp0&lt;/P&gt;
&lt;P&gt;{0x00,0x30,0x00,0x00}, // normal conversion [00], AN3 [0x30] &lt;BR /&gt;{0x40,0xD0,0x00,0x00}, // end of sequence [40], current sense channel [D0] - dc bus current on op-amp0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 May 2022 09:26:19 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2022-05-12T09:26:19Z</dc:date>
    <item>
      <title>ADC0ReadList and ADC0_3 channel selection</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC0ReadList-and-ADC0-3-channel-selection/m-p/1456339#M18651</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using mc9s12zvml128 board for my project and I need to access the ADC channels AN0_3 and AN1_3.&lt;/P&gt;&lt;P&gt;volatile char ADC0CommandList[COMMAND_NO][COMMAND_LENGTH] = {&lt;BR /&gt;{0x40,0xD0,0x00,0x00}, // end of sequence [40], current sense channel [D0] - dc bus current on op-amp0&lt;BR /&gt;{0x40,0xD0,0x00,0x00}, // end of sequence [40], current sense channel [D0] - dc bus current on op-amp0&lt;BR /&gt;{0x40,0xD0,0x00,0x00}, // end of sequence [40], current sense channel [D0] - dc bus current on op-amp0&lt;BR /&gt;{0xC0,0xD0,0x00,0x00}, // end of list + no int [C0], current sense channel [D0] - dc bus current on op-amp0&lt;BR /&gt;{0x00,0x00,0x00,0x00},&lt;BR /&gt;{0x00,0x00,0x00,0x00},&lt;BR /&gt;{0x00,0x00,0x00,0x00},&lt;BR /&gt;{0x00,0x00,0x00,0x00}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;volatile char ADC1CommandList[COMMAND_NO][COMMAND_LENGTH] = {&lt;BR /&gt;{0x40,0xCB,0x00,0x00}, // end of sequence + no int [40], DC-Link VOltage&lt;BR /&gt;{0xC0,0xC9,0x00,0x00}, // end of List + no int [C0], TEMP [C9], 4 clock cycles sample time [00], reserved [00]&lt;BR /&gt;{0x00,0x00,0x00,0x00},&lt;BR /&gt;{0x00,0x00,0x00,0x00},&lt;BR /&gt;{0x00,0x00,0x00,0x00},&lt;BR /&gt;{0x00,0x00,0x00,0x00},&lt;BR /&gt;{0x00,0x00,0x00,0x00},&lt;BR /&gt;{0x00,0x00,0x00,0x00}&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;In the CommandList I do not know how to access the AN0_3 channel and there is no help in datasheet.&lt;/P&gt;&lt;P&gt;I also want to know what is the adc0readlist is doing and it's structure. What is the meaning of 32758 in adc0readlist.&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 10:20:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC0ReadList-and-ADC0-3-channel-selection/m-p/1456339#M18651</guid>
      <dc:creator>ImranAviconn</dc:creator>
      <dc:date>2022-05-11T10:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: ADC0ReadList and ADC0_3 channel selection</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC0ReadList-and-ADC0-3-channel-selection/m-p/1457136#M18653</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200364"&gt;@ImranAviconn&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;You have currently one ADC conversion in a single sequence.&lt;/P&gt;
&lt;P&gt;Every sequence requires a trigger.&lt;/P&gt;
&lt;P&gt;If there is anough time for two conversions in a sequence (between triggers), you can add one Normal Conversion to the list.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_0-1652347258544.png" style="width: 723px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179614iA04B56A55132AAD9/image-dimensions/723x159?v=v2" width="723" height="159" role="button" title="danielmartynek_0-1652347258544.png" alt="danielmartynek_0-1652347258544.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_1-1652347348178.png" style="width: 734px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179616i3CF8AE070FB54399/image-dimensions/734x68?v=v2" width="734" height="68" role="button" title="danielmartynek_1-1652347348178.png" alt="danielmartynek_1-1652347348178.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielmartynek_2-1652347374374.png" style="width: 736px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/179617i7268886D42A4BE34/image-dimensions/736x323?v=v2" width="736" height="323" role="button" title="danielmartynek_2-1652347374374.png" alt="danielmartynek_2-1652347374374.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;{0x40,0xD0,0x00,0x00}, // end of sequence [40], current sense channel [D0] - dc bus current on op-amp0&lt;/P&gt;
&lt;P&gt;{0x00,0x30,0x00,0x00}, // normal conversion [00], AN3 [0x30] &lt;BR /&gt;{0x40,0xD0,0x00,0x00}, // end of sequence [40], current sense channel [D0] - dc bus current on op-amp0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 May 2022 09:26:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/ADC0ReadList-and-ADC0-3-channel-selection/m-p/1457136#M18653</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2022-05-12T09:26:19Z</dc:date>
    </item>
  </channel>
</rss>

