<?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のトピックRe: How to configure LPC845 BRK ADC2 and ADC3?</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-LPC845-BRK-ADC2-and-ADC3/m-p/1858406#M55963</link>
    <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt; I am using LPC845 BRK and need to configure ADC2 and ADC3 to measure voltage levels from pin27 and pin8.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't have/use a LPC845 myself.&lt;BR /&gt;But, reading the datasheet, I think you got that wrong. This MCU has only one ADC, which can have up to 12 separate channels.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To use these channels, you would need to initialize the respective GPIO pins similiar channel 0 (which I think the mentioned example provides).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt; ADC_DoSelfCalibration(ADC2_BASE, frequency));&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And a calibration is done for the whole ADC unit, not individual channels.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 02 May 2024 12:46:04 GMT</pubDate>
    <dc:creator>frank_m</dc:creator>
    <dc:date>2024-05-02T12:46:04Z</dc:date>
    <item>
      <title>How to configure LPC845 BRK ADC2 and ADC3?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-LPC845-BRK-ADC2-and-ADC3/m-p/1857339#M55955</link>
      <description>&lt;P&gt;I am using LPC845 BRK and need to configure ADC2 and ADC3 to measure voltage levels from pin27 and pin8.&lt;BR /&gt;&lt;BR /&gt;Example project is lpc845breakout_lpc_adc_basic. ADC0 works without any problem with this project.&lt;BR /&gt;Tried to expand the project to use ADC2 and ADC3 like this,&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DoSelfCalibration(ADC2_BASE, frequency));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_DoSelfCalibration(ADC3_BASE, frequency))&lt;/SPAN&gt;;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;ADC_Init(ADC2_BASE, &amp;amp;adcConfigStruct);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ADC_Init(ADC3_BASE, &amp;amp;adcConfigStruct);&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;If ADC0 defined as ADC base address, what is base addresses for ADC2 and ADC3?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;#define&lt;/SPAN&gt;&lt;SPAN&gt; ADC0_BASE (0x4001C000u) //in LPC845.h&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;I hope that you can share an example how ADC2 and ADC3 to be configured successfully.&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;Ossi&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Apr 2024 07:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-LPC845-BRK-ADC2-and-ADC3/m-p/1857339#M55955</guid>
      <dc:creator>OssiH</dc:creator>
      <dc:date>2024-04-30T07:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure LPC845 BRK ADC2 and ADC3?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-LPC845-BRK-ADC2-and-ADC3/m-p/1858406#M55963</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt; I am using LPC845 BRK and need to configure ADC2 and ADC3 to measure voltage levels from pin27 and pin8.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't have/use a LPC845 myself.&lt;BR /&gt;But, reading the datasheet, I think you got that wrong. This MCU has only one ADC, which can have up to 12 separate channels.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To use these channels, you would need to initialize the respective GPIO pins similiar channel 0 (which I think the mentioned example provides).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&amp;gt; ADC_DoSelfCalibration(ADC2_BASE, frequency));&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And a calibration is done for the whole ADC unit, not individual channels.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 12:46:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-LPC845-BRK-ADC2-and-ADC3/m-p/1858406#M55963</guid>
      <dc:creator>frank_m</dc:creator>
      <dc:date>2024-05-02T12:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure LPC845 BRK ADC2 and ADC3?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-LPC845-BRK-ADC2-and-ADC3/m-p/1858728#M55965</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks for the clarification frank_m,&lt;BR /&gt;this is clear to me now&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 04:02:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-configure-LPC845-BRK-ADC2-and-ADC3/m-p/1858728#M55965</guid>
      <dc:creator>OssiH</dc:creator>
      <dc:date>2024-05-03T04:02:16Z</dc:date>
    </item>
  </channel>
</rss>

