<?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: S12ZVLA ADC sampling time in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVLA-ADC-sampling-time/m-p/716235#M14771</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your information, it was really helpful. But here ,I have one more query , please go through the below comments,&lt;/P&gt;&lt;P&gt;Out of 36 command in command sequence list, some of the command is for discharging the internal capacitance and one command for temperature sensor sampling&lt;/P&gt;&lt;P&gt;* What will be the time required for completing 'discharge internal capacitance' command? Is it same as ADC conversion time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vyshakh J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2018 13:05:54 GMT</pubDate>
    <dc:creator>vyshakhj</dc:creator>
    <dc:date>2018-02-07T13:05:54Z</dc:date>
    <item>
      <title>S12ZVLA ADC sampling time</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVLA-ADC-sampling-time/m-p/716233#M14769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hi,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I need information regarding the precise calculation of ADC sampling time, please go through the controller and configuration that I am using:&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Controller: S12ZVLA96&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;f_bus(bus frequency): 32Mhz&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;ADC : 6-channel 10 bit&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;ADC operating mode: Restart Mode, Single access mode&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;ADC Command sequence list length: 36&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Please help me with the information on, what will be the time required for completing conversion of one channel, once a command in command list has been loaded.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;As per data sheet I found two calculation related to ADC sampling time, below I mentioned those two formula,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;1)&amp;nbsp; Conversion time = 5 Bus cycles + 2 ADC conversion cycles&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;2) Total Sample time = Buffer sample time + Final Sample time&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 2 ADC CLK + 2 ADC CLK&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Can you provide how to correlate these two equations, and&amp;nbsp; what will be the total time required for completing the 36 commands , for the above configuration?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks ,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Vyshakh J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 09:03:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVLA-ADC-sampling-time/m-p/716233#M14769</guid>
      <dc:creator>vyshakhj</dc:creator>
      <dc:date>2018-02-05T09:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVLA ADC sampling time</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVLA-ADC-sampling-time/m-p/716234#M14770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vyshakh,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ADC module needs a trigger to start sampling the first channel in Restart Mode.&lt;/P&gt;&lt;P&gt;It takes 2 BUS cycles + 2 ADC Cycles (pump phase) from the Trigger Event (bit TRIG set) until the select channel starts to sample.&amp;nbsp;The pump phase (buffer sample time) is already a part of the Total Sample Time (N = SMP[4:0]), as described in Figure 10-28.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="S12ZVL_ADC_Sampling_and_Conversion.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/457iEEA969035C37BBD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="S12ZVL_ADC_Sampling_and_Conversion.png" alt="S12ZVL_ADC_Sampling_and_Conversion.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And the Total Sample Time is a part of the entire ADC Conversion Period (Table C-1 ADC Operating Characteristics).&lt;/P&gt;&lt;P&gt;10-bit resolution:&lt;/P&gt;&lt;P&gt;min. 18 ADC cycles (4 S + 14 C)&lt;/P&gt;&lt;P&gt;max. 38 ADC cycles (24 S + 14 C)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;During a conversion sequence (back to back conversions) it takes five Bus Clock cycles plus two&amp;nbsp;ADC conversion clock cycles (pump phase) from current conversion period end until the newly&amp;nbsp;selected channel is sampled in the following conversion period.&lt;/P&gt;&lt;P&gt;Again, the pump phase is a part of the Total Sample Time (N = SMP[4:0]).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The conversion time of 36 commands after Trigger event in Restart mode is:&lt;/P&gt;&lt;P&gt;2 BUS cycles + (36 * ADC Conversion Period (18 – 38 ADC cycles)) + ((36-1) * 5 BUS cycles between two conversions).&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Feb 2018 11:28:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVLA-ADC-sampling-time/m-p/716234#M14770</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-02-06T11:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVLA ADC sampling time</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVLA-ADC-sampling-time/m-p/716235#M14771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your information, it was really helpful. But here ,I have one more query , please go through the below comments,&lt;/P&gt;&lt;P&gt;Out of 36 command in command sequence list, some of the command is for discharging the internal capacitance and one command for temperature sensor sampling&lt;/P&gt;&lt;P&gt;* What will be the time required for completing 'discharge internal capacitance' command? Is it same as ADC conversion time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vyshakh J&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 13:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVLA-ADC-sampling-time/m-p/716235#M14771</guid>
      <dc:creator>vyshakhj</dc:creator>
      <dc:date>2018-02-07T13:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVLA ADC sampling time</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVLA-ADC-sampling-time/m-p/716236#M14772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Vyshakh,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Each command specifies the length of the sample time in ADC cycles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;ADCCMD_2_SMP[4:0]. So it depends on that.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 18:40:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/S12ZVLA-ADC-sampling-time/m-p/716236#M14772</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2018-02-07T18:40:16Z</dc:date>
    </item>
  </channel>
</rss>

