<?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>LPC MicrocontrollersのトピックLPC55S69 - LPADC Clock Frequency - CFG[PWRSEL] Dependent</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-LPADC-Clock-Frequency-CFG-PWRSEL-Dependent/m-p/1673584#M53146</link>
    <description>&lt;P&gt;Hi, I am trying to find out about the LPADC clock speed restrictions, and how they are affected by the CFG{PWRSEL] setting.&lt;/P&gt;&lt;P&gt;In the peripheral configuration tool "Power Level" for the ADC0 has 4 options, described (not very helpfully) as "Lowest", "Next Lowest", "Next Highest" and "Highest".&lt;BR /&gt;The tool tip gives a little more information:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_0-1687344903022.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228754i465445DF1B92619C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_0-1687344903022.png" alt="PhilV_0-1687344903022.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Inspecting the register through the Peripheral register view gives very similar "help":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_1-1687344960145.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228755i2D45F534C4CA91CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_1-1687344960145.png" alt="PhilV_1-1687344960145.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The User Manual (Rev. 2.4 — 8 October 2021) states:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_2-1687345041411.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228756iE40FA7CA02608DE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_2-1687345041411.png" alt="PhilV_2-1687345041411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However the datasheet for LPC55S6x (Rev 2.4 8 December 2022) only shows the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_4-1687345471405.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228759i9F8579025A5989C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_4-1687345471405.png" alt="PhilV_4-1687345471405.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_5-1687345488102.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228760iE482C43C8BDF63BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_5-1687345488102.png" alt="PhilV_5-1687345488102.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So even here I can only see that 24MHz max is mentioned, and that note 11 says if I want to use the temperature sensor I have to slow the clock to 6MHz.&lt;/P&gt;&lt;P&gt;So;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What affect&amp;nbsp;&lt;EM&gt;does&lt;/EM&gt; changing the CFG[PWRSEL] value have, and how should the clock speed be adjusted in relation?&lt;/LI&gt;&lt;LI&gt;Does 24MHz ADCK provide 1Msample/s?&lt;/LI&gt;&lt;LI&gt;If so what effect does slowing the clock to 6MHz have so that the temperature sensor can be used?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Similarly ADC power consumption is only give for CFG[PWRSEL] = 0; how do I determine what effect setting to other power levels would have (on either the power consumption or the conversion rate?):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_6-1687346098426.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228762iC9BD3052D68B9B13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_6-1687346098426.png" alt="PhilV_6-1687346098426.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Jun 2023 11:15:44 GMT</pubDate>
    <dc:creator>PhilV</dc:creator>
    <dc:date>2023-06-21T11:15:44Z</dc:date>
    <item>
      <title>LPC55S69 - LPADC Clock Frequency - CFG[PWRSEL] Dependent</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-LPADC-Clock-Frequency-CFG-PWRSEL-Dependent/m-p/1673584#M53146</link>
      <description>&lt;P&gt;Hi, I am trying to find out about the LPADC clock speed restrictions, and how they are affected by the CFG{PWRSEL] setting.&lt;/P&gt;&lt;P&gt;In the peripheral configuration tool "Power Level" for the ADC0 has 4 options, described (not very helpfully) as "Lowest", "Next Lowest", "Next Highest" and "Highest".&lt;BR /&gt;The tool tip gives a little more information:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_0-1687344903022.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228754i465445DF1B92619C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_0-1687344903022.png" alt="PhilV_0-1687344903022.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Inspecting the register through the Peripheral register view gives very similar "help":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_1-1687344960145.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228755i2D45F534C4CA91CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_1-1687344960145.png" alt="PhilV_1-1687344960145.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The User Manual (Rev. 2.4 — 8 October 2021) states:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_2-1687345041411.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228756iE40FA7CA02608DE9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_2-1687345041411.png" alt="PhilV_2-1687345041411.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However the datasheet for LPC55S6x (Rev 2.4 8 December 2022) only shows the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_4-1687345471405.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228759i9F8579025A5989C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_4-1687345471405.png" alt="PhilV_4-1687345471405.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_5-1687345488102.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228760iE482C43C8BDF63BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_5-1687345488102.png" alt="PhilV_5-1687345488102.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So even here I can only see that 24MHz max is mentioned, and that note 11 says if I want to use the temperature sensor I have to slow the clock to 6MHz.&lt;/P&gt;&lt;P&gt;So;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;What affect&amp;nbsp;&lt;EM&gt;does&lt;/EM&gt; changing the CFG[PWRSEL] value have, and how should the clock speed be adjusted in relation?&lt;/LI&gt;&lt;LI&gt;Does 24MHz ADCK provide 1Msample/s?&lt;/LI&gt;&lt;LI&gt;If so what effect does slowing the clock to 6MHz have so that the temperature sensor can be used?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Similarly ADC power consumption is only give for CFG[PWRSEL] = 0; how do I determine what effect setting to other power levels would have (on either the power consumption or the conversion rate?):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PhilV_6-1687346098426.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/228762iC9BD3052D68B9B13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PhilV_6-1687346098426.png" alt="PhilV_6-1687346098426.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jun 2023 11:15:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-LPADC-Clock-Frequency-CFG-PWRSEL-Dependent/m-p/1673584#M53146</guid>
      <dc:creator>PhilV</dc:creator>
      <dc:date>2023-06-21T11:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC55S69 - LPADC Clock Frequency - CFG[PWRSEL] Dependent</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-LPADC-Clock-Frequency-CFG-PWRSEL-Dependent/m-p/1675400#M53216</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As the following fig, till now, the PWRSEL bits have to be set up as 00 in binary, the other setting are reserved.&lt;/P&gt;
&lt;P&gt;The ADC driving clock frequency is set up as 24MHz at most,&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1687677545360.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/229134iDDC451B9C824A3C8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1687677545360.png" alt="xiangjun_rong_0-1687677545360.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;For the ADC conversion rate, I suppose that you can use the formula to figure out:&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;&lt;SPAN&gt;The ADC clock frequency is 24Mhz at most&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The Sample clocks is defined in the STS bits in CMDH[1:15]&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The conversion clocks is as following:&lt;/SPAN&gt;&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;&lt;SPAN&gt;In 16-bit mode conversions. The conversion time is 20.5 ADC clocks.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The value of Power Enable PWREN in CFG register is set to 1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope it can help you&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;XiangJun Rong&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2023 07:38:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC55S69-LPADC-Clock-Frequency-CFG-PWRSEL-Dependent/m-p/1675400#M53216</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2023-06-25T07:38:17Z</dc:date>
    </item>
  </channel>
</rss>

