<?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 ADC intput pin's voltage changed in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1656513#M52695</link>
    <description>&lt;P&gt;Hi NXP,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using ADC in LPC54102J512 microcontroller. After executing the function ADC_DoSelfCalibration() specifically this command line: base-&amp;gt;STARTUP = ADC_STARTUP_ADC_ENA_MASK; tthen my ADC input pin's voltage changed from 1.7V to 3.5V. How to solve this problem. Here is my code config ADC:&lt;/P&gt;&lt;P&gt;static void ADC0_init(void) {&lt;BR /&gt;/* Perform self calibration */&lt;BR /&gt;ADC_DoSelfCalibration(ADC0_PERIPHERAL);&lt;BR /&gt;/* Initialize ADC0 peripheral */&lt;BR /&gt;ADC_Init(ADC0_PERIPHERAL, &amp;amp;ADC0configStruct);&lt;BR /&gt;/* Configure the conversion sequence A */&lt;BR /&gt;ADC_SetConvSeqAConfig(ADC0_PERIPHERAL, &amp;amp;ADC0ConvSeqAConfigStruct);&lt;BR /&gt;/* Enable the conversion sequence A */&lt;BR /&gt;ADC_EnableConvSeqA(ADC0_PERIPHERAL, true);&lt;BR /&gt;/* Configure threshold compare interrupt on channel 10 */&lt;BR /&gt;ADC_EnableThresholdCompareInterrupt(ADC0_PERIPHERAL, 8U, kADC_ThresholdInterruptDisabled);&lt;BR /&gt;ADC_EnableThresholdCompareInterrupt(ADC0_PERIPHERAL, 9U, kADC_ThresholdInterruptDisabled);&lt;BR /&gt;ADC_EnableThresholdCompareInterrupt(ADC0_PERIPHERAL, 10U, kADC_ThresholdInterruptDisabled);&lt;BR /&gt;}&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 09:36:24 GMT</pubDate>
    <dc:creator>Kaitochi</dc:creator>
    <dc:date>2023-05-24T09:36:24Z</dc:date>
    <item>
      <title>ADC intput pin's voltage changed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1656513#M52695</link>
      <description>&lt;P&gt;Hi NXP,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using ADC in LPC54102J512 microcontroller. After executing the function ADC_DoSelfCalibration() specifically this command line: base-&amp;gt;STARTUP = ADC_STARTUP_ADC_ENA_MASK; tthen my ADC input pin's voltage changed from 1.7V to 3.5V. How to solve this problem. Here is my code config ADC:&lt;/P&gt;&lt;P&gt;static void ADC0_init(void) {&lt;BR /&gt;/* Perform self calibration */&lt;BR /&gt;ADC_DoSelfCalibration(ADC0_PERIPHERAL);&lt;BR /&gt;/* Initialize ADC0 peripheral */&lt;BR /&gt;ADC_Init(ADC0_PERIPHERAL, &amp;amp;ADC0configStruct);&lt;BR /&gt;/* Configure the conversion sequence A */&lt;BR /&gt;ADC_SetConvSeqAConfig(ADC0_PERIPHERAL, &amp;amp;ADC0ConvSeqAConfigStruct);&lt;BR /&gt;/* Enable the conversion sequence A */&lt;BR /&gt;ADC_EnableConvSeqA(ADC0_PERIPHERAL, true);&lt;BR /&gt;/* Configure threshold compare interrupt on channel 10 */&lt;BR /&gt;ADC_EnableThresholdCompareInterrupt(ADC0_PERIPHERAL, 8U, kADC_ThresholdInterruptDisabled);&lt;BR /&gt;ADC_EnableThresholdCompareInterrupt(ADC0_PERIPHERAL, 9U, kADC_ThresholdInterruptDisabled);&lt;BR /&gt;ADC_EnableThresholdCompareInterrupt(ADC0_PERIPHERAL, 10U, kADC_ThresholdInterruptDisabled);&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 09:36:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1656513#M52695</guid>
      <dc:creator>Kaitochi</dc:creator>
      <dc:date>2023-05-24T09:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: ADC intput pin's voltage changed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657192#M52716</link>
      <description>&lt;P&gt;Is this happening with nothing connected?&lt;/P&gt;&lt;P&gt;If the pin defaults to output mode as a GPIO then I'd expect the voltage to change once you switch the pin to ADC input mode.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 02:13:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657192#M52716</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2023-05-25T02:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: ADC intput pin's voltage changed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657271#M52721</link>
      <description>&lt;P&gt;It is connected. I'm reading 3 channels 8, 9, 10 of ADC0. If 2 channels 9, 10 are not connected to the board, channel 8 channel 8 reads the correct result&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 04:08:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657271#M52721</guid>
      <dc:creator>Kaitochi</dc:creator>
      <dc:date>2023-05-25T04:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: ADC intput pin's voltage changed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657290#M52722</link>
      <description>&lt;P&gt;I haven't used the comparator function myself so I can't speak to that. When you say the voltage changes after starting the ADC, do you mean that the voltage measured externally (with a voltmeter or oscilloscope) is changing? What is the source impedance for the signal?&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 04:44:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657290#M52722</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2023-05-25T04:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: ADC intput pin's voltage changed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657302#M52723</link>
      <description>&lt;P&gt;You must provide either a low enough input impedance at your ADC inputs, or increase sampling time / inner-sample delays.&lt;/P&gt;&lt;P&gt;All ADC inputs&amp;nbsp;configured for a conversion sequence are connected to the same internal Sample&amp;amp;Hold capacitor in rapid succession (and then converted). If the input does not provide enough current to charge/discharge this S&amp;amp;H capacitor in the specified time, you get exactly this channel "crosstalk" effect.&lt;/P&gt;&lt;P&gt;You can view the ADC as a simple RC element in this regard.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 05:31:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657302#M52723</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2023-05-25T05:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: ADC intput pin's voltage changed</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657462#M52728</link>
      <description>&lt;P&gt;Thanks for your support. I have combined both ways and it works fine&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 08:15:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-intput-pin-s-voltage-changed/m-p/1657462#M52728</guid>
      <dc:creator>Kaitochi</dc:creator>
      <dc:date>2023-05-25T08:15:44Z</dc:date>
    </item>
  </channel>
</rss>

