<?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: LPC1768 Deep Sleep Counters work? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517676#M2307</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiryat8 on Tue Feb 25 02:50:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Before going into low power mode (deep sleep or normal sleep) I made the system clock source from the internal oscillator. I also tried changing the source to the RTC before sleeping.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In both cases the counter does not count external pulses when in deep sleep mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using two timers in counter mode with external triggers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GPIO and both timers power are left on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:29:13 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:29:13Z</dc:date>
    <item>
      <title>LPC1768 Deep Sleep Counters work?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517672#M2303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiryat8 on Sun Feb 23 06:18:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In the low power AN10915 pdf it says "When the chip enters the Deep Sleep mode, the main oscillator is powered down, and &lt;/SPAN&gt;&lt;STRONG&gt;nearly all clocks are stopped.&lt;/STRONG&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to use two internal timers as counters that will still count when in Deep-sleep mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I could not get it to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The counters do work in regular sleep mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I leave the power active in the timers in both modes and just replace CLKPWR_Sleep(); with CLKPWR_DeepSleep(); and the other way around.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I understand that the internal oscillator remains running so I do not see why they do not count 1 count a second.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:29:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517672#M2303</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:29:11Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Deep Sleep Counters work?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517673#M2304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by cfb on Mon Feb 24 03:24:38 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Read Section 4.8.2 "Deep Sleep Mode" in the LPC176x/5x User manual (UM10360). That should give you all the information you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:29:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517673#M2304</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Deep Sleep Counters work?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517674#M2305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiryat8 on Mon Feb 24 04:22:02 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your response but I have already read that section and it is exactly the same as the application note. "When the chip enters the Deep Sleep mode, the main oscillator is powered down, &lt;/SPAN&gt;&lt;STRONG&gt;nearly all&lt;/STRONG&gt;&lt;SPAN&gt; clocks are stopped, " is a statement I would not expect when working with a micro controller. I am used to knowing exactly what is running and what is not.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this mean that the pclk is not routed when in deep sleep mode?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the timer/counter use and really need the pclk in counter mode?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can not find enough information in the pdfs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I expected the counter to be able to count in deep sleep mode but maybe it is not completely static.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the counter can run in deep sleep mode, I would like to continue and find my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If not I will have to have external hardware or live with sleep mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Thank you&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:29:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517674#M2305</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Deep Sleep Counters work?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517675#M2306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Mon Feb 24 08:15:19 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hmmm... maybe you can use the RTC to implement your counters?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517675#M2306</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: LPC1768 Deep Sleep Counters work?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517676#M2307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by kiryat8 on Tue Feb 25 02:50:10 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Before going into low power mode (deep sleep or normal sleep) I made the system clock source from the internal oscillator. I also tried changing the source to the RTC before sleeping.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In both cases the counter does not count external pulses when in deep sleep mode.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using two timers in counter mode with external triggers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;GPIO and both timers power are left on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC1768-Deep-Sleep-Counters-work/m-p/517676#M2307</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:29:13Z</dc:date>
    </item>
  </channel>
</rss>

