<?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: LC60: Problem getting to Stop1 mode in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/LC60-Problem-getting-to-Stop1-mode/m-p/219814#M19138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Learner,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think that information is telling you to modify the BDCSCR register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rather it is indicating that STOP1 mode is not available when that bit is set i.e. You can't do STOP1 when using the Background Debug Monitor.&amp;nbsp; This would be the usual case when debugging the chip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically you have to be content with STOP3 when debugging since you need some clocks.&amp;nbsp; When you then run you program for real without the debugger than STOP1 will be available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this is clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Oct 2009 10:19:55 GMT</pubDate>
    <dc:creator>pgo</dc:creator>
    <dc:date>2009-10-08T10:19:55Z</dc:date>
    <item>
      <title>LC60: Problem getting to Stop1 mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/LC60-Problem-getting-to-Stop1-mode/m-p/219813#M19137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm having problem getting my LC60 into Stop1 Mode, it's written on the datasheet that inorder to go into Stop Mode, 'ENBDM' located in the 'BDCSCR' need to be set to 0. And 'BDCSCR' only accessible through BDC commands. But how do I access the BDC commands? I tried looking at the 'Development Support section' as told, but still couldn't figure out anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help please? Thanks! &lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif"&gt;&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 09:44:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/LC60-Problem-getting-to-Stop1-mode/m-p/219813#M19137</guid>
      <dc:creator>info_nrh</dc:creator>
      <dc:date>2009-10-08T09:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: LC60: Problem getting to Stop1 mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/LC60-Problem-getting-to-Stop1-mode/m-p/219814#M19138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Learner,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think that information is telling you to modify the BDCSCR register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rather it is indicating that STOP1 mode is not available when that bit is set i.e. You can't do STOP1 when using the Background Debug Monitor.&amp;nbsp; This would be the usual case when debugging the chip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically you have to be content with STOP3 when debugging since you need some clocks.&amp;nbsp; When you then run you program for real without the debugger than STOP1 will be available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this is clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;bye&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 10:19:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/LC60-Problem-getting-to-Stop1-mode/m-p/219814#M19138</guid>
      <dc:creator>pgo</dc:creator>
      <dc:date>2009-10-08T10:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: LC60: Problem getting to Stop1 mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/LC60-Problem-getting-to-Stop1-mode/m-p/219815#M19139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you mean after I flash the program code into the LC60 using the BDM, disconnect it, it should be able to go into Stop1 Mode?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried disconnecting it and run, but the input current measured from the power supply doesn't seems to drop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the code that i use...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;void STOP1_MODE_ENTER(void){&amp;nbsp;&amp;nbsp;&amp;nbsp; //STOP1 mode is used for 'shut down'&lt;BR /&gt;&amp;nbsp; SOPT1_STOPE=1;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //1=Enable the STOP mode&lt;BR /&gt;&amp;nbsp; SPMSC1_LVDSE=0;&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; //0=Disable low-voltage detect during STOP enabled&lt;BR /&gt;&amp;nbsp; SPMSC1_LVDE=0;&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; //0=Disable LVD logic&lt;BR /&gt;&amp;nbsp; SPMSC2_PDC=1;&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; //1=Enable Power Down Control&lt;BR /&gt;&amp;nbsp; SPMSC2_PPDC=0;&lt;BR /&gt;&amp;nbsp; __asm{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; stop;&lt;BR /&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;any help??&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Oct 2009 13:05:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/LC60-Problem-getting-to-Stop1-mode/m-p/219815#M19139</guid>
      <dc:creator>info_nrh</dc:creator>
      <dc:date>2009-10-08T13:05:48Z</dc:date>
    </item>
  </channel>
</rss>

