<?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 MK66FN2M0 / FRDM-K66F ADC clocking options in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK66FN2M0-FRDM-K66F-ADC-clocking-options/m-p/1333255#M61393</link>
    <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I am using a NXP K66 board (FRDM-K66F with MK66FN2M0 to be precise) and&lt;BR /&gt;I am trying to achieve the maximum possible conversion rate with the on chip ADCs.&lt;/P&gt;&lt;P&gt;According to the &lt;A href="https://www.nxp.com/docs/en/data-sheet/K66P144M180SF5V2.pdf" target="_self"&gt;technical datasheet&lt;/A&gt;, Table 31 in 3.6.1.1, the ADC clock can be between 1 and 24 MHz, regardless the source. According to the &lt;A href="https://www.nxp.com/docs/en/reference-manual/K66P144M180SF5RMV2.pdf" target="_self"&gt;reference manual&lt;/A&gt;, 39.5.1, the clock source for the ADC clock be one of&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Bus clock (60 MHz in my case)&lt;/LI&gt;&lt;LI&gt;Bus clock divided by two (30 MHz in my case)&lt;/LI&gt;&lt;LI&gt;Alternate clock (12 MHz on the FRDM-K66F, as it is derived from an external crystal which happens to be 12 MHz)&lt;/LI&gt;&lt;LI&gt;Asynchronous clock (9.5 MHz at absolute maximum, according to the technical datasheet, Table 32 in 3.6.1.2)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In order to use a faster clock than alternate or asynchronous clock, Bus clock has to be used, which needs to be divided using CFG1[ADIV], so that it falls within the legal range of ADC clock. As the possible divider values are only 1, 2, 4 and 8, as described in the reference manual 39.4.2, this means that the maximum ADC clock value is 15 MHz (using divide-by-4, as using divide-by-2 results in 30 MHz, which is too fast for the ADC).&lt;/P&gt;&lt;P&gt;Do I miss something? Is there a possibility to derive a faster Bus clock to boost the ADC clock?&lt;BR /&gt;E.g., if the Bus clock was 90 MHz, one could get 22.5 MHz, getting close to the maximum 24 MHz for the ADC clock.&lt;/P&gt;&lt;P&gt;Does anyone have a suggestion on how to achieve this? Is it possible? Is there another option to achieve a higher ADC clock than 15 MHz?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 01 Sep 2021 12:42:09 GMT</pubDate>
    <dc:creator>RadaD</dc:creator>
    <dc:date>2021-09-01T12:42:09Z</dc:date>
    <item>
      <title>MK66FN2M0 / FRDM-K66F ADC clocking options</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK66FN2M0-FRDM-K66F-ADC-clocking-options/m-p/1333255#M61393</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;I am using a NXP K66 board (FRDM-K66F with MK66FN2M0 to be precise) and&lt;BR /&gt;I am trying to achieve the maximum possible conversion rate with the on chip ADCs.&lt;/P&gt;&lt;P&gt;According to the &lt;A href="https://www.nxp.com/docs/en/data-sheet/K66P144M180SF5V2.pdf" target="_self"&gt;technical datasheet&lt;/A&gt;, Table 31 in 3.6.1.1, the ADC clock can be between 1 and 24 MHz, regardless the source. According to the &lt;A href="https://www.nxp.com/docs/en/reference-manual/K66P144M180SF5RMV2.pdf" target="_self"&gt;reference manual&lt;/A&gt;, 39.5.1, the clock source for the ADC clock be one of&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Bus clock (60 MHz in my case)&lt;/LI&gt;&lt;LI&gt;Bus clock divided by two (30 MHz in my case)&lt;/LI&gt;&lt;LI&gt;Alternate clock (12 MHz on the FRDM-K66F, as it is derived from an external crystal which happens to be 12 MHz)&lt;/LI&gt;&lt;LI&gt;Asynchronous clock (9.5 MHz at absolute maximum, according to the technical datasheet, Table 32 in 3.6.1.2)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In order to use a faster clock than alternate or asynchronous clock, Bus clock has to be used, which needs to be divided using CFG1[ADIV], so that it falls within the legal range of ADC clock. As the possible divider values are only 1, 2, 4 and 8, as described in the reference manual 39.4.2, this means that the maximum ADC clock value is 15 MHz (using divide-by-4, as using divide-by-2 results in 30 MHz, which is too fast for the ADC).&lt;/P&gt;&lt;P&gt;Do I miss something? Is there a possibility to derive a faster Bus clock to boost the ADC clock?&lt;BR /&gt;E.g., if the Bus clock was 90 MHz, one could get 22.5 MHz, getting close to the maximum 24 MHz for the ADC clock.&lt;/P&gt;&lt;P&gt;Does anyone have a suggestion on how to achieve this? Is it possible? Is there another option to achieve a higher ADC clock than 15 MHz?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 12:42:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK66FN2M0-FRDM-K66F-ADC-clocking-options/m-p/1333255#M61393</guid>
      <dc:creator>RadaD</dc:creator>
      <dc:date>2021-09-01T12:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: MK66FN2M0 / FRDM-K66F ADC clocking options</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK66FN2M0-FRDM-K66F-ADC-clocking-options/m-p/1334933#M61417</link>
      <description>&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190606"&gt;@RadaD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;In order to configure the clocks in a more dynamic way that will facilitate your work. We highly recommend the use of the MCUXpresso Config Tools that is a suite of evaluation and configuration tools that help you from initial evaluation to production software development. This will help you configure the clocks in a way to archive your application goals.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;Documentation and link for download.&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;-MCUXpresso Config Tools - Pins, Clocks, Peripherals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-config-tools-pins-clocks-peripherals:MCUXpresso-Config-Tools?tab=Documentation_Tab" target="_blank"&gt;https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-config-tools-pins-clocks-peripherals:MCUXpresso-Config-Tools?tab=Documentation_Tab&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 15:55:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/MK66FN2M0-FRDM-K66F-ADC-clocking-options/m-p/1334933#M61417</guid>
      <dc:creator>nxf77486</dc:creator>
      <dc:date>2021-09-03T15:55:32Z</dc:date>
    </item>
  </channel>
</rss>

