<?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中的主题 Re: HCS08 and stop3 mode</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-and-stop3-mode/m-p/182062#M13339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I tried. Stopping the MTIM or disabling MTIM interrupt&amp;nbsp;works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Nov 2011 18:42:39 GMT</pubDate>
    <dc:creator>zorrotz</dc:creator>
    <dc:date>2011-11-14T18:42:39Z</dc:date>
    <item>
      <title>HCS08 and stop3 mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-and-stop3-mode/m-p/182060#M13337</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 have a problem with the stop3 mode in&amp;nbsp;MC9S08SH16.&lt;/P&gt;&lt;P&gt;After executing the STOP instruction the MCU enters in stop3 mode, but sometimes stop3 is exited when &lt;STRONG&gt;MTIM&lt;/STRONG&gt; (modulo timer) interrupt occurs.&lt;/P&gt;&lt;P&gt;The datasheet doesn't say that MTIM interrupt is a source to exit from stop3&amp;nbsp;mode, but I have checked that it is.&lt;/P&gt;&lt;P&gt;The STOP&amp;nbsp;instruction &lt;STRONG&gt;first&lt;/STRONG&gt; enables&amp;nbsp;the interrupts (the I bit in the condition code register (CCR) is cleared to&lt;/P&gt;&lt;P align="left"&gt;enable interrupts) &lt;STRONG&gt;and then&lt;/STRONG&gt; inhibits the oscillator to put MCU into the stop condition.&lt;/P&gt;&lt;P align="left"&gt;My question is: if the MTIM interrupt takes place between the two steps of the STOP instruction, that is, MTIM interrupt takes place after the STOP instruction enables the interrupts but before the oscillator is inhibited,&amp;nbsp;the MCU doesn't enter in stop3 mode?&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Nov 2011 18:55:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-and-stop3-mode/m-p/182060#M13337</guid>
      <dc:creator>zorrotz</dc:creator>
      <dc:date>2011-11-11T18:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 and stop3 mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-and-stop3-mode/m-p/182061#M13338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Did you try explicitly&amp;nbsp;stopping the MTIM counter prior to executing the STOP instruction.&amp;nbsp; This can be accomplished with MTIMSC_TSTP = 1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This would then be re-enabled on exit from stop 3 mode.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2011 03:12:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-and-stop3-mode/m-p/182061#M13338</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2011-11-12T03:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08 and stop3 mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-and-stop3-mode/m-p/182062#M13339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I tried. Stopping the MTIM or disabling MTIM interrupt&amp;nbsp;works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 18:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08-and-stop3-mode/m-p/182062#M13339</guid>
      <dc:creator>zorrotz</dc:creator>
      <dc:date>2011-11-14T18:42:39Z</dc:date>
    </item>
  </channel>
</rss>

