<?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>8-bit Microcontrollers中的主题 Current problem&amp;#160; MC9S08QE16 in Stop3.</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387155#M21248</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently I was assigned a project. But to achieve that project, I need to make the MC9S08QE16 go below to 4uA with a extern RTC.&lt;BR /&gt;Currently I was able to achieve 25-22~uA with RTC and 8-7.5~uA without RTC.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had read a lot in the forum but I cannot make it go below.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will attach some picture and the code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Processor Expert Components:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17166_17166.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120060iE4DA97BF77A3BA31/image-size/large?v=v2&amp;amp;px=999" role="button" title="17166_17166.jpg" alt="17166_17166.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture0.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47769i8ACB23F449DF3138/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture0.JPG.jpg" alt="Capture0.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Processor Expert CPU config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17167_17167.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120061i2BB368E039822E61/image-size/large?v=v2&amp;amp;px=999" role="button" title="17167_17167.jpg" alt="17167_17167.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture1.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47770iB16C2F8C7A1B3824/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.JPG.jpg" alt="Capture1.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RTC config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17168_17168.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120062i5B167558C7885B59/image-size/large?v=v2&amp;amp;px=999" role="button" title="17168_17168.jpg" alt="17168_17168.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture2.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47771i735CCC5274E35B60/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG.jpg" alt="Capture2.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17169_17169.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120063i4802590D33292A70/image-size/large?v=v2&amp;amp;px=999" role="button" title="17169_17169.jpg" alt="17169_17169.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture3.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47772i475B38EDF5B5FA35/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.JPG.jpg" alt="Capture3.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;LVD module is disable in Stop mode.&lt;/LI&gt;&lt;LI&gt;All unused I/O pins were set as Output and default value 0;&lt;/LI&gt;&lt;LI&gt;ADC module is disable.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for advance.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337709"&gt;Source-Code.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Dec 2014 19:18:45 GMT</pubDate>
    <dc:creator>Braulio_Cespede</dc:creator>
    <dc:date>2014-12-02T19:18:45Z</dc:date>
    <item>
      <title>Current problem  MC9S08QE16 in Stop3.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387155#M21248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently I was assigned a project. But to achieve that project, I need to make the MC9S08QE16 go below to 4uA with a extern RTC.&lt;BR /&gt;Currently I was able to achieve 25-22~uA with RTC and 8-7.5~uA without RTC.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had read a lot in the forum but I cannot make it go below.&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will attach some picture and the code.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;Processor Expert Components:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17166_17166.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120060iE4DA97BF77A3BA31/image-size/large?v=v2&amp;amp;px=999" role="button" title="17166_17166.jpg" alt="17166_17166.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture0.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47769i8ACB23F449DF3138/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture0.JPG.jpg" alt="Capture0.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Processor Expert CPU config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17167_17167.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120061i2BB368E039822E61/image-size/large?v=v2&amp;amp;px=999" role="button" title="17167_17167.jpg" alt="17167_17167.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture1.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47770iB16C2F8C7A1B3824/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.JPG.jpg" alt="Capture1.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RTC config:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17168_17168.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120062i5B167558C7885B59/image-size/large?v=v2&amp;amp;px=999" role="button" title="17168_17168.jpg" alt="17168_17168.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture2.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47771i735CCC5274E35B60/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG.jpg" alt="Capture2.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="17169_17169.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/120063i4802590D33292A70/image-size/large?v=v2&amp;amp;px=999" role="button" title="17169_17169.jpg" alt="17169_17169.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Capture3.JPG.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/47772i475B38EDF5B5FA35/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.JPG.jpg" alt="Capture3.JPG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;LVD module is disable in Stop mode.&lt;/LI&gt;&lt;LI&gt;All unused I/O pins were set as Output and default value 0;&lt;/LI&gt;&lt;LI&gt;ADC module is disable.&lt;/LI&gt;&lt;/OL&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for advance.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337709"&gt;Source-Code.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 19:18:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387155#M21248</guid>
      <dc:creator>Braulio_Cespede</dc:creator>
      <dc:date>2014-12-02T19:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: Current problem  MC9S08QE16 in Stop3.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387156#M21249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know if you're already doing these but, if not, you could try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Turn off the various unused peripherals (like, for example, the SCI).&amp;nbsp; Turn it off means, in most cases, writing the default reset values to the related registers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Turn off all clocks to the various peripherals (that you don't need).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Order matters so you should first turn off, say, the SCI, and then remove its clock.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Note: It's been a really long time I had to do this but I think that shutting off just the clock (say, to the SCI) did not reduce consumption as much as first turning the SCI off, and then its clock.&amp;nbsp; I could be mistaken about the exact details, because it was many years ago, but there was some little quirk like this that took me a while to figure out, and it alone dropped consumption to acceptable levels.]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 20:00:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387156#M21249</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2014-12-02T20:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: Current problem  MC9S08QE16 in Stop3.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387157#M21250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've already did it and not just the SCI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look:&lt;/P&gt;&lt;P&gt;&amp;nbsp; ACMP1SC=0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ACMP2SC=0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; IICC1=0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; IICC2=0x00;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCI1C2=0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCI1C2=0x00;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCI2C2=0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCI2C2=0x00;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TPM1SC = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TPM2SC = 0x00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TPM3SC = 0x00;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 20:57:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387157#M21250</guid>
      <dc:creator>Braulio_Cespede</dc:creator>
      <dc:date>2014-12-02T20:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Current problem  MC9S08QE16 in Stop3.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387158#M21251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fine, but I don't see any references to the SCGC1 and SCGC2 registers to turn off the peripheral clocks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Dec 2014 21:40:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387158#M21251</guid>
      <dc:creator>tonyp</dc:creator>
      <dc:date>2014-12-02T21:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Current problem  MC9S08QE16 in Stop3.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387159#M21252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for answer again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've set the SCGC1 and SCGC2, but apparently It doesn't do anything different from before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*SCGC1: TPM3=0,TPM2=0,TPM1=0,ADC=0,??,IIC=0,SCI2=0,SCI1=0*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCGC1 = 0x00;&lt;/P&gt;&lt;P&gt; /*SCGC2: DBG=0,FLS=0,IRQ=0,KBI=0,ACMP=0,RTC=1, ??,SPI=0 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; SCGC2 = 0x04;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Note: SCGC2 = 0x04, because if I disable the RTC the current consumption goes up to 6 mA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now with this set and the RTC clock enable it's consumption is 24-30~uA in stop3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you any other suggestion?&lt;/P&gt;&lt;P&gt;Thank again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Dec 2014 14:18:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Current-problem-160-MC9S08QE16-in-Stop3/m-p/387159#M21252</guid>
      <dc:creator>Braulio_Cespede</dc:creator>
      <dc:date>2014-12-03T14:18:23Z</dc:date>
    </item>
  </channel>
</rss>

