<?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のトピックanalog comparator LPC80x features</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/analog-comparator-LPC80x-features/m-p/1444155#M48486</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Ineed the following feature from an LPC802 microcontroller.&lt;/P&gt;&lt;P&gt;While in deep sleep it needs to wakeup when a voltage from an ADC input exceeds a defined voltage level.&lt;/P&gt;&lt;P&gt;Can I measuse from an ADC and feed the comparator to raise an IRQ while in deep sleep ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thodoris&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2022 12:53:23 GMT</pubDate>
    <dc:creator>theodorebelogia</dc:creator>
    <dc:date>2022-04-14T12:53:23Z</dc:date>
    <item>
      <title>analog comparator LPC80x features</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/analog-comparator-LPC80x-features/m-p/1444155#M48486</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Ineed the following feature from an LPC802 microcontroller.&lt;/P&gt;&lt;P&gt;While in deep sleep it needs to wakeup when a voltage from an ADC input exceeds a defined voltage level.&lt;/P&gt;&lt;P&gt;Can I measuse from an ADC and feed the comparator to raise an IRQ while in deep sleep ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Thodoris&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 12:53:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/analog-comparator-LPC80x-features/m-p/1444155#M48486</guid>
      <dc:creator>theodorebelogia</dc:creator>
      <dc:date>2022-04-14T12:53:23Z</dc:date>
    </item>
    <item>
      <title>Re: analog comparator LPC80x features</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/analog-comparator-LPC80x-features/m-p/1444422#M48487</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Regarding your question, I think you can connect the analog&amp;nbsp; waking-up signal to the multiplexed pin for both ADC analog channel and CMP input pin, for example the PIO0_14/ADC_2/ACMP_I3 for LPC802.&lt;/P&gt;
&lt;P&gt;I think you can use the CMP_OUT signal to wake-up the processor in both deep-sleep and power-down mode. You have to configure the PDAWAKECFG and PDRUNCFG registers to set up CMP_OUT waking-up.&lt;/P&gt;
&lt;P&gt;For detailed inf, pls refer to section 6.6.27 Wake-up configuration register.&lt;/P&gt;
&lt;P&gt;You have to enable the CMP_OUT interrupt and create a ISR.&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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xiangjun_rong_0-1650002126090.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/177026iDE93A7E8B0A5B09C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="xiangjun_rong_0-1650002126090.png" alt="xiangjun_rong_0-1650002126090.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 06:07:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/analog-comparator-LPC80x-features/m-p/1444422#M48487</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2022-04-15T06:07:49Z</dc:date>
    </item>
  </channel>
</rss>

