<?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のトピックMC9S08QG8 Timer in Stop Mode</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08QG8-Timer-in-Stop-Mode/m-p/166177#M10563</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Is there a way to enable the timer so it keeps a count while in stop3? I need to maintain a count of the time between triggered ADC interrupts while the MCU is in stop3.&amp;nbsp; I would very much appreciate any help in this regard as I am very new.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Mar 2009 07:56:19 GMT</pubDate>
    <dc:creator>Rhioponomous</dc:creator>
    <dc:date>2009-03-24T07:56:19Z</dc:date>
    <item>
      <title>MC9S08QG8 Timer in Stop Mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08QG8-Timer-in-Stop-Mode/m-p/166177#M10563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;Is there a way to enable the timer so it keeps a count while in stop3? I need to maintain a count of the time between triggered ADC interrupts while the MCU is in stop3.&amp;nbsp; I would very much appreciate any help in this regard as I am very new.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks!&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 07:56:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08QG8-Timer-in-Stop-Mode/m-p/166177#M10563</guid>
      <dc:creator>Rhioponomous</dc:creator>
      <dc:date>2009-03-24T07:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08QG8 Timer in Stop Mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08QG8-Timer-in-Stop-Mode/m-p/166178#M10564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, and welcome to the forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would need to use the RTI module to periodically wakeup the MCU, increment a counter variable in RAM, and then re-enter STOP3 mode.&amp;nbsp; With this method, the timing resolution will be about 8ms minimum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For timing accuracy, you would need to use an external crystal as the clock source, rather than the internal 1kHz oscillator.&amp;nbsp; The external clock will need to be enabled during STOP3.&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>Tue, 24 Mar 2009 09:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08QG8-Timer-in-Stop-Mode/m-p/166178#M10564</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2009-03-24T09:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08QG8 Timer in Stop Mode</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08QG8-Timer-in-Stop-Mode/m-p/166179#M10565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying the exact same thing on an MC9S08RD60/MC9S08RG60, but I can't figure out how to enable it. The data sheet says (section 5.7):&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;When using the external oscillator in stop3 mode, it must be enabled in stop (OSCSTEN = 1) and conﬁgured for low bandwidth operation (RANGE = 0)[/quote]&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I can't find any reference to OSCSTEN. Currently, my timer is configured to generate an interrupt every 1.11 ms (with 15MHz crysta, RTIS is set to 1:1:0, equalling 'T_ext x 1638'). Do I need to change anything to the timer configuration to keep it running when entering stop3 mode?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;/P&gt;&lt;P&gt;Ruud&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by oudeis on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-03-24&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;07:42 AM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2009 14:39:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08QG8-Timer-in-Stop-Mode/m-p/166179#M10565</guid>
      <dc:creator>oudeis</dc:creator>
      <dc:date>2009-03-24T14:39:57Z</dc:date>
    </item>
  </channel>
</rss>

