<?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 S12ZVLA ADC sampling time  in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVLA-ADC-sampling-time/m-p/780144#M6834</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&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&gt;Controller: S12ZVLA96&lt;/P&gt;&lt;P&gt;f_bus(bus frequency): 32Mhz&lt;/P&gt;&lt;P&gt;ADC : 6-channel 10 bit&lt;/P&gt;&lt;P&gt;ADC operating mode: Restart Mode, Single access mode&lt;/P&gt;&lt;P&gt;ADC Command sequence list length: 36&lt;/P&gt;&lt;P&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&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&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; Conversion time = 5 Bus cycles + 2 ADC conversion cycles&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Total Sample time = Buffer sample time + Final Sample time&lt;/P&gt;&lt;P&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&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&gt;&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>Sat, 03 Feb 2018 12:43:10 GMT</pubDate>
    <dc:creator>vyshakhj</dc:creator>
    <dc:date>2018-02-03T12:43:10Z</dc:date>
    <item>
      <title>S12ZVLA ADC sampling time</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVLA-ADC-sampling-time/m-p/780144#M6834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&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&gt;Controller: S12ZVLA96&lt;/P&gt;&lt;P&gt;f_bus(bus frequency): 32Mhz&lt;/P&gt;&lt;P&gt;ADC : 6-channel 10 bit&lt;/P&gt;&lt;P&gt;ADC operating mode: Restart Mode, Single access mode&lt;/P&gt;&lt;P&gt;ADC Command sequence list length: 36&lt;/P&gt;&lt;P&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&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&gt;&lt;/P&gt;&lt;P&gt;1)&amp;nbsp; Conversion time = 5 Bus cycles + 2 ADC conversion cycles&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Total Sample time = Buffer sample time + Final Sample time&lt;/P&gt;&lt;P&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&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&gt;&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>Sat, 03 Feb 2018 12:43:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVLA-ADC-sampling-time/m-p/780144#M6834</guid>
      <dc:creator>vyshakhj</dc:creator>
      <dc:date>2018-02-03T12:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVLA ADC sampling time</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVLA-ADC-sampling-time/m-p/780145#M6835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vyshakh J ,&lt;/P&gt;&lt;P&gt;- How do you get the two formulas? Ccoul you please point use screenshot .&lt;/P&gt;&lt;P&gt;- To my understanding , the ADC conversion time includes sample time and hold machine time :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_48.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1108iF81C5627A9B95470/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_48.png" alt="pastedImage_48.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the sample time can configuered using&amp;nbsp; the bit SMP[4:0] of ADCCMD_2 register :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_47.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1066i581FD5C02344FF86/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_47.png" alt="pastedImage_47.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The convesion time = sample tiem +14 ATD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/1027i4DCD4497690BAF82/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- And there is a ADC demo and application note , you&amp;nbsp; can refer to:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/592008"&gt;https://community.nxp.com/message/592008&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 08:03:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVLA-ADC-sampling-time/m-p/780145#M6835</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2018-02-07T08:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVLA ADC sampling time</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVLA-ADC-sampling-time/m-p/780146#M6836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alice,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thanks for your information. Actually this formula I have made from , some wordings in datasheet. Anyway your information clarified my doubt.Thanks a lot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vyshakh j&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 13:11:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVLA-ADC-sampling-time/m-p/780146#M6836</guid>
      <dc:creator>vyshakhj</dc:creator>
      <dc:date>2018-02-07T13:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: S12ZVLA ADC sampling time</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVLA-ADC-sampling-time/m-p/780147#M6837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;Hi Vyshakh j&lt;/P&gt;&lt;P&gt;Welcome !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice&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>Thu, 08 Feb 2018 03:33:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/S12ZVLA-ADC-sampling-time/m-p/780147#M6837</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2018-02-08T03:33:54Z</dc:date>
    </item>
  </channel>
</rss>

