<?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>i.MX RT Crossover MCUsのトピックRe: RT1050 External Systick clock source</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795561#M835</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I've set XTALOSC24M_LOWPWR_CTRLn to 0x74f00 (internal oscillator disabled) and 0x74f01 (internal oscillator enabled); both work the same, in that the processor runs but SysTick does not.&amp;nbsp; In both of these cases, the XTAL OSC is selected as the source for the 24 MHz clock.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I've looked at the EVKB board and both Y1 &amp;amp; Y2 oscillators are present.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is there anything else I need to enable to provide the external clock to the ARM M7 SysTick?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Aug 2018 17:36:33 GMT</pubDate>
    <dc:creator>michaelwhite</dc:creator>
    <dc:date>2018-08-20T17:36:33Z</dc:date>
    <item>
      <title>RT1050 External Systick clock source</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795559#M833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to enable the external clock source for the ARM Systick timer on the RT1050 EVKB board.&amp;nbsp; The only reference I've found in the manual is in section 10.3.2.1, "Crystal Oscillator (XTALOSC)":&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;NOTE 24 MHz XTALOSC can be the external clock source of SYSTICK.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;From the schematics, the EVKB appears to have a 24 MHz oscillator.&amp;nbsp; If I set the M7 SysTick clock source bit to "Internal", the current value register loads the&amp;nbsp; reload value and starts counting down.&amp;nbsp; However, if I set the M7 SysTick clock source bit to "External", the current value register does not change and&amp;nbsp;does not count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've poked around in the XTALOSC registers but I don't see anything that would enable a clock to the M7.&amp;nbsp; Likewise, a search of the reference manual provided no other references to the M7 SysTick and there does not appear to be anything in the clock tree diagrams.&amp;nbsp; How do I enable the M7 SysTick external clock?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 14:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795559#M833</guid>
      <dc:creator>michaelwhite</dc:creator>
      <dc:date>2018-08-17T14:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050 External Systick clock source</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795560#M834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp; "&lt;/SPAN&gt;The 24MHz XTALOSC is the external clock source of the systick. Note that it is divided down to&lt;/P&gt;&lt;P&gt;100KHz before it goes to systick. Also note that in case XTALOSC24M_LOWPWR_CTRLn[OSC_SEL]&lt;/P&gt;&lt;P&gt;is set the whole chip’s 24Mhz clock will be from RCOSC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The 24MHz crystal must exist [...] . In low power modes user may disable the 24MHz crystal but before&lt;/P&gt;&lt;P class=""&gt;that they must enable the 24Mhz RCOSC otherwise the system fails.&lt;SPAN class=""&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Have a great day,&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Yuri&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;Note: If this post answers your question, please click the Correct Answer &lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;button. Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 06:00:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795560#M834</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-08-20T06:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050 External Systick clock source</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795561#M835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I've set XTALOSC24M_LOWPWR_CTRLn to 0x74f00 (internal oscillator disabled) and 0x74f01 (internal oscillator enabled); both work the same, in that the processor runs but SysTick does not.&amp;nbsp; In both of these cases, the XTAL OSC is selected as the source for the 24 MHz clock.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;I've looked at the EVKB board and both Y1 &amp;amp; Y2 oscillators are present.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is there anything else I need to enable to provide the external clock to the ARM M7 SysTick?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 17:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795561#M835</guid>
      <dc:creator>michaelwhite</dc:creator>
      <dc:date>2018-08-20T17:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050 External Systick clock source</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795562#M836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;CLKSOURCE bit in the SYST_CSR should be cleared for external clock (100KHz from 24 MHz of i.MX RT).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;A class="link-titled" href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0403e.b/index.html" title="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0403e.b/index.html"&gt;ARM Information Center&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The SDK contains example for the SysTick - use it as base.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 03:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795562#M836</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-08-21T03:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050 External Systick clock source</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795563#M837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yuri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you referring to the External bit (&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;CLKSOURCE, bit 2) of the SysTick CTRL register?&amp;nbsp; If so, that bit is zero - the CTRL register has a value of one, i.e. only the ENABLE bit is set.&amp;nbsp; And yes, I'm using the SysTick structure from the SDK; here's the contents of that structure after I've initialized it:&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;SysTick SysTick_Type * 0xe000e010 &lt;BR /&gt; CTRL volatile uint32_t 1 &lt;BR /&gt; LOAD volatile uint32_t 14985 &lt;BR /&gt; VAL volatile uint32_t 0 &lt;BR /&gt; CALIB const volatile uint32_t 999 &lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;The value of "VAL" never changes unless I set &lt;SPAN&gt;CLKSOURCE to 1 (Internal); when &lt;SPAN style="background-color: #ffffff;"&gt;CLKSOURCE is set to 1 (Internal) SysTick works as expected&lt;/SPAN&gt;.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;I've used the external clock for SysTick on other non-NXP ARM processors (M0, M4).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: small;"&gt;Is there something else I'm missing?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 12:57:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795563#M837</guid>
      <dc:creator>michaelwhite</dc:creator>
      <dc:date>2018-08-21T12:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: RT1050 External Systick clock source</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795564#M838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you point me to a SysTick example in the SDK that uses the external clock?&amp;nbsp; All examples I've found use the internal clock.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Aug 2018 14:47:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/RT1050-External-Systick-clock-source/m-p/795564#M838</guid>
      <dc:creator>michaelwhite</dc:creator>
      <dc:date>2018-08-21T14:47:37Z</dc:date>
    </item>
  </channel>
</rss>

