<?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: Timer Problem... in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585903#M26982</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Leji on Fri Jun 29 04:13:17 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the clarification Polux !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:40:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:40:14Z</dc:date>
    <item>
      <title>Timer Problem...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585895#M26974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ranaya on Tue Jun 26 12:29:33 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi every1....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually what is the maximum delay can we obtain using timers in 1769 ? Without using alarms in RTC, can I use timer0 or something to achieve 10-30 mins delays, interrupts ? And what are the consequences of using internal timers for long period delays ?? Quick responses'll be greatly appreciated... &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank You&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585895#M26974</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Problem...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585896#M26975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by researchinnovation on Wed Jun 27 00:26:10 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ranaya&lt;/STRONG&gt;&lt;BR /&gt;Hi every1....&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Actually what is the maximum delay can we obtain using timers in 1769 ? Without using alarms in RTC, can I use timer0 or something to achieve 10-30 mins delays, interrupts ? And what are the consequences of using internal timers for long period delays ?? Quick responses'll be greatly appreciated... &lt;BR /&gt;&lt;BR /&gt;Thank You&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi..!!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Long delay may not match up with your peripherals or for your application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And delay depends on your application and on requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometime due to long delay you may not get data properly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please explain your application and project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards....:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585896#M26975</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Problem...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585897#M26976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Polux rsv on Wed Jun 27 01:20:09 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;For such long delays, it is better to implement a "software timer", which use a HW timer or the Systick timer as a main timebase. The HW timer will trigger an interrupt every 10 or 100 ms, depending of the needed resolution. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The interrupt routine will implement the software timer which could count in various ways: seconds only, minutes only, minutes and seconds, etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You could implement multiple software timers, based on a single HW resource. And on top of that, you could implement high level functions like "execute this in x minutes y seconds", "execute this every x minutes", "execute this for x minutes", ......&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Angelo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585897#M26976</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Problem...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585898#M26977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Leji on Wed Jun 27 01:46:21 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;the timers are 32bits, with a 32 bits prescaler, that is huge, you can probably have an interrupt every year with that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The max you can get is CLK*2^64&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585898#M26977</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Problem...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585899#M26978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Polux rsv on Wed Jun 27 03:03:04 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;With LPC1769 at 120MHz, it makes 48 centuries = 4869 years = 1779199 days = ......:D:D:D:D But resolution is only 35.79 seconds.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And your complete timer is stuck with the 2^32 prescaler.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Precision could be affected by components quality. Check the crystal ppm parameter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Angelo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585899#M26978</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Problem...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585900#M26979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Leji on Wed Jun 27 07:42:51 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm curious how you got that precision value of 35s ? it should be 1/120MHz + crystal ppm, no ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:40:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585900#M26979</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Problem...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585901#M26980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Polux rsv on Wed Jun 27 08:17:15 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Precision is not resolution, it is a common confusion. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Resolution is (1/120MHz) x 2^32. it is the prescaler output. Then you count this resolution with a 32 bit counter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you have a deviation due to the quartz PPMs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Angelo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585901#M26980</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Problem...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585902#M26981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ranaya on Wed Jun 27 10:07:52 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hey thank both of u for quick replies. My application is a data acquisition system, I use RTC alarm to specify the record time of the data. A delay is required to make adc sampling intervals. :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585902#M26981</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Timer Problem...</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585903#M26982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Leji on Fri Jun 29 04:13:17 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the clarification Polux !&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:40:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Timer-Problem/m-p/585903#M26982</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:40:14Z</dc:date>
    </item>
  </channel>
</rss>

