<?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: Using an external 32 KHz clock in 5606B in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/Using-an-external-32-KHz-clock-in-5606B/m-p/441385#M1237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using my own board, but like I said I verified the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;32768Hz &lt;/SPAN&gt;input with a scope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you measure the 1 second frequency with an external indication / stopwatch? I am also getting the interrupts, only they are about 0.75 seconds apart instead of 1 second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, does bypass mode works for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Gilad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Nov 2015 14:59:03 GMT</pubDate>
    <dc:creator>giladbarzilay</dc:creator>
    <dc:date>2015-11-26T14:59:03Z</dc:date>
    <item>
      <title>Using an external 32 KHz clock in 5606B</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Using-an-external-32-KHz-clock-in-5606B/m-p/441383#M1235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use an external 32KHz clock on the EXTAL pin as the clock reference for the internal RTC in the 5606B chip.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working according to this table from the reference manual:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="105530_105530.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120836iE2611DC3A41EFDAE/image-size/large?v=v2&amp;amp;px=999" role="button" title="105530_105530.png" alt="105530_105530.png" /&gt;&lt;/span&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/52970iB9FF248B41AFEAAE/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 style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My OSC32_EXTAL pin is connected to a 32KHz clock (which is ticking correctly, verified with a scope), and OSC32_XTAL is grounded.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I am setting the bypass bit in the SXOSC_CTL register (as per line 2) the RTC clock does not tick at all, and the API interrupt is never called, and when I set is to enable, and I am supposedly at line 4 of the table, the interrupt is called instead of every second, every ~1.3 seconds.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I measured the internal 32KHz clock using the CMU, and got a result of ~24KHz, which is consistent with the RTC behavior.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tried on another board and replicated the results.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what I am doing wrong?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2015 08:57:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Using-an-external-32-KHz-clock-in-5606B/m-p/441383#M1235</guid>
      <dc:creator>giladbarzilay</dc:creator>
      <dc:date>2015-11-25T08:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using an external 32 KHz clock in 5606B</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Using-an-external-32-KHz-clock-in-5606B/m-p/441384#M1236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you use your own board or some FSL one?&lt;/P&gt;&lt;P&gt;I have tested the SXOSC with the RTC to generate 1sec interrupt on the TRK-MPC5606B and it worked if the SXOSC is enabled with SXOSC_CTL[OSCON] bit. The 32768Hz is fed to EXTAL pin and 1sec is properly generated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 14:36:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Using-an-external-32-KHz-clock-in-5606B/m-p/441384#M1236</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2015-11-26T14:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using an external 32 KHz clock in 5606B</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Using-an-external-32-KHz-clock-in-5606B/m-p/441385#M1237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using my own board, but like I said I verified the &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;32768Hz &lt;/SPAN&gt;input with a scope.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you measure the 1 second frequency with an external indication / stopwatch? I am also getting the interrupts, only they are about 0.75 seconds apart instead of 1 second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In addition, does bypass mode works for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;Gilad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Nov 2015 14:59:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Using-an-external-32-KHz-clock-in-5606B/m-p/441385#M1237</guid>
      <dc:creator>giladbarzilay</dc:creator>
      <dc:date>2015-11-26T14:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using an external 32 KHz clock in 5606B</title>
      <link>https://community.nxp.com/t5/MPC5xxx/Using-an-external-32-KHz-clock-in-5606B/m-p/441386#M1238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I measured the pin toggling with the scope, get 1sec exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is true that bypass mode worked in a strange way. The SXOSC_CTL[OSCON] has to be set too when bypass was set. In that case RTC was working too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 13:16:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/Using-an-external-32-KHz-clock-in-5606B/m-p/441386#M1238</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2015-11-27T13:16:36Z</dc:date>
    </item>
  </channel>
</rss>

