<?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: KEA-128 waitmode and stopmode in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195415#M59072</link>
    <description>&lt;P&gt;Thanks ErichS&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2020 10:02:40 GMT</pubDate>
    <dc:creator>prasannahv</dc:creator>
    <dc:date>2020-12-08T10:02:40Z</dc:date>
    <item>
      <title>KEA-128 waitmode and stopmode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195257#M59066</link>
      <description>&lt;P&gt;I want enable wait mode and stopmode in kea128 MCu . please share any sample code&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195257#M59066</guid>
      <dc:creator>prasannahv</dc:creator>
      <dc:date>2020-12-08T07:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-128 waitmode and stopmode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195262#M59067</link>
      <description>&lt;P&gt;Wait mode is very simple:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;__asm("wait");&lt;/LI-CODE&gt;&lt;P&gt;Stop mode: consult the SDK examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:44:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195262#M59067</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-12-08T07:44:10Z</dc:date>
    </item>
    <item>
      <title>KEA-128 waitmode and stopmode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195278#M59068</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;SPAN&gt;ErichS for your replay..&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;__asm("wait");&lt;/PRE&gt;&lt;P&gt;for this command it is giving error.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 07:59:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195278#M59068</guid>
      <dc:creator>prasannahv</dc:creator>
      <dc:date>2020-12-08T07:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-128 waitmode and stopmode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195296#M59069</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181191"&gt;@prasannahv&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm sorry, mixed up things. Wanted to write 'wfi' (wait for interrupt) which puts it into WAIT mode.&lt;/P&gt;&lt;P&gt;The more complete example would be to use&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;  __asm volatile("dsb");
  __asm volatile("wfi");
  __asm volatile("isb");&lt;/LI-CODE&gt;&lt;P&gt;The barrier instructions might not be strictly needed, but I always add them.&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 08:19:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195296#M59069</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-12-08T08:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-128 waitmode and stopmode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195355#M59070</link>
      <description>&lt;P&gt;Hi Erich , Here i attached my testcode.&amp;nbsp; Now device is going to waitmode , it is not going to while loop but after some time device is restarting.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int main(void)&lt;BR /&gt;/*lint -restore Enable MISRA rule (6.3) checking. */&lt;BR /&gt;{&lt;BR /&gt;/* Write your local variable definition here */&lt;/P&gt;&lt;P&gt;/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/&lt;BR /&gt;PE_low_level_init();&lt;BR /&gt;/*** End of Processor Expert internal initialization. ***/&lt;BR /&gt;/**** Board level initializations ****/&lt;BR /&gt;Clk_Init(); //clock initialization&lt;BR /&gt;GPIO_Init();&lt;BR /&gt;UART_Init(115200); /*Initialize Uart 2 debug port at 115200 bauds */&lt;BR /&gt;Enable_Interrupt(INT_UART2); /* Enable UART2 interrupt */&lt;BR /&gt;give_delay_in_ms(5);&lt;BR /&gt;print_debug("Test_main\r\n",(int)(int)strlen("Test_main\r\n"));&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;give_delay_in_ms(1000);&lt;BR /&gt;__asm volatile("dsb");&lt;/P&gt;&lt;P&gt;__asm volatile("wfi");&lt;/P&gt;&lt;P&gt;__asm volatile("isb");&lt;BR /&gt;while(1){&lt;BR /&gt;debugport_command_interpreter();&lt;BR /&gt;print_debug("Test_main\r\n",(int)(int)strlen("Test_main\r\n"));&lt;BR /&gt;give_delay_in_ms(1000);&lt;BR /&gt;}&lt;BR /&gt;/* Write your code here */&lt;BR /&gt;/* For example: for(;;) { } */&lt;/P&gt;&lt;P&gt;/*** Don't write any code pass this line, or it will be deleted during code generation. ***/&lt;BR /&gt;/*** RTOS startup code. Macro PEX_RTOS_START is defined by the RTOS component. DON'T MODIFY THIS CODE!!! ***/&lt;BR /&gt;#ifdef PEX_RTOS_START&lt;BR /&gt;PEX_RTOS_START(); /* Startup of the selected RTOS. Macro is defined by the RTOS component. */&lt;BR /&gt;#endif&lt;BR /&gt;/*** End of RTOS startup code. ***/&lt;BR /&gt;/*** Processor Expert end of main routine. DON'T MODIFY THIS CODE!!! ***/&lt;BR /&gt;for(;;){}&lt;BR /&gt;/*** Processor Expert end of main routine. DON'T WRITE CODE BELOW!!! ***/&lt;BR /&gt;} /*** End of main routine. DO NOT MODIFY THIS TEXT!!! ***/&lt;/P&gt;&lt;P&gt;/* END main */&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 09:08:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195355#M59070</guid>
      <dc:creator>prasannahv</dc:creator>
      <dc:date>2020-12-08T09:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-128 waitmode and stopmode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195399#M59071</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/181191"&gt;@prasannahv&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;it looks like you are using Processor Expert. I'm not using your device, but with Processor Expert it should come with low power mode support in the CPU component.&lt;/P&gt;&lt;P&gt;As for wfi: it does exactly that: it enters CPU wait mode and waits for the next interrupt.&lt;/P&gt;&lt;P&gt;If there is no interrupt coming, it will wait forever.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 09:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195399#M59071</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-12-08T09:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: KEA-128 waitmode and stopmode</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195415#M59072</link>
      <description>&lt;P&gt;Thanks ErichS&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 10:02:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/KEA-128-waitmode-and-stopmode/m-p/1195415#M59072</guid>
      <dc:creator>prasannahv</dc:creator>
      <dc:date>2020-12-08T10:02:40Z</dc:date>
    </item>
  </channel>
</rss>

