<?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 Software Development Kit中的主题 Re: Low power switching K64</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349414#M378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pietro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you solve the hard fault problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SIM_SCGC6 = SIM_SCGC6_RTC_MASK;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RTC_CR |= RTC_CR_OSCE_MASK;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These sequences will enable RTC. Did you already try them?&lt;/P&gt;&lt;P&gt;I'm sorry they might not be the KSDK descriptions.&lt;/P&gt;&lt;P&gt;By enabling the RTC, was your issue solved?&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, 05 Feb 2015 21:27:22 GMT</pubDate>
    <dc:creator>yasuhikokoumoto</dc:creator>
    <dc:date>2015-02-05T21:27:22Z</dc:date>
    <item>
      <title>Low power switching K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349407#M371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning&lt;/P&gt;&lt;P&gt;I have the FRDM k64 board. I am playing with the power mode switching.&lt;/P&gt;&lt;P&gt;The CPU is running the BLPI at 1 MHz.&lt;/P&gt;&lt;P&gt;I have the interrupt of the PORTC installed.&lt;/P&gt;&lt;P&gt;I have also the interrupt of the LLW interrupt handler which toggles the red led.&lt;/P&gt;&lt;P&gt;When I toggle between the wait and stop, the interrupt is serviced repeadetly at every pressure of&lt;/P&gt;&lt;P&gt;the button. I see the blu led toggling as in the loop, the green lines.&lt;/P&gt;&lt;P&gt;When I enter the lls mode, the LLW isr is serviced, but the execution is lost.&lt;/P&gt;&lt;P&gt;The last red lines should produce two toggles of the blue and red led.&lt;/P&gt;&lt;P&gt;I see the LLW interrupt serviced but the execution dies. &lt;/P&gt;&lt;P&gt;According to the manual I should see the execution continuing. No reset flow with the lls mode.&lt;/P&gt;&lt;P&gt;Here is the code.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;POWER_SYS_SetMode( epower_mode_wait, kPowerManagerPolicyAgreement );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;leds_blue_toggle();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;POWER_SYS_SetMode( epower_mode_stop, kPowerManagerPolicyAgreement );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #339966;"&gt;leds_blue_toggle();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #339966;"&gt;POWER_SYS_SetMode( epower_mode_wait, kPowerManagerPolicyAgreement );&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #339966;"&gt;leds_blue_toggle();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #339966;"&gt;POWER_SYS_SetMode( epower_mode_stop, kPowerManagerPolicyAgreement );&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #339966;"&gt;leds_blue_toggle();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #339966;"&gt;POWER_SYS_SetMode( epower_mode_wait, kPowerManagerPolicyAgreement );&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #339966;"&gt;leds_blue_toggle();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #339966;"&gt;POWER_SYS_SetMode( epower_mode_stop, kPowerManagerPolicyAgreement );&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #339966;"&gt;leds_blue_toggle();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;POWER_SYS_SetMode( epower_mode_lls, kPowerManagerPolicyAgreement );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;leds_blue_toggle();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;POWER_SYS_SetMode( epower_mode_lls, kPowerManagerPolicyAgreement );&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;leds_blue_toggle();&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #000000;"&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;Pietro&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 15:58:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349407#M371</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2015-02-04T15:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: Low power switching K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349408#M372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pietro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;did you enable the CPU interrupt (i.e. cspie i)? Also did you the NVIC interrupt (i.e. enable_irq(LLWU_irq_no))?&lt;/P&gt;&lt;P&gt;Did you set LLWU_PEx registers properly?&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>Wed, 04 Feb 2015 21:34:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349408#M372</guid>
      <dc:creator>yasuhikokoumoto</dc:creator>
      <dc:date>2015-02-04T21:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Low power switching K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349409#M373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hei &lt;A _jive_internal="true" data-avatarid="28255" data-externalid="" data-online="false" data-presence="null" data-userid="226516" data-username="yasuhikokoumoto" href="https://community.nxp.com/people/yasuhikokoumoto" style="font-weight: bold; font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #8b8b8b; background-color: #f6f6f6;"&gt;Yasuhiko&lt;/A&gt;&lt;/P&gt;&lt;P&gt;All of the action are in place.&lt;/P&gt;&lt;P&gt;I wander if an unhandled interrupt is killing the execution.&lt;/P&gt;&lt;P&gt;I have not debug while in lls so I cannot see.&lt;/P&gt;&lt;P&gt;Have You a suggestion which unhandled interrupt could be continuously fired ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 09:28:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349409#M373</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2015-02-05T09:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Low power switching K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349410#M374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Hei Yasuhiko&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;I would like to attach the source code, but I don't find a way.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Maybe I need a suggestion for using this chat.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;I think there should be a way to change the perspective.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Pietro&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 10:23:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349410#M374</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2015-02-05T10:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Low power switching K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349411#M375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok now I found the way.&lt;/P&gt;&lt;P&gt;Here is the driver for the wake up&lt;/P&gt;&lt;P&gt;Thank You for the support.&lt;/P&gt;&lt;P&gt;Let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pietro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 10:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349411#M375</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2015-02-05T10:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: Low power switching K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349412#M376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hei&lt;/P&gt;&lt;P&gt;I have now detected the HardFault_Handler().. The exit from lls is giving this continouous exception..&lt;/P&gt;&lt;P&gt;Suggestions????&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 10:40:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349412#M376</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2015-02-05T10:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Low power switching K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349413#M377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hei&lt;/P&gt;&lt;P&gt;I have found the problem.&lt;/P&gt;&lt;P&gt;The thread &lt;/P&gt;&lt;H1 style="font-size: 26px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;A _jive_internal="true" data-content-finding="Community" href="https://community.nxp.com/message/108436#108436" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #6a737b;"&gt;ARM Cortex-M4 K60N512 - Hard Fault&lt;/A&gt;&lt;/H1&gt;&lt;P&gt;is illuminating.&lt;/P&gt;&lt;P&gt;In the interrupt of LLW I quest the RTC as in demos low power example.&lt;/P&gt;&lt;P&gt;But I don t enable the RTC. so Hard Fault..&lt;/P&gt;&lt;P&gt;Thank You.&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 10:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349413#M377</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2015-02-05T10:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Low power switching K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349414#M378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pietro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;could you solve the hard fault problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SIM_SCGC6 = SIM_SCGC6_RTC_MASK;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RTC_CR |= RTC_CR_OSCE_MASK;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These sequences will enable RTC. Did you already try them?&lt;/P&gt;&lt;P&gt;I'm sorry they might not be the KSDK descriptions.&lt;/P&gt;&lt;P&gt;By enabling the RTC, was your issue solved?&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, 05 Feb 2015 21:27:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349414#M378</guid>
      <dc:creator>yasuhikokoumoto</dc:creator>
      <dc:date>2015-02-05T21:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Low power switching K64</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349415#M379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yasuhiko&lt;/P&gt;&lt;P&gt;I have solved the problem. Of course I find other issues always&lt;/P&gt;&lt;P&gt;but for other threads.&lt;/P&gt;&lt;P&gt;Thank for support&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pietro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2015 07:23:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/Low-power-switching-K64/m-p/349415#M379</guid>
      <dc:creator>pietrodicastri</dc:creator>
      <dc:date>2015-02-06T07:23:30Z</dc:date>
    </item>
  </channel>
</rss>

