<?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: Stop3 Current Consumption ~500uA in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop3-Current-Consumption-500uA-MC9S08QE8/m-p/156959#M9096</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Here is one hint from the errata:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Stop3 IDDSE130-Stop3IDD&lt;BR /&gt;Description&lt;BR /&gt;An error in the flash memory access logic results in higher than specified stop3 currents. Typical stop3 IDDs are 16–19 μA, whereas the specified typical value is 400 nA.&lt;BR /&gt;This erratum will be corrected on production devices.&lt;BR /&gt;Workarounds&lt;BR /&gt;The specified stop3 currents can be obtained by executing the STOP instruction out of RAM memory instead of from flash memory.&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;// This is required for errata on 0M11J Mask set#define Enter_Stop asm(jsr RamStop)static unsigned char RamStop[0x02]= { 0x8E, 0x81};.. (in main)      for(;;)    {        Enter_Stop;          } /* loop forever */&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;Here is a &lt;A href="http://www.freescalemcu.com/downloads/QE128_Stop3_RTC.zip" rel="nofollow noopener noreferrer noopener noreferrer" target="_blank"&gt;link to a project&lt;/A&gt; that will get 1.5ua using the xtal and 500-600na using the low power internal oscillator. It took me a while to get this right.&lt;BR /&gt;&lt;BR /&gt;Also you must remove certain jumpers from the board. There is a PDF in the zip file that explains this.&lt;BR /&gt;After burning flash, you must reset the board to make the BDM let go - I flick the power switch.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please get back to me and tell what you got.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 09:01:17 GMT</pubDate>
    <dc:creator>JimDon</dc:creator>
    <dc:date>2020-10-29T09:01:17Z</dc:date>
    <item>
      <title>Stop3 Current Consumption ~500uA - MC9S08QE8</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop3-Current-Consumption-500uA-MC9S08QE8/m-p/156958#M9095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;i'm using the PE Micro DEMOQE Board with an MC9S08QE8 Daughter Card.&lt;BR /&gt;&lt;BR /&gt;I have measured the current consumption in stop3 mode, which is round about 500uA.&lt;BR /&gt;That's too much! The FLL is in FEE Mode.&lt;BR /&gt;&lt;BR /&gt;Code for device initialization&lt;BR /&gt;&lt;BR /&gt;setReg8(SOPT1, 0x61);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;setReg8(SPMSC1, 0x18);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;setReg8(SPMSC2, 0x02);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;clrReg8Bits(SPMSC3, 0x08);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;setReg8(ICSC1, 0x06);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialization of the ICS control register 1 */&lt;BR /&gt;setReg8(ICSC2, 0xC4);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialization of the ICS control register 2 */&lt;BR /&gt;while(!ICSSC_IREFST) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Wait until the source of reference clock is internal clock */&lt;BR /&gt;}&lt;BR /&gt;clrReg8Bits(ICSSC, 0xE0);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* Initialization of the ICS status and control */&lt;BR /&gt;&lt;BR /&gt;clrReg8Bits(SCGC1, 0x75);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;clrSetReg8Bits(SCGC2, 0xED, 0x10);&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Have anybody an idea where the problem is?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Added p/n to subject.&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Message Edited by NLFSJ on &lt;/SPAN&gt;&lt;SPAN class="date_text"&gt;2008-05-19&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;01:38 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2008 19:03:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop3-Current-Consumption-500uA-MC9S08QE8/m-p/156958#M9095</guid>
      <dc:creator>ef24096</dc:creator>
      <dc:date>2008-05-19T19:03:08Z</dc:date>
    </item>
    <item>
      <title>Re: Stop3 Current Consumption ~500uA</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop3-Current-Consumption-500uA-MC9S08QE8/m-p/156959#M9096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Here is one hint from the errata:&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;Stop3 IDDSE130-Stop3IDD&lt;BR /&gt;Description&lt;BR /&gt;An error in the flash memory access logic results in higher than specified stop3 currents. Typical stop3 IDDs are 16–19 μA, whereas the specified typical value is 400 nA.&lt;BR /&gt;This erratum will be corrected on production devices.&lt;BR /&gt;Workarounds&lt;BR /&gt;The specified stop3 currents can be obtained by executing the STOP instruction out of RAM memory instead of from flash memory.&lt;/B&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;// This is required for errata on 0M11J Mask set#define Enter_Stop asm(jsr RamStop)static unsigned char RamStop[0x02]= { 0x8E, 0x81};.. (in main)      for(;;)    {        Enter_Stop;          } /* loop forever */&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;Here is a &lt;A href="http://www.freescalemcu.com/downloads/QE128_Stop3_RTC.zip" rel="nofollow noopener noreferrer noopener noreferrer" target="_blank"&gt;link to a project&lt;/A&gt; that will get 1.5ua using the xtal and 500-600na using the low power internal oscillator. It took me a while to get this right.&lt;BR /&gt;&lt;BR /&gt;Also you must remove certain jumpers from the board. There is a PDF in the zip file that explains this.&lt;BR /&gt;After burning flash, you must reset the board to make the BDM let go - I flick the power switch.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please get back to me and tell what you got.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:01:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop3-Current-Consumption-500uA-MC9S08QE8/m-p/156959#M9096</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2020-10-29T09:01:17Z</dc:date>
    </item>
  </channel>
</rss>

