<?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: ATIMER w/o 32kHz crystal</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650882#M25868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;Are there any&lt;/SPAN&gt; &lt;SPAN class=""&gt;ideas?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;P.S.: I reading last Errata (rev 6.6) for LPC43xx. Section 3.20 RTC.1 contain Work-around:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt;"2. If an on-chip 32.768 kHz oscillator is used..&amp;lt;skip&amp;gt;..Use an external 32.768 kHz clock source (from a host system or from an external oscillator) as an input to the RTCX1 pin to avoid noise coupling."&lt;/DIV&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt; &lt;/DIV&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt;LPC43xx have internal 32kHz oscillator ? Where can I read more about it ?&lt;/DIV&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt; &lt;/DIV&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt;P.P.S.: Sorry if I ask stupid questions.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2016 03:22:28 GMT</pubDate>
    <dc:creator>yuriivanov</dc:creator>
    <dc:date>2016-09-28T03:22:28Z</dc:date>
    <item>
      <title>ATIMER w/o 32kHz crystal</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650881#M25867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day.&lt;/P&gt;&lt;P&gt;I have two identical custom board with LPC4357FET256.&lt;/P&gt;&lt;P&gt;One with 32kHz oscillator crystal connected to chip. And another w/o crystal.&lt;/P&gt;&lt;P&gt;But... On both board ATIMER worked. How it's possible ?&lt;/P&gt;&lt;P&gt;Initialize like this:&lt;/P&gt;&lt;P&gt;LPC_CREG-&amp;gt;CREG0 &amp;amp;= ~((1 &amp;lt;&amp;lt; 3) | (1 &amp;lt;&amp;lt; 2));&lt;BR /&gt;LPC_CREG-&amp;gt;CREG0 |= (1 &amp;lt;&amp;lt; 1) | (1 &amp;lt;&amp;lt; 0);&lt;/P&gt;&lt;P&gt;LPC_ATIMER-&amp;gt;DOWNCOUNTER = 2048;&lt;BR /&gt;LPC_ATIMER-&amp;gt;PRESET = 2048;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and put DOWNCOUNTER to LCD:&lt;/P&gt;&lt;P&gt;lpc_printf(10,20,"%d",LPC_ATIMER-&amp;gt;DOWNCOUNTER);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On both board value changed identical.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UM10503 v2.1 Chapter 36:&lt;/P&gt;&lt;P&gt;"Alarm timer counter register (DOWNCOUNTER, see Table 866), which counts down from a preset value using the&lt;BR /&gt;1024 Hz signal derived from the 32 kHz oscillator."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;32kHz oscillator crystal NOT present on the second board, but ATIMER is worked... :smileyshocked:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2016 07:56:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650881#M25867</guid>
      <dc:creator>yuriivanov</dc:creator>
      <dc:date>2016-09-26T07:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: ATIMER w/o 32kHz crystal</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650882#M25868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN&gt;Are there any&lt;/SPAN&gt; &lt;SPAN class=""&gt;ideas?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="" lang="en"&gt;&lt;SPAN class=""&gt;P.S.: I reading last Errata (rev 6.6) for LPC43xx. Section 3.20 RTC.1 contain Work-around:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt;"2. If an on-chip 32.768 kHz oscillator is used..&amp;lt;skip&amp;gt;..Use an external 32.768 kHz clock source (from a host system or from an external oscillator) as an input to the RTCX1 pin to avoid noise coupling."&lt;/DIV&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt; &lt;/DIV&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt;LPC43xx have internal 32kHz oscillator ? Where can I read more about it ?&lt;/DIV&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt; &lt;/DIV&gt;&lt;DIV data-canvas-width="303.43472" style="left: 600.048px; top: 811.107px; font-size: 16.6px; font-family: sans-serif; transform: scaleX(1.0033);"&gt;P.P.S.: Sorry if I ask stupid questions.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2016 03:22:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650882#M25868</guid>
      <dc:creator>yuriivanov</dc:creator>
      <dc:date>2016-09-28T03:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: ATIMER w/o 32kHz crystal</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650883#M25869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LPC43xx microcontroller families supports different clock sources: internal IRC oscillator, crystal (MHz) oscillator, and 32.768 kHz (RTC) oscillator. The nominal IRC frequency is 12MHz. Upon power-up or any chip reset, the MCU always starts up with IRC as the clock source. Software may later switch to one of the other available clock sources.&lt;/P&gt;&lt;P&gt;Please check the datasheet for more information about the oscillator :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2875i0329A0230CB9CB06/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/2961i4A2C93E5205CC983/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding your issue, Is there i/O switching activity on pins near to XTAL1?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt; Sol&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 22:06:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650883#M25869</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2016-10-06T22:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: ATIMER w/o 32kHz crystal</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650884#M25870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for you answer.&lt;/P&gt;&lt;P&gt;But my question not for clock sources for main operation and base clocks. I have no problem with IRC, external oscillator (connected to XTAL1, XTAL2), e.t.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have problem with RTC oscillator. I not connected any external oscillator to RTCX1, RTCX2.&lt;/P&gt;&lt;P&gt;But 32kHz is present on system. ATIMER worked. And I can not find any information in manual about internal 32kHz oscillator for RTC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Oct 2016 22:44:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650884#M25870</guid>
      <dc:creator>yuriivanov</dc:creator>
      <dc:date>2016-10-06T22:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: ATIMER w/o 32kHz crystal</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650885#M25871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The user manual mentions that the 32kHz crystal oscillator is connected to the ATIMER. I am not aware of any internal 32kHz oscillator. FOr the part without crystal did you see the downcounter counting (changing value at 1kHz)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 07:02:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650885#M25871</guid>
      <dc:creator>jurgengeerlings</dc:creator>
      <dc:date>2016-10-07T07:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: ATIMER w/o 32kHz crystal</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650886#M25872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm initialize 32kHz and ATIMER like this:&lt;/P&gt;&lt;P&gt;LPC_CREG-&amp;gt;CREG0 &amp;amp;= ~((1 &amp;lt;&amp;lt; 3) | (1 &amp;lt;&amp;lt; 2));&lt;BR /&gt;LPC_CREG-&amp;gt;CREG0 |= (1 &amp;lt;&amp;lt; 1) | (1 &amp;lt;&amp;lt; 0);&lt;/P&gt;&lt;P&gt;LPC_ATIMER-&amp;gt;DOWNCOUNTER = 2048;&lt;BR /&gt;LPC_ATIMER-&amp;gt;PRESET = 2048;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No other register changed in ATIMER. No interupts or anything else..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and show DOWNCOUNTER to LCD:&lt;/P&gt;&lt;P&gt;while (!key0_press()) {&lt;/P&gt;&lt;P&gt;lpc_printf(10,20,"%d",LPC_ATIMER-&amp;gt;DOWNCOUNTER);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes. DOWNCOUNTER is counted from 2048 to 0 again and again (if set PRESET to 0 it countdown 1 times).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How it's possible I not understand. :smileysad:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Oct 2016 08:15:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/ATIMER-w-o-32kHz-crystal/m-p/650886#M25872</guid>
      <dc:creator>yuriivanov</dc:creator>
      <dc:date>2016-10-07T08:15:52Z</dc:date>
    </item>
  </channel>
</rss>

