<?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>Kinetis MicrocontrollersのトピックRe: System tick timer in stop mode</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440269#M25751</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello koichimatsuo,&lt;/P&gt;&lt;P&gt;in the freescale documents, the platform clock sometimes means the core clock.&lt;/P&gt;&lt;P&gt;Therefore the platform clock in Table 7-2 would not be the same one which had been mentioned by AE team.&lt;/P&gt;&lt;P&gt;To know the truth, you had better check it on the actual board.&lt;/P&gt;&lt;P&gt;Once I checked it on both FRDM-KL25Z and FRDM-K20D50M boards and found SysTick timer had not stopped even in STOP mode.&lt;/P&gt;&lt;P&gt;Please refer to &lt;A _jive_internal="true" href="https://community.nxp.com/message/486431#486431"&gt;https://community.freescale.com/message/486431#486431&lt;/A&gt; . &lt;/P&gt;&lt;P&gt;There is the same question and answer as you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yasuhiko Koumoto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Oct 2015 06:33:31 GMT</pubDate>
    <dc:creator>yasuhikokoumoto</dc:creator>
    <dc:date>2015-10-07T06:33:31Z</dc:date>
    <item>
      <title>System tick timer in stop mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440268#M25750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Our customer, SONY has one question about System tick timer in stop mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;They want to understand if they can use SysTick timer to wake up from STOP/PSTOP2 in K22.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;The sentence “The System Tick Timer's clock source is always the core clock” is written in 3.2.1.2 System Tick Timer of&amp;nbsp; K22P121M120SF7RM.pdf. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;So they believed that SysTick did not function in stop/Pstop2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;But they found one comment of Freescale AE team in last comment of &lt;SPAN style="color: #2873ee;"&gt;&lt;A href="http://community.arm.com/thread/7830"&gt;&lt;SPAN style="color: #2873ee;"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="http://community.arm.com/thread/7830" target="test_blank"&gt;http://community.arm.com/thread/7830&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; and then they are confusing now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Extracted Freescale AE team comment from community&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;---------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;It’s not very clear in the manual, but the systick is actually clocked by the platform clock which is the same frequency as the core clock. We don’t really document the difference between the two very well. Since they are the same frequency most of the time it doesn’t matter, but for low power modes it starts to become important. The platform clock runs in WAIT mode, &lt;SPAN style="text-decoration: underline; color: #2873ee;"&gt;so it is expected operation for the systick to run in WAIT mode and be able to wake you up. &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="text-decoration: underline; color: #2873ee;"&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;I think the platform clock still be available in STOP mode too&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;&lt;SPAN style="color: #2873ee;"&gt;,&lt;/SPAN&gt; not the BUS clock and this clock's never mentioned in the RM yet.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Again, I checked &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Table 7-2. Module operation in low power modes of &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;K22P121M120SF7RM.pdf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;As the result, I verified that "platform clock" is off in stop mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 11.0pt; font-family: 'Calibri',sans-serif;"&gt;Does anyone comment us?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 05:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440268#M25750</guid>
      <dc:creator>koichimatsuo</dc:creator>
      <dc:date>2015-10-07T05:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: System tick timer in stop mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440269#M25751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello koichimatsuo,&lt;/P&gt;&lt;P&gt;in the freescale documents, the platform clock sometimes means the core clock.&lt;/P&gt;&lt;P&gt;Therefore the platform clock in Table 7-2 would not be the same one which had been mentioned by AE team.&lt;/P&gt;&lt;P&gt;To know the truth, you had better check it on the actual board.&lt;/P&gt;&lt;P&gt;Once I checked it on both FRDM-KL25Z and FRDM-K20D50M boards and found SysTick timer had not stopped even in STOP mode.&lt;/P&gt;&lt;P&gt;Please refer to &lt;A _jive_internal="true" href="https://community.nxp.com/message/486431#486431"&gt;https://community.freescale.com/message/486431#486431&lt;/A&gt; . &lt;/P&gt;&lt;P&gt;There is the same question and answer as you.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yasuhiko Koumoto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Oct 2015 06:33:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440269#M25751</guid>
      <dc:creator>yasuhikokoumoto</dc:creator>
      <dc:date>2015-10-07T06:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: System tick timer in stop mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440270#M25752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Koumoto_san,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your prompt response.&lt;/P&gt;&lt;P&gt;According to your comment, I tried. As the result, K22 was woke up by &lt;SPAN style="color: #000000; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;SysTick timer in STOP or PSTOP2 mode...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Umm....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koichi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2015 05:45:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440270#M25752</guid>
      <dc:creator>koichimatsuo</dc:creator>
      <dc:date>2015-10-08T05:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: System tick timer in stop mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440271#M25753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still now I forgot to execute power on reset.&lt;/P&gt;&lt;P&gt;After activating power on reset, I could verify that systick timer was disabled in stop mode.&lt;/P&gt;&lt;P&gt;Unless executing power on reset, IC cannot exit from debug mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Step&lt;/P&gt;&lt;P&gt;--------&lt;/P&gt;&lt;P&gt;1) I implemented systick timer's code.&lt;/P&gt;&lt;P&gt;2) Checked if the code have no error and downloaded the image to evaluation board.&lt;/P&gt;&lt;P&gt;3) Removed USB cable due to power on reset.&lt;/P&gt;&lt;P&gt;4) Inserted USB cable.&lt;/P&gt;&lt;P&gt;5) Verified the behavior.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 04:44:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440271#M25753</guid>
      <dc:creator>koichimatsuo</dc:creator>
      <dc:date>2015-10-29T04:44:36Z</dc:date>
    </item>
    <item>
      <title>Re: System tick timer in stop mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440272#M25754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Koichi Matsuo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is very interesting phenomenon.&lt;/P&gt;&lt;P&gt;Please let me know more details.&lt;/P&gt;&lt;P&gt;Is your system running under the debug mode?&lt;/P&gt;&lt;P&gt;Do you say after the power on reset the IC did not enter the debug mode?&lt;/P&gt;&lt;P&gt;If it is true, when did the IC enter the debug mode?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;Yasuhiko Koumoto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 07:53:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440272#M25754</guid>
      <dc:creator>yasuhikokoumoto</dc:creator>
      <dc:date>2015-10-29T07:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: System tick timer in stop mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440273#M25755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Koichi Matsuo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the same thing by my FRDM-KL25Z board.&lt;/P&gt;&lt;P&gt;As the result, you are right.&lt;/P&gt;&lt;P&gt;But it seems that the issue would depend on the power on reset but the program download to the flash.&lt;/P&gt;&lt;P&gt;That is, after downloading, the SysTick did not stop in STOP mode but the SysTick did stop without program download.&lt;/P&gt;&lt;P&gt;When USB is plugged again after program download and push the reset button, the SysTick remain stopping in STOP mode.&lt;/P&gt;&lt;P&gt;Is it the same as your phenomenon?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Yasuhiko Koumoto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2015 13:36:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440273#M25755</guid>
      <dc:creator>yasuhikokoumoto</dc:creator>
      <dc:date>2015-10-29T13:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: System tick timer in stop mode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440274#M25756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Koumoto_san,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sorry to respond with a delay.&lt;/P&gt;&lt;P&gt;Yes, I had same phenomenon, too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Koichi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Oct 2015 02:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/System-tick-timer-in-stop-mode/m-p/440274#M25756</guid>
      <dc:creator>koichimatsuo</dc:creator>
      <dc:date>2015-10-30T02:31:48Z</dc:date>
    </item>
  </channel>
</rss>

