<?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: LPC15xx comparator large propagation delay in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514423#M679</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Limit on my setup is around 5kHz (!!!!) triangle shaped input signal. Any&amp;nbsp;faster and comparator is stuck&amp;nbsp;on high level. Delay settings, clock&amp;nbsp; settings, pin filter settings - no positive effect. Chip is 64pin lpc1549, comparator output is routed to to pin via swm. Interrupt from comparator is affected too. Same results on comparator #0, and #2. I am out of ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jun 2018 09:08:37 GMT</pubDate>
    <dc:creator>danlhajek</dc:creator>
    <dc:date>2018-06-12T09:08:37Z</dc:date>
    <item>
      <title>LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514418#M674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by p.h.v.heumen@gmail.com on Thu Mar 03 08:25:17 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While implementing a sensorless BLDC motor controller with the LPC15xx I encountered the problem that the analog comparators have a large propagation delay of several of hunderds microseconds. From the datasheet one would expect something in the order of nanoseconds instead.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The way I observe this large delay is in the following configuration:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Inverting input is connected to the internal voltage divider.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Non-inverting input is connected to a ADC pin and is driven by a function generator. The waveform applied is a sqaure wave from 0V to 2V with a rise-time of about 40 ns.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- The output is connected trough the switch matrix to an arbitrary pin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For different settings for the voltage divider the delay of the output to the input square-wave varies from 50 us to 600 us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tested to connect the Inverting input to a physical pin and apply a constant voltage to that pin. Here I do similar observations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the figure you see an example of a measurement. The yellow and blue trace is the non-inverting input and the purple trace is the comparator output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any commonly made mistakes that causes this large propagation delay? &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:11:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514418#M674</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514419#M675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:03:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514419#M675</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514420#M676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to confirm findings of p.h.v.heumen.&lt;/P&gt;&lt;P&gt;I also faced large propagation delays on ACMP1 and ACMP2 with LPC1549(LQFP100). I did not make a special test setup to investigate deeper but I found that edges are missing on the ACMP1.IN3 and ACMP2.IN3.&lt;/P&gt;&lt;P&gt;Than I routed the ACMP output to a pin and confirmed that some of the pulses shorter than 100 us are missed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bypassing the ACMP solved the problem.&lt;/P&gt;&lt;P&gt;However in the datsheet it is specified that the propagatiopn delay of ACMP is 250 ns in the worst case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also interested in finding the root cause of this behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Zdravko&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 07:57:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514420#M676</guid>
      <dc:creator>zdravkodimitrov</dc:creator>
      <dc:date>2016-08-12T07:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514421#M677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two years later still same problem. Errata - nothing. Comparators are slow as hell and not a single word from nxp.&lt;/P&gt;&lt;P&gt;Do not use them.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 21:18:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514421#M677</guid>
      <dc:creator>danlhajek</dc:creator>
      <dc:date>2018-06-11T21:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514422#M678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the warning. I was about to use the comparators in a switched-mode supply-type application.&lt;/P&gt;&lt;P&gt;Did you observe any differences in changing the DLY (delay) settings?&lt;/P&gt;&lt;P&gt;If you read the datasheet you will see a current consumption of 38uA and a propagation delay of 24ns - doesn't that seem rather too good? The best Texas can manage in standalone comparators for that power consumption is 250ns, and most of their low-power comparators are &amp;gt;5us.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 08:42:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514422#M678</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2018-06-12T08:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514423#M679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Limit on my setup is around 5kHz (!!!!) triangle shaped input signal. Any&amp;nbsp;faster and comparator is stuck&amp;nbsp;on high level. Delay settings, clock&amp;nbsp; settings, pin filter settings - no positive effect. Chip is 64pin lpc1549, comparator output is routed to to pin via swm. Interrupt from comparator is affected too. Same results on comparator #0, and #2. I am out of ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 09:08:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514423#M679</guid>
      <dc:creator>danlhajek</dc:creator>
      <dc:date>2018-06-12T09:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514424#M680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There seems to be quite a bit of stuff AFTER the comparator (p527 of the manual). I wonder if it's a perfectly good comparator, and this is messing it about. I seem to remember having a go with the comparators in the LPC800 and not coming across any problems, and the LPC8 and LPC15 have much the same peripherals.&lt;/P&gt;&lt;P&gt;How did you set CLKDIV? (and bit 30 of SYSAHBCLKCTRL0), and PDRUNCFG?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 14:21:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514424#M680</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2018-06-12T14:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514425#M681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem Solved (probably)&lt;/P&gt;&lt;P&gt;IMPORTANT !!!&lt;/P&gt;&lt;P&gt;You must power-up one strange peripherial named&amp;nbsp; VDDADIV_PD. Even in lpcxpresso is remark "what is this for ?"&lt;/P&gt;&lt;P&gt;Just clear SYSCON-&amp;gt;PDRUNCFG bit nr. 19.&lt;/P&gt;&lt;P&gt;Defined as&amp;nbsp;SYSCTL_POWERDOWN_VDDADIV_PD in lpcopen (not a single reference to this symbol in library).&lt;/P&gt;&lt;P&gt;For sleep modes check&amp;nbsp;PDAWAKECFG register too.&lt;/P&gt;&lt;P&gt;No idea why...&lt;/P&gt;&lt;P&gt;(future testing required)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 18:17:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514425#M681</guid>
      <dc:creator>danlhajek</dc:creator>
      <dc:date>2018-06-12T18:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514426#M682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find that my dumb luck or was there a reason you tried it?&lt;/P&gt;&lt;P&gt;I've just done a text search for VDDADIV_PD in the manual and it appears NOWHERE else except in the description for bit 19 of PDRUNCFG and PDWAKECFG, and it doesn't say it has anything to do with the comparator!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It does say "Voltage ladder can be separately powered down for applications only requiring the comparator function", but doesn't tell you how to. And from the way it is worded, one would expect it to be normally powered UP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 20:02:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514426#M682</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2018-06-12T20:02:05Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514427#M683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you familiar with term "shotgun debugging"? Power up every analog peripherial. It is broken, you can not break it more :smileyhappy:.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 20:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514427#M683</guid>
      <dc:creator>danlhajek</dc:creator>
      <dc:date>2018-06-12T20:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514428#M684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did your "shotgun debugging" determine whether this action depended on the setting of VLADREF - bit 22 of the comparator register?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 12:17:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514428#M684</guid>
      <dc:creator>ianbenton</dc:creator>
      <dc:date>2018-10-03T12:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: LPC15xx comparator large propagation delay</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514429#M685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did not tested VLADREF bit.&amp;nbsp;PCB is now under test and is running 24/7 from june. I do not want ruin that uptime. Another version of&amp;nbsp;pcb will arrive next week. I will test it and let you know (changes on pcb are not related to comparator, I forget some mounting holes).&lt;/P&gt;&lt;P&gt;Pros: It works stable now&lt;/P&gt;&lt;P&gt;Cons: Undocumented "hack" on sample of 1&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2018 06:37:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC15xx-comparator-large-propagation-delay/m-p/514429#M685</guid>
      <dc:creator>danlhajek</dc:creator>
      <dc:date>2018-10-05T06:37:19Z</dc:date>
    </item>
  </channel>
</rss>

