<?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 Vrefn in LPC804 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1384613#M47345</link>
    <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the quick reply. As mentioned, this testing is already performed and attaching the observations. Please go through them and suggest if any modifications need to be done.&lt;/P&gt;&lt;P&gt;Thank You&amp;amp; Regards&lt;/P&gt;&lt;P&gt;B PAVAN KUMAR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Dec 2021 07:13:31 GMT</pubDate>
    <dc:creator>PK_1114</dc:creator>
    <dc:date>2021-12-10T07:13:31Z</dc:date>
    <item>
      <title>ADC Vrefn in LPC804</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1377778#M47133</link>
      <description>&lt;P&gt;dear Sir,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/61445"&gt;@nxp&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please Provide the information regarding the LPC804 ADC Connection.&lt;/P&gt;&lt;P&gt;in the Datasheet mention that &lt;STRONG&gt;tie the Vrefp to VDD and Vrefn to VSS when ADC is not used.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;in case ADC Used &lt;STRONG&gt;VREFP&lt;/STRONG&gt; is connected to the ADC reference voltage but &lt;STRONG&gt;VREFN&lt;/STRONG&gt; pin is not terminated out side how to connect the Analog Ground to &lt;STRONG&gt;VREFN&lt;/STRONG&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the consequences if ADC VREFN is connected to the &lt;STRONG&gt;Digital GND&lt;/STRONG&gt; internally. what is the Effect on the ADC Readings.&lt;/P&gt;&lt;P&gt;If Possible Please Provide the ADC Application Note for the LPC804 or any Schematic Reference.&lt;/P&gt;&lt;P&gt;Thank You &amp;amp; Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;B PAVAN KUMAR&amp;nbsp;&lt;/P&gt;&lt;P&gt;R&amp;amp;D Efftronics.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 27 Nov 2021 05:41:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1377778#M47133</guid>
      <dc:creator>PK_1114</dc:creator>
      <dc:date>2021-11-27T05:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Vrefn in LPC804</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1377839#M47137</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;For the LPC804 silicon, there is not&amp;nbsp; VDDA,VSSA pins, the VDDA is connected to VDD internally, the Vrefn, VSSA are connected to VSS internally.&lt;/P&gt;
&lt;P&gt;Because LPC804 is a low cost and reduced package processor, the Vrefn and VDDA,VSSA pins are NOT connected to external pads as the following Fig.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1638149091565.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/163375i1F18F8FDBCF566F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1638149091565.png" alt="xiangjun_rong_0-1638149091565.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regarding the effect of above connection, I think maybe the digital noise take effect on the ADC sample result, but the noise is small.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 01:45:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1377839#M47137</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-12-10T01:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Vrefn in LPC804</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1384024#M47335</link>
      <description>&lt;P&gt;Dear Sir,&lt;/P&gt;&lt;P&gt;While&amp;nbsp; i am Configure the PIO0_7 as the ADC -1 But it read the default 3.3V. without Connecting to the Any Division Circuit.&lt;/P&gt;&lt;P&gt;But it read the 0.5V when connected to the Divider network with out the&amp;nbsp; any voltage source to the Network how to clear this&amp;nbsp; condition.&lt;/P&gt;&lt;P&gt;SYSCON-&amp;gt;SYSAHBCLKCTRL0 |= ( EN_GPIO0_CLK | EN_CTIMER0_CLK | EN_UART0_CLK | EN_GPIOINT_CLK );&lt;BR /&gt;SystemCoreClockUpdate();&lt;BR /&gt;current_clkdiv = (SystemCoreClock / 500000) - 1;&lt;BR /&gt;SYSCON-&amp;gt;SYSAHBCLKCTRL0 |= ( EN_ADC_CLK );&lt;BR /&gt;SYSCON-&amp;gt;SYSAHBCLKCTRL0 |=(1&amp;lt;&amp;lt;7);&lt;BR /&gt;SWM0-&amp;gt;PINENABLE0 &amp;amp;= ~(1&amp;lt;&amp;lt;11);&lt;BR /&gt;SYSCON-&amp;gt;SYSAHBCLKCTRL0 &amp;amp;=~(1&amp;lt;&amp;lt;7);&lt;BR /&gt;SYSCON-&amp;gt;PDRUNCFG &amp;amp;= ~(ADC_PD);&lt;BR /&gt;ADC-&amp;gt;CTRL = (current_clkdiv&amp;lt;&amp;lt;ADC_CLKDIV) ;&lt;BR /&gt;IOCON-&amp;gt;PIO[7] = 0x0400;&lt;BR /&gt;SYSCON-&amp;gt;PRESETCTRL0 &amp;amp;= (ADC_RST_N);&lt;BR /&gt;SYSCON-&amp;gt;PRESETCTRL0 |= ~(ADC_RST_N);&lt;BR /&gt;current_clkdiv = (SystemCoreClock / (25 * DESIRED_SAMPLE_RATE)) - 1;&lt;BR /&gt;ADC-&amp;gt;SEQ_CTRL[0] |= (1&amp;lt;&amp;lt;1|1u&amp;lt;&amp;lt;31);&lt;BR /&gt;ADC-&amp;gt;SEQ_CTRL[0] = (ADC-&amp;gt;SEQ_CTRL[0]) | (1 &amp;lt;&amp;lt; ADC_START); // It will restarts the ADC&lt;BR /&gt;ADC-&amp;gt;INTEN |=(1&amp;lt;&amp;lt;0);&lt;BR /&gt;NVIC-&amp;gt;ISER[0U] = (uint32_t)(1UL &amp;lt;&amp;lt; (((uint32_t)(int32_t)16) &amp;amp; 0x1FUL));&lt;BR /&gt;vUSART0_Initi(BAUD_RATE,USART_CNFG);&lt;BR /&gt;GPIO-&amp;gt;DIR[0] |= (1&amp;lt;&amp;lt;20);&lt;BR /&gt;SysTick_Config(SystemCoreClock/(1200));&lt;/P&gt;&lt;P&gt;It is the Configuration.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please provide the information to read the data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You &amp;amp; Regards&amp;nbsp;&lt;/P&gt;&lt;P&gt;B PAVAN KUMAR&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Dec 2021 11:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1384024#M47335</guid>
      <dc:creator>PK_1114</dc:creator>
      <dc:date>2021-12-09T11:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Vrefn in LPC804</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1384445#M47341</link>
      <description>&lt;P&gt;HI, KUMAR ,&lt;/P&gt;
&lt;P&gt;From hardware connection perspective, you have to connect the ADC Vref pin to VDD.&lt;/P&gt;
&lt;P&gt;Regarding the ADC channel voltage which you want to sample, I do not think it make sense to sample a float analog pin of ADC, because the sample is random. If you want to sample an analog pin of ADC, the pin must be driven by external voltage source.&lt;/P&gt;
&lt;P&gt;I think you code is correct.&lt;/P&gt;
&lt;P&gt;Pls try to connect the ADC_1(PIO0_7) to VDD or GND, what is the result?&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 02:00:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1384445#M47341</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-12-10T02:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Vrefn in LPC804</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1384613#M47345</link>
      <description>&lt;P&gt;Dear&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/26034"&gt;@xiangjun_rong&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for the quick reply. As mentioned, this testing is already performed and attaching the observations. Please go through them and suggest if any modifications need to be done.&lt;/P&gt;&lt;P&gt;Thank You&amp;amp; Regards&lt;/P&gt;&lt;P&gt;B PAVAN KUMAR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 07:13:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1384613#M47345</guid>
      <dc:creator>PK_1114</dc:creator>
      <dc:date>2021-12-10T07:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: ADC Vrefn in LPC804</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1384682#M47346</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;First of all, pls test if the ADC result is correct.&lt;/P&gt;
&lt;P&gt;1)connect the ADC_1 to GND directly, then check if the sample approaches to zero&lt;/P&gt;
&lt;P&gt;2)connect the ADC_1 to GND, then check if the sample approaches to 0xFFF&lt;/P&gt;
&lt;P&gt;If the above two tests are okay, but your actual application test has issue, I suppose that your external signal conditional has issue. In detail, the 270kohm resistor is too large, This is my suggestion, you can remove the 200 ohm resistor and replace with a buffer based on AMP, then use ADC to have a test for the AMP output.&lt;/P&gt;
&lt;P&gt;The ADC input impedance is small.&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2021 08:21:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ADC-Vrefn-in-LPC804/m-p/1384682#M47346</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2021-12-10T08:21:30Z</dc:date>
    </item>
  </channel>
</rss>

