<?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: ADC clock frequency in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1621628#M52017</link>
    <description>&lt;P&gt;Hi，&lt;/P&gt;
&lt;P&gt;For LPC552x, The maximum ADC clock frequency is 24mhz instead of 96mhz.&lt;/P&gt;
&lt;P&gt;This is the ADC sampling rate formula:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ADC Conversion rate = ADC clock frequency / (Sample clocks + Conversion clocks)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The conversion mode:&lt;/P&gt;
&lt;P&gt;In 12-bit mode conversions. The conversion time is 17.5 ADC clocks,&lt;/P&gt;
&lt;P&gt;In 16-bit mode conversions. The conversion time is 20.5 ADC clocks.&lt;/P&gt;
&lt;P&gt;The minimum &lt;SPAN&gt;Sample clocks&lt;/SPAN&gt; is 3.5 clock cycles.&lt;/P&gt;
&lt;P&gt;so we can figure out that the maximum sample frequency is&lt;/P&gt;
&lt;P&gt;24MHz/(3.5+20.5)=1MHz in 16 bits mode.&lt;/P&gt;
&lt;P&gt;24MHz/(3.5+17.5)=1.14MHz in 12 bits mode.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1679656916090.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/216158i6E5F054316D2EBF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1679656916090.png" alt="xiangjun_rong_0-1679656916090.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
    <pubDate>Fri, 24 Mar 2023 11:22:45 GMT</pubDate>
    <dc:creator>xiangjun_rong</dc:creator>
    <dc:date>2023-03-24T11:22:45Z</dc:date>
    <item>
      <title>ADC clock frequency</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1621557#M52012</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;I'm developing a project based on LPC5526 CPU. I read in the LPC5526JBD100_User_Manual_11126 UM11126.pdf file:&lt;/P&gt;&lt;P&gt;"The ADC target sampling rate is 1 mega sample per second. See Figure 4." (pag. 789)&lt;/P&gt;&lt;P&gt;It means that the sample period is 1 &lt;FONT face="Liberation Sans, sans-serif"&gt;µ&lt;/FONT&gt;s&lt;/P&gt;&lt;P&gt;But if I set 96MHz clock source frequency, Single conversion, 3 ADCK cycles total sample time the sampre time is 31.25 ns and the total conversione time is 213.542 ns for one loop that is lower than 1 &lt;FONT face="Liberation Sans, sans-serif"&gt;µ&lt;/FONT&gt;s.&lt;/P&gt;&lt;P&gt;Could you explain it better ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you very much for your help and cooperation&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 09:14:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1621557#M52012</guid>
      <dc:creator>_Ferrari_</dc:creator>
      <dc:date>2023-03-24T09:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: ADC clock frequency</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1621628#M52017</link>
      <description>&lt;P&gt;Hi，&lt;/P&gt;
&lt;P&gt;For LPC552x, The maximum ADC clock frequency is 24mhz instead of 96mhz.&lt;/P&gt;
&lt;P&gt;This is the ADC sampling rate formula:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;ADC Conversion rate = ADC clock frequency / (Sample clocks + Conversion clocks)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The conversion mode:&lt;/P&gt;
&lt;P&gt;In 12-bit mode conversions. The conversion time is 17.5 ADC clocks,&lt;/P&gt;
&lt;P&gt;In 16-bit mode conversions. The conversion time is 20.5 ADC clocks.&lt;/P&gt;
&lt;P&gt;The minimum &lt;SPAN&gt;Sample clocks&lt;/SPAN&gt; is 3.5 clock cycles.&lt;/P&gt;
&lt;P&gt;so we can figure out that the maximum sample frequency is&lt;/P&gt;
&lt;P&gt;24MHz/(3.5+20.5)=1MHz in 16 bits mode.&lt;/P&gt;
&lt;P&gt;24MHz/(3.5+17.5)=1.14MHz in 12 bits mode.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1679656916090.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/216158i6E5F054316D2EBF6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1679656916090.png" alt="xiangjun_rong_0-1679656916090.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 11:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1621628#M52017</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-03-24T11:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: ADC clock frequency</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1622688#M52049</link>
      <description>&lt;P&gt;Thank you for your email I read it.&lt;/P&gt;&lt;P&gt;Unfortunately what is reported in the config tool is false (please see the attacched file)&lt;/P&gt;&lt;P&gt;Could you explain me better ?&lt;/P&gt;&lt;P&gt;Thank you very much for your help and cooperation&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 14:45:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1622688#M52049</guid>
      <dc:creator>_Ferrari_</dc:creator>
      <dc:date>2023-03-27T14:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: ADC clock frequency</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1622940#M52052</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You have to set up the ADC clock in clock menu so that the ADC clock is equal to or less than 24MHz&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1679970241223.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/216490iE9FC4878BD39FA54/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1679970241223.png" alt="xiangjun_rong_0-1679970241223.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then you can use the config tools to configure the ADC based on 24MHz ADC clock&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_1-1679970615266.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/216493i3BDD7CE0CBFF9318/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_1-1679970615266.png" alt="xiangjun_rong_1-1679970615266.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can see that single conversion time approaches to 1us.&lt;/P&gt;
&lt;P&gt;Hope it can help you&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;XiangJun Rong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 02:31:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1622940#M52052</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-03-28T02:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: ADC clock frequency</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1623870#M52061</link>
      <description>&lt;P&gt;dear &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your explanation, very clear,&lt;/P&gt;&lt;P&gt;but, as you can see, I can set the ADC clock at 96MHz in the ADC0 tabs of peripherals tool without any error or warning.&lt;/P&gt;&lt;P&gt;May be it is a bug of MCUXpresso config tool.&lt;/P&gt;&lt;P&gt;Thank you very much for your help and cooperation&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Mar 2023 06:27:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-clock-frequency/m-p/1623870#M52061</guid>
      <dc:creator>_Ferrari_</dc:creator>
      <dc:date>2023-03-29T06:27:16Z</dc:date>
    </item>
  </channel>
</rss>

