<?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: ADACK Setup in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADACK-Setup/m-p/500678#M31316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Hi ben &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;The sampling rate in asynchronous mode, could change depending of a lot of factors, for example the temperature, but if you want to calculate the exact sampling rate, I recommend you to use the bus clock for conversion time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Let me know if you have problems with the conversion time &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 22:59:00 GMT</pubDate>
    <dc:creator>mario_castaneda</dc:creator>
    <dc:date>2016-05-30T22:59:00Z</dc:date>
    <item>
      <title>ADACK Setup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADACK-Setup/m-p/500675#M31313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Im trying to understand how is the value of ADACK calculated.&lt;/P&gt;&lt;P&gt;Im using the Asynchronous mode for clocking the ADC (ADICLK=11) and ADIV=11 (divide by 8). &lt;/P&gt;&lt;P&gt;The core clock runs at 120Mhz.&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;Ben.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 11:34:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADACK-Setup/m-p/500675#M31313</guid>
      <dc:creator>benatar</dc:creator>
      <dc:date>2016-05-25T11:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: ADACK Setup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADACK-Setup/m-p/500676#M31314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben&lt;/P&gt;&lt;P&gt;Which board are you using?&lt;/P&gt;&lt;P&gt;For example if you are using the FRDM K64F you can check the datasheet document chapter 3 ADC Electrical Characteristics &lt;span class="lia-inline-image-display-wrapper" image-alt="adc.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59090i38B7F196C61ADDFF/image-size/large?v=v2&amp;amp;px=999" role="button" title="adc.png" alt="adc.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As you can see the frequency depends of the configuration of the ADLPC register CFG1 and ADHSC register CFG2.&lt;/P&gt;&lt;P&gt;And if you want to calculate the ADC time conversion you can check the following equation, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="adc_equiation.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/59138i7E34866FAB699C41/image-size/large?v=v2&amp;amp;px=999" role="button" title="adc_equiation.png" alt="adc_equiation.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR clear="all" /&gt;The equation is explained in the reference manual, 35.4.4.5 Sample time and total conversion time, explains how to calculate the time and the possible options, for ADC conversions cycles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Ffiles%2Fmicrocontrollers%2Fdoc%2Fref_manual%2FK64P144M120SF5RM.pdf%3Ffpsp%3D1%26WT_TYPE%3DReference%2520Manuals%26WT_VENDOR%3DFREESCALE%26WT_FILE_FORMAT%3Dpdf%26WT_ASSET%3DDocumentation%26fileExt%3D.pdf" rel="nofollow" target="_blank"&gt;http://www.nxp.com/files/microcontrollers/doc/ref_manual/K64P144M120SF5RM.pdf?fpsp=1&amp;amp;WT_TYPE=Reference%20Manuals&amp;amp;WT_VENDOR=FREESCALE&amp;amp;WT_FILE_FORMAT=pdf&amp;amp;WT_ASSET=Documentation&amp;amp;fileExt=.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have problems with the asynchronous clock source&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2016 23:44:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADACK-Setup/m-p/500676#M31314</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-05-27T23:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: ADACK Setup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADACK-Setup/m-p/500677#M31315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mario,&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;I am using the app. sample in the SDK marked as adc16\polling as the base for testing the ADC.&lt;/P&gt;&lt;P&gt;The board is a customized K22FN512 based board.&lt;/P&gt;&lt;P&gt;In order to post process the samples (FFTs etc.) i need to know the exact sampling rate, so the range, as an example of 3Ms to 7.3Ms is not accurate enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ben.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2016 17:40:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADACK-Setup/m-p/500677#M31315</guid>
      <dc:creator>benatar</dc:creator>
      <dc:date>2016-05-28T17:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: ADACK Setup</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADACK-Setup/m-p/500678#M31316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Hi ben &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;The sampling rate in asynchronous mode, could change depending of a lot of factors, for example the temperature, but if you want to calculate the exact sampling rate, I recommend you to use the bus clock for conversion time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Let me know if you have problems with the conversion time &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Hope it helps&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Helvetica, sans-serif;"&gt;Mario&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 22:59:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/ADACK-Setup/m-p/500678#M31316</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2016-05-30T22:59:00Z</dc:date>
    </item>
  </channel>
</rss>

