<?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: SysTick_Config in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-Config/m-p/1598966#M33401</link>
    <description>Final result is wrong... 1e8 / 1e3 == 1e5 != 10e-3 * 100e6 == 1e8 / 1e2&lt;BR /&gt;Looks embarassing...</description>
    <pubDate>Tue, 14 Feb 2023 15:44:05 GMT</pubDate>
    <dc:creator>SpoonMan</dc:creator>
    <dc:date>2023-02-14T15:44:05Z</dc:date>
    <item>
      <title>SysTick_Config</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-Config/m-p/593422#M30436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jlara on Wed Feb 02 19:29:10 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Which of the following is correct?&amp;nbsp; I have seen it done both ways in the examples.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SysTick_Config(SystemCoreClock/1000)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SysTick_Config(SystemCoreClock/1000 - 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:49:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-Config/m-p/593422#M30436</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick_Config</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-Config/m-p/593423#M30437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Albert on Wed Feb 02 21:24:10 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi jlara,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Period = (RELOAD+1)/Clock -&amp;gt; RELOAD = Period*Clock-1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If Period =10ms and clock = 100MHz&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RELOAD = 10ms*100MHz - 1 = 999999.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But, the parameter on CMSIS funcion is RELOAD + 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SysTick_Config(RELOAD + 1)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, for Period =10ms and clock = 100MHz we have:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SysTick_Config(999999+ 1) =&amp;nbsp; SysTick_Config(1000000) =&amp;nbsp; SysTick_Config(SystemCoreClock/1000)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:49:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-Config/m-p/593423#M30437</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick_Config</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-Config/m-p/1306802#M33300</link>
      <description>&lt;P&gt;Thanks for the explanation of the SysTick_Config() function. In the Clock Config Tools, the Systick Clock can also be set, what is the connection to the SysTick_Config() function here?&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV class="simple-translate-panel "&gt;&lt;DIV class="simple-translate-result-wrapper"&gt;&lt;DIV class="simple-translate-result-contents"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="R3t0_0-1626267057904.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/149816i9ECCF00A7ED91070/image-size/large?v=v2&amp;amp;px=999" role="button" title="R3t0_0-1626267057904.png" alt="R3t0_0-1626267057904.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="simple-translate-candidate"&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Jul 2021 12:54:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-Config/m-p/1306802#M33300</guid>
      <dc:creator>R3t0</dc:creator>
      <dc:date>2021-07-14T12:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: SysTick_Config</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-Config/m-p/1598966#M33401</link>
      <description>Final result is wrong... 1e8 / 1e3 == 1e5 != 10e-3 * 100e6 == 1e8 / 1e2&lt;BR /&gt;Looks embarassing...</description>
      <pubDate>Tue, 14 Feb 2023 15:44:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/SysTick-Config/m-p/1598966#M33401</guid>
      <dc:creator>SpoonMan</dc:creator>
      <dc:date>2023-02-14T15:44:05Z</dc:date>
    </item>
  </channel>
</rss>

