<?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 Sampling time (LPC1317) in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Sampling-time-LPC1317/m-p/594006#M30729</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by micrio on Mon Mar 25 06:50:50 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In the LPC13XX data sheet the ADC input resistance is listed as 2.5M ohms&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and 1 pF.&amp;nbsp;&amp;nbsp; That should help you calculate your loading.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I always wondered what the ADC apature time is.&amp;nbsp;&amp;nbsp; I assume it is 1 clock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cycle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pete.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 22:55:32 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T22:55:32Z</dc:date>
    <item>
      <title>ADC Sampling time (LPC1317)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Sampling-time-LPC1317/m-p/594003#M30726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by aamir ali on Sun Mar 24 23:58:52 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In adc, there is conversion time &amp;amp; sampling time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Conversion time is always fixed &amp;amp; sampling time may vary according to source impedance.&amp;nbsp; Right???????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I have to measure battery voltage 12V via LPC. So I am using simple resistor divider of 300K &amp;amp; 100k. So when voltage of 12v appears I get 3V at ADC pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem is in this case my source impedence, according to thevenin is &lt;/SPAN&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;Rs = Rth = (100K || 300K)&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I didn't find anything related to sampling time in LPC datasheet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to solve this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also what's the conversion time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Sampling-time-LPC1317/m-p/594003#M30726</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Sampling time (LPC1317)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Sampling-time-LPC1317/m-p/594004#M30727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon Mar 25 02:40:46 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Aamir Ali&lt;/STRONG&gt;&lt;BR /&gt;But I didn't find anything related to sampling time in LPC datasheet.&lt;BR /&gt;&lt;BR /&gt;How to solve this problem.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Read User Manual UM10524 :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;20.2 Basic configuration&lt;BR /&gt;...&lt;BR /&gt;Remark: Basic clocking for the A/D converters is provided by the APB clock. A programmable divider is included in each converter to scale this clock to the clock (maximum 15.5 MHz in 12-bit mode or 31 MHz in 10-bit mode (BURST bit = 0)) needed by the successive approximation process. [COLOR=Red]A fully accurate conversion requires 31 of these clocks.[/COLOR]&lt;BR /&gt;&lt;BR /&gt;20.3 Features&lt;BR /&gt;&amp;amp;#8226; 12-bit successive approximation Analog-to-Digital Converter (ADC).&lt;BR /&gt;&amp;amp;#8226; Input multiplexing among 8 pins.&lt;BR /&gt;&amp;amp;#8226; Power-down mode (see PDRUNCFG register in the SYSCON block (Table 42).&lt;BR /&gt;&amp;amp;#8226; Low power mode.&lt;BR /&gt;&amp;amp;#8226; Measurement range VREFN to VREFP (or 0 V to VDD for pin packages without&lt;BR /&gt;VREFP and VREFN pins). Do not exceed the VDD voltage level.&lt;BR /&gt;[COLOR=Red]&amp;amp;#8226; 12-bit conversion rate of 500 kSamples/s.&lt;BR /&gt;&amp;amp;#8226; 10-bit, double conversion rate mode (up to 1 Msamples/s).[/COLOR]&lt;BR /&gt;&amp;amp;#8226; Burst conversion mode for single or multiple inputs.&lt;BR /&gt;&amp;amp;#8226; Optional conversion on transition on input pin or Timer Match signal.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:55:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Sampling-time-LPC1317/m-p/594004#M30727</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Sampling time (LPC1317)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Sampling-time-LPC1317/m-p/594005#M30728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by aamir ali on Mon Mar 25 04:59:03 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Zero,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know conversion time is fixed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sampling time which datasheet mentions in LPC1317, is mentioned with no source resistor value. So one can assume that for that much of speed no source resistance is used.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But problem occurs when source resistance is high, like in my case. Due to large source resistance the capacitor don't get fully charged if not sampled for enough time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally 8, 16 Bit MCU have this time mentioned,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;For example for MSP4330G2553, tsample should be greater than&lt;BR /&gt;tsample &amp;gt; (RS + RI) × ln(2^11) × C,&lt;BR /&gt;&lt;BR /&gt;Rs - Rsource,&lt;BR /&gt;Ri - input mux resistance&lt;BR /&gt;C = cap.&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have gone through many of ARM documents/other cortex M3 MCU, none have mentioned the sampling time formula.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:55:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Sampling-time-LPC1317/m-p/594005#M30728</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Sampling time (LPC1317)</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Sampling-time-LPC1317/m-p/594006#M30729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by micrio on Mon Mar 25 06:50:50 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In the LPC13XX data sheet the ADC input resistance is listed as 2.5M ohms&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and 1 pF.&amp;nbsp;&amp;nbsp; That should help you calculate your loading.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I always wondered what the ADC apature time is.&amp;nbsp;&amp;nbsp; I assume it is 1 clock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cycle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pete.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 22:55:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/ADC-Sampling-time-LPC1317/m-p/594006#M30729</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T22:55:32Z</dc:date>
    </item>
  </channel>
</rss>

