<?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 LPC54018 ADC Sampling rate modification issue in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-ADC-Sampling-rate-modification-issue/m-p/1199339#M43258</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;This is a beginner question.&lt;/P&gt;&lt;P&gt;I am trying to configure the ADC at as low as 1000 samples/sec (I am OK with 5ksamples/sec too). I changed kADC_ClockSynchronousMode and&lt;/P&gt;&lt;P&gt;kADC_ClockAsynchronousMode mode. however, I could not get grasp on it. I see same sampling rate. I tried changing values of clockDividerNumber,&amp;nbsp;sampleTimeNumber,&amp;nbsp;ADC_CTRL_TSAMP_MASK,ADC_CTRL_ASYNMODE_MASK,ADC_CTRL_RESOL_MASK. Still I see no change in sampling rate. I see same values at MCUexpresso console. Is there any other way that I can see actual sampling rate? Previously I thought different console speed of USB shows less no. of&amp;nbsp; ADC result values then I tried watching memory. I observed same no. of values over there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly guide me. or small sample code will be helpful. Many thanks,&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 05:05:23 GMT</pubDate>
    <dc:creator>Gopalvishwakarma</dc:creator>
    <dc:date>2020-12-15T05:05:23Z</dc:date>
    <item>
      <title>LPC54018 ADC Sampling rate modification issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-ADC-Sampling-rate-modification-issue/m-p/1199339#M43258</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;This is a beginner question.&lt;/P&gt;&lt;P&gt;I am trying to configure the ADC at as low as 1000 samples/sec (I am OK with 5ksamples/sec too). I changed kADC_ClockSynchronousMode and&lt;/P&gt;&lt;P&gt;kADC_ClockAsynchronousMode mode. however, I could not get grasp on it. I see same sampling rate. I tried changing values of clockDividerNumber,&amp;nbsp;sampleTimeNumber,&amp;nbsp;ADC_CTRL_TSAMP_MASK,ADC_CTRL_ASYNMODE_MASK,ADC_CTRL_RESOL_MASK. Still I see no change in sampling rate. I see same values at MCUexpresso console. Is there any other way that I can see actual sampling rate? Previously I thought different console speed of USB shows less no. of&amp;nbsp; ADC result values then I tried watching memory. I observed same no. of values over there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kindly guide me. or small sample code will be helpful. Many thanks,&lt;/P&gt;&lt;P&gt;Gopal&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 05:05:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-ADC-Sampling-rate-modification-issue/m-p/1199339#M43258</guid>
      <dc:creator>Gopalvishwakarma</dc:creator>
      <dc:date>2020-12-15T05:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: LPC54018 ADC Sampling rate modification issue</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-ADC-Sampling-rate-modification-issue/m-p/1201847#M43307</link>
      <description>&lt;P&gt;I suggest you config ADC setting with config tool rather than modify code directly. If use ADC clock from syscon. config it as below.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZhangJennie_0-1608300396860.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133072i0798C7160954099A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZhangJennie_0-1608300396860.png" alt="ZhangJennie_0-1608300396860.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Dec 2020 14:08:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC54018-ADC-Sampling-rate-modification-issue/m-p/1201847#M43307</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2020-12-18T14:08:14Z</dc:date>
    </item>
  </channel>
</rss>

