<?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: Low power modes for MC13213 SRB in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140550#M5658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Update...&lt;BR /&gt;&lt;BR /&gt;I can see the state of MAC with:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWRLib_GetMacStateReq()&lt;BR /&gt;&lt;BR /&gt;However, it is never gAspMacStateIdle_c, so I have to reset it. When reset, it is gAspMacStateIdle_c.&lt;BR /&gt;I ask why isn't it ever Idle (without reset)?&lt;BR /&gt;&lt;BR /&gt;The following functions seems to work correctly.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Asp_GetInactiveTimeReq(maTempBuffer);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; UartUtil_PrintHex(maTempBuffer,3,0);&lt;BR /&gt;But I can't understand: if there is much INACTIVE TIME to spend, why isn't MAC idle?&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2007 22:53:54 GMT</pubDate>
    <dc:creator>lex4098</dc:creator>
    <dc:date>2007-07-19T22:53:54Z</dc:date>
    <item>
      <title>Low power modes for MC13213 SRB</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140549#M5657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am programming a MC13213 SRB board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with Freescale 802.15.4 MAC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can't use PWRLIB since:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;1) If I use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PWRLib_RadioAcomaDozeReq(TRUE)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;then it happens that&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PWRLib_RadioWakeReq()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;is always FALSE (radio sleeping).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;2) If I use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PWRLib_RadioOffReq()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;then I can't backup the MODEM beacause&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;PWRLib_RadioOnReq()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;won't make ever it send beacons again.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;3) If I use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Asp_AutoDozeReq(...);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;then I can't check which is the current state of the MODEM,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;and there is not a similar ASP WAKE primitive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;4) If I use&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Asp_DozeReq(TRUE, TRUE, autoDozeInterval, FALSE)&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; there is not a similare ASP WAKE primitive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can someone suggest a quick and smart way for low power?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I need also a way to know the current state of the MODEM and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to restart the MAC/PHY correctly: beacon must be sent, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I work with a beacon enabled network and I use TMR module.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Before touching the MODEM I put the clock to internal @ 125kHz so&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't need the CLKO signal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 15:46:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140549#M5657</guid>
      <dc:creator>lex4098</dc:creator>
      <dc:date>2007-07-19T15:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Low power modes for MC13213 SRB</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140550#M5658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Update...&lt;BR /&gt;&lt;BR /&gt;I can see the state of MAC with:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWRLib_GetMacStateReq()&lt;BR /&gt;&lt;BR /&gt;However, it is never gAspMacStateIdle_c, so I have to reset it. When reset, it is gAspMacStateIdle_c.&lt;BR /&gt;I ask why isn't it ever Idle (without reset)?&lt;BR /&gt;&lt;BR /&gt;The following functions seems to work correctly.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Asp_GetInactiveTimeReq(maTempBuffer);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; UartUtil_PrintHex(maTempBuffer,3,0);&lt;BR /&gt;But I can't understand: if there is much INACTIVE TIME to spend, why isn't MAC idle?&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 22:53:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140550#M5658</guid>
      <dc:creator>lex4098</dc:creator>
      <dc:date>2007-07-19T22:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Low power modes for MC13213 SRB</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140551#M5659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;A concrete matter: how can a device re-sync with the network (beacons) if all the clocks are shut down?&lt;BR /&gt;&lt;BR /&gt;Should it scan the channel again? Or search for a beacon again?&lt;BR /&gt;&lt;BR /&gt;Please help.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2007 23:10:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140551#M5659</guid>
      <dc:creator>lex4098</dc:creator>
      <dc:date>2007-07-19T23:10:25Z</dc:date>
    </item>
    <item>
      <title>Ideas for low power</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140552#M5660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I am working on these ideas, hope they are right.&lt;BR /&gt;&lt;BR /&gt;0. Check if device can sleep (several checks: is MAC idle, is modem inactive, etc.)&lt;BR /&gt;BTW: why MAC is never IDLE (without resetting it?)&lt;BR /&gt;&lt;BR /&gt;1. Change clock mode, use ICG@125khz, in self clock mode.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWRLib_ClockSetup(SelfClk_125kHz);&lt;BR /&gt;&lt;BR /&gt;2. Turn off the Modem&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWRLib_RadioOnReq();&lt;BR /&gt;&lt;BR /&gt;3. Wait some time&lt;BR /&gt;&lt;BR /&gt;4. Turn on the Modem&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWRLib_RadioOnReq();&lt;BR /&gt;&lt;BR /&gt;5. Restore external clock&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PWRLib_ClockSetup(Normal_16MHz);&lt;BR /&gt;&lt;BR /&gt;Is this ok?&lt;BR /&gt;Thanks for any help.&lt;BR /&gt;&lt;BR /&gt;Problems i find:&lt;BR /&gt;1) MAC is never IDLE if i don't reset it. Why?&lt;BR /&gt;2) Should I initialize the MODEM after i turn it on again?&lt;BR /&gt;3) Should I initialize the MAC and/or reset it after I turn on the MODEM again?&lt;BR /&gt;4) Where can i find docs about PWRLIB etc? I found only a small pdf which says not much.&lt;BR /&gt;5) Why the MAC/PHY stops beaconing?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 16:03:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140552#M5660</guid>
      <dc:creator>lex4098</dc:creator>
      <dc:date>2007-07-20T16:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ideas for low power</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140553#M5661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Update...&lt;BR /&gt;&lt;BR /&gt;Now I can put MCU in STOP3 mode for some time (5 s).&lt;BR /&gt;When it exits from there, the APP starts working again.&lt;BR /&gt;&lt;BR /&gt;The problem now is how to shut off the MODEM.&lt;BR /&gt;&lt;BR /&gt;Someone knows if the following functions really work?&lt;BR /&gt;uint8_t Asp_DozeReq(zbClock24_t *dozeDuration, uint8_t clko_en);&lt;BR /&gt;void Asp_AutoDozeReq(bool_t&amp;nbsp; autoEnable, bool_t&amp;nbsp; enableWakeIndication, zbClock24_t *autoDozeInterval, uint8_t clko_en);&lt;BR /&gt;void&amp;nbsp;&amp;nbsp;&amp;nbsp; Asp_WakeReq(void);&lt;BR /&gt;&lt;BR /&gt;Best Regards.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 14:56:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Low-power-modes-for-MC13213-SRB/m-p/140553#M5661</guid>
      <dc:creator>lex4098</dc:creator>
      <dc:date>2007-07-23T14:56:33Z</dc:date>
    </item>
  </channel>
</rss>

