<?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: K70 SysTick Clock Source Bit in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-SysTick-Clock-Source-Bit/m-p/436513#M25429</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark.&lt;/P&gt;&lt;P&gt;I was relying on the Freescale documentation and didn't go "down a level" to the ARM documentation, which makes it clear that the CSR register is set to 0x000_0004 coming out of reset if the alternate reference clock is not present.&lt;/P&gt;&lt;P&gt;I think Freescale should change the line:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"- The CLKSOURCE bit in SysTick Control and Status register is always set to select the core clock."&lt;/P&gt;&lt;P&gt;so that it says "initialised to 1 after a reset".&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2015 02:10:22 GMT</pubDate>
    <dc:creator>pmcl</dc:creator>
    <dc:date>2015-09-11T02:10:22Z</dc:date>
    <item>
      <title>K70 SysTick Clock Source Bit</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-SysTick-Clock-Source-Bit/m-p/436511#M25427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the K70 SysTick Timer and referred to the K70P256M150SF3EM manual, section 3.2.1.2 on page 85 which says that the CLKSOURCE bit in the SysTick Control and Status Register is always set to select the core clock. However, if I have this line in KDS3.0.0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SYST_CSR = (SysTick_CSR_ENABLE_MASK | SysTick_CSR_TICKINT_MASK);&lt;/P&gt;&lt;P&gt;it does not generate an interrupt - which means SysTick is not ticking. If I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SYST_CSR = (SysTick_CSR_ENABLE_MASK | SysTick_CSR_TICKINT_MASK | SysTick_CSR_CLKSOURCE_MASK);&lt;/P&gt;&lt;P&gt;I do get an interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought the value of CLKSOURCE was always set and not writable, so the first bit of code is all that is needed?&lt;/P&gt;&lt;P&gt;Since that code writes a 0 to the CLKSOURCE bit, does that mean it is writable, and therefore not always "set"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 00:56:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-SysTick-Clock-Source-Bit/m-p/436511#M25427</guid>
      <dc:creator>pmcl</dc:creator>
      <dc:date>2015-09-10T00:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: K70 SysTick Clock Source Bit</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-SysTick-Clock-Source-Bit/m-p/436512#M25428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The core clock is selected by default but there is nothing stopping you writing it to 0 and thus disabling it.&lt;/P&gt;&lt;P&gt;See also &lt;A href="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/Babieigh.html" title="http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/Babieigh.html"&gt;ARM Information Center&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;K70: &lt;A href="http://www.utasker.com/kinetis/TWR-K70F120M.html" title="http://www.utasker.com/kinetis/TWR-K70F120M.html"&gt;µTasker Kinetis TWR-K70F120M support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/EMCRAFT_K70F120M.html" title="http://www.utasker.com/kinetis/EMCRAFT_K70F120M.html"&gt;µTasker EMCRAFT K70F120M support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 11:26:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-SysTick-Clock-Source-Bit/m-p/436512#M25428</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-09-10T11:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: K70 SysTick Clock Source Bit</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-SysTick-Clock-Source-Bit/m-p/436513#M25429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark.&lt;/P&gt;&lt;P&gt;I was relying on the Freescale documentation and didn't go "down a level" to the ARM documentation, which makes it clear that the CSR register is set to 0x000_0004 coming out of reset if the alternate reference clock is not present.&lt;/P&gt;&lt;P&gt;I think Freescale should change the line:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;"- The CLKSOURCE bit in SysTick Control and Status register is always set to select the core clock."&lt;/P&gt;&lt;P&gt;so that it says "initialised to 1 after a reset".&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;SPAN lang="JA" style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 02:10:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K70-SysTick-Clock-Source-Bit/m-p/436513#M25429</guid>
      <dc:creator>pmcl</dc:creator>
      <dc:date>2015-09-11T02:10:22Z</dc:date>
    </item>
  </channel>
</rss>

