<?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>ColdFire/68K Microcontrollers and Processors中的主题 Re: MCF51QE128 - Low Power Modes - stop4, stop3</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QE128-Low-Power-Modes-stop4-stop3/m-p/161851#M5213</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is an old post but I'll give an answer to help out people working on stop modes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PPDC is a write once bit, so must be set in the __initialize_hardware procedure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Care must be paid if you're working with the debugger attached or detached. If it is attached XCSR[ENBDM] is set to 1, hence if calling &amp;nbsp;STOP3 and STOP2 will go into STOP4 mode instead. I currently have problems with the debugger detached (Flexis DEMOJM, P&amp;amp;E Multilink cyclonepro via USB) because when calling a stop3 or stop4 I get a Reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Mar 2010 17:37:14 GMT</pubDate>
    <dc:creator>leopard86</dc:creator>
    <dc:date>2010-03-30T17:37:14Z</dc:date>
    <item>
      <title>MCF51QE128 - Low Power Modes - stop4, stop3</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QE128-Low-Power-Modes-stop4-stop3/m-p/161850#M5212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;I am pretty new to the QE128. Right now I am wondering, if there are some code examples somewhere in the net. I only found some examples in this document here (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.freescale.com%2Ffiles%2Fmicrocontrollers%2Fdoc%2Fuser_guide%2FQE128QRUG.pdf%3Ffsrch%3D1" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/microcontrollers/doc/user_guide/QE128QRUG.pdf?fsrch=1&lt;/A&gt;&lt;SPAN&gt;) but nothing to the low-power modes.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I put the CPU to stop4 mode? Right now I am doing all my work in ISR's and the CPU is in a "while(1)" loop. Now I want to put it to stop4 or even stop3 if possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But how does it work? I tried the following code for stop4:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; SPMSC2 &amp;amp;= ~ 0x80;&amp;nbsp; // LPR&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; SPMSC2 &amp;amp;= ~ 0x01;&amp;nbsp; // PPDC;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; asm {&amp;nbsp; mov3q #4,d0; bclr.b d0,SOPT1; stop #0x2000; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but after that my ISR's are not executed any longer...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does somebody have any idea what the reason could be?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ciao,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Uli&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2007 00:13:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QE128-Low-Power-Modes-stop4-stop3/m-p/161850#M5212</guid>
      <dc:creator>Parker</dc:creator>
      <dc:date>2007-11-09T00:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: MCF51QE128 - Low Power Modes - stop4, stop3</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QE128-Low-Power-Modes-stop4-stop3/m-p/161851#M5213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is an old post but I'll give an answer to help out people working on stop modes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PPDC is a write once bit, so must be set in the __initialize_hardware procedure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Care must be paid if you're working with the debugger attached or detached. If it is attached XCSR[ENBDM] is set to 1, hence if calling &amp;nbsp;STOP3 and STOP2 will go into STOP4 mode instead. I currently have problems with the debugger detached (Flexis DEMOJM, P&amp;amp;E Multilink cyclonepro via USB) because when calling a stop3 or stop4 I get a Reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Mar 2010 17:37:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF51QE128-Low-Power-Modes-stop4-stop3/m-p/161851#M5213</guid>
      <dc:creator>leopard86</dc:creator>
      <dc:date>2010-03-30T17:37:14Z</dc:date>
    </item>
  </channel>
</rss>

