<?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 adc conversion time setting in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/adc-conversion-time-setting/m-p/362771#M10634</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi all, for xep100 micom, how to achieve adc conversion time of 3.2us?(please suggest me how to calculate conversion time from ATD clock cycles,if my prescale value is 3,sample time scale 000,ADC resolution is 12bit) &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="232635" data-objecttype="3" href="https://community.nxp.com/people/jyothipusuluri"&gt;jyothi Pusuluri&lt;/A&gt; &lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jan 2015 05:39:21 GMT</pubDate>
    <dc:creator>jyothipusuluri</dc:creator>
    <dc:date>2015-01-21T05:39:21Z</dc:date>
    <item>
      <title>adc conversion time setting</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/adc-conversion-time-setting/m-p/362771#M10634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi all, for xep100 micom, how to achieve adc conversion time of 3.2us?(please suggest me how to calculate conversion time from ATD clock cycles,if my prescale value is 3,sample time scale 000,ADC resolution is 12bit) &lt;A _jive_internal="true" data-containerid="-1" data-containertype="-1" data-objectid="232635" data-objecttype="3" href="https://community.nxp.com/people/jyothipusuluri"&gt;jyothi Pusuluri&lt;/A&gt; &lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 05:39:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/adc-conversion-time-setting/m-p/362771#M10634</guid>
      <dc:creator>jyothipusuluri</dc:creator>
      <dc:date>2015-01-21T05:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: adc conversion time setting</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/adc-conversion-time-setting/m-p/362772#M10635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You didn't specify ATD clock source frequency, so I can't suggest specific figures. Check table A-15&amp;nbsp; ATD Operating characteristics and note 2 under that table. For 12bits resolution, conversion time (including sample time) is from 20 to 42 ATD clock cycles. That's num of sample time clocks + 16. When discharge (SMP_DIS) is enabled, conversion time takes longer, plus additional 2 ATD clock cycles.&lt;/P&gt;&lt;P&gt;12bits: sample clocks + 16 + SMP_DIS*2&lt;/P&gt;&lt;P&gt;10bits: sample clocks + 15 + SMP_DIS*2&lt;/P&gt;&lt;P&gt;8bits: sample clocks + 13 + SMP_DIS*2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jan 2015 15:00:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/adc-conversion-time-setting/m-p/362772#M10635</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2015-01-21T15:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: adc conversion time setting</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/adc-conversion-time-setting/m-p/362773#M10636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;conversion&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;time&lt;/STRONG&gt;&lt;/SPAN&gt; can be calculated as follows:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;Total Time&lt;/STRONG&gt;&lt;/SPAN&gt; = &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;conversion&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;time&lt;/STRONG&gt;&lt;/SPAN&gt; + &lt;STRONG&gt;sample&lt;/STRONG&gt; &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;time&lt;/STRONG&gt;&lt;/SPAN&gt; + &lt;STRONG&gt;discharging&lt;/STRONG&gt; &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;time&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;Conversion&lt;/STRONG&gt;&lt;/SPAN&gt; time:&lt;/P&gt;&lt;P&gt;12bit resolution: 16 ATDCLK cycles&lt;/P&gt;&lt;P&gt;10bit resolution: 15 ATDCLK cycles&lt;/P&gt;&lt;P&gt;8bit resolution: 13 ATDCLK cycles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample time&lt;/STRONG&gt;: can be set in range 4 – 24 ATDCLK cycles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Discharging time&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;If bit SMP_DIS in ATDCLT1 register is set then it takes 2 ATDCLK cycles.&lt;/P&gt;&lt;P&gt;If SMP_DIS is 0 then it takes 0 ATDCLK cycles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, min/max &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;times&lt;/STRONG&gt;&lt;/SPAN&gt; in case of 12bit resolution is:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;Minimum &lt;STRONG&gt;time&lt;/STRONG&gt;&lt;/SPAN&gt; = 16 + 4 + 0 = 20 ATDCLK cycles&lt;/P&gt;&lt;P&gt;Maximum &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;time&lt;/STRONG&gt;&lt;/SPAN&gt; is: &lt;SPAN class="&amp;amp;quothighlight&amp;quot;"&gt;&lt;STRONG&gt;Time&lt;/STRONG&gt;&lt;/SPAN&gt; = 16 + 24 + 2 = 42 ATDCLK cycles&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ATDCLK can be set in range 0.25 – 8.3MHz.&lt;/P&gt;&lt;P&gt;Depending on the MCU bus clock and equation to calculate the ATD clock which is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fATDCLK = fBUS / 2×(PRS + 1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can easily calculate ATDCLK cycles in microseconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;iggi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 13:09:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/adc-conversion-time-setting/m-p/362773#M10636</guid>
      <dc:creator>iggi</dc:creator>
      <dc:date>2015-01-28T13:09:13Z</dc:date>
    </item>
  </channel>
</rss>

