<?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: Waking up from LPRun/LPWait - MC9S08QE64</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184849#M13776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;QE devices include the version 4 of the SCI module, which is able to wakeup the CPU from a stop3 mode by using the edge detection circuitry.&lt;BR /&gt;&lt;BR /&gt;Using this feature the SCI is able to wakeup the CPU upon receiving a character, but I am not sure if the first character will be received correctly, specially at this speed (I believe it will work ok).&lt;BR /&gt;&lt;BR /&gt;Regarding to the LPrun and LPwait modes, they are rated for a maximum 125 kHz BUSCLK. At this speed is impossible to achieve baud rates of 57k6.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Feb 2008 23:17:32 GMT</pubDate>
    <dc:creator>fabio</dc:creator>
    <dc:date>2008-02-03T23:17:32Z</dc:date>
    <item>
      <title>Waking up from LPRun/LPWait - MC9S08QE64</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184848#M13775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;SPAN&gt;Hi folks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a queation for you guys.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a system that's supposed to run on a S08QE64. In one of the modes it only communicates on a UART. Since it is a battery driven system I want to save as much power as possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I want to do is wake up from some LP mode whenever data is recieved on the uart, process the data, and then go back to sleep again. I have no control over the data sent to me, and it has to be in 57,6 kbaud.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My first question: Is this possible without losing the first bit (at the given baud rate)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;My second question: Other modes of the application requires some computaional power, so running at a low clock all the time is out of the question (I would prefer an external high freq. crystal), and LPWait and LPRun seem to demand external clock, but there is only one clock input to the mcu? So if i want to use the LP modes, i have to use the internal osc. in run mode and an exernal low freq. source in LP?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Im new to this chip, hence all the stupid questions. &lt;/SPAN&gt;&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;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Henrik&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by NLFSJ on &lt;SPAN class="date_text"&gt;2008-02-02&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:56 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="time_text"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="time_text"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="time_text"&gt;Added p/n to subject.&lt;/SPAN&gt;&lt;/P&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-02-02&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;07:56 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 22:02:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184848#M13775</guid>
      <dc:creator>hek</dc:creator>
      <dc:date>2008-02-01T22:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Waking up from LPRun/LPWait - MC9S08QE64</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184849#M13776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;QE devices include the version 4 of the SCI module, which is able to wakeup the CPU from a stop3 mode by using the edge detection circuitry.&lt;BR /&gt;&lt;BR /&gt;Using this feature the SCI is able to wakeup the CPU upon receiving a character, but I am not sure if the first character will be received correctly, specially at this speed (I believe it will work ok).&lt;BR /&gt;&lt;BR /&gt;Regarding to the LPrun and LPwait modes, they are rated for a maximum 125 kHz BUSCLK. At this speed is impossible to achieve baud rates of 57k6.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2008 23:17:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184849#M13776</guid>
      <dc:creator>fabio</dc:creator>
      <dc:date>2008-02-03T23:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: Waking up from LPRun/LPWait - MC9S08QE64</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184850#M13777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;With STOP3 mode, since&amp;nbsp;clocks&amp;nbsp;remain active, I would presume that the SCI module remains&amp;nbsp;functional.&amp;nbsp; It would therefore seem probable that the first character would be received correctly.&amp;nbsp; On the assumption that wakeup wold occur on the start bit transition,&amp;nbsp;RDRF flag should become set about 170 microseconds later.&amp;nbsp; The incoming character would then need to be read within the next 170 microseconds to avoid overrun.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I would assume that the SCI module must remain enabled for edge transition to work, so the peripheral clock must also be enabled continuously, with the associated current draw penality this requires.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;To achieve lower current draw, perhaps using STOP2 mode, would require use of RTS/CTS hanshaking to provide wakeup.&amp;nbsp; The originating end would first set RTS active, and would wait until CTS returned active, before sending the first character of a sequence.&amp;nbsp; At the MCU end, the RTS signal might activate a KBI input, to cause wakeup.&amp;nbsp; When the KBI interrupt is serviced after some wakeup delay, the return CTS line would be activated to allow transmission of the first and subsequent&amp;nbsp;characters.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Another issue for either approach - the RS232 receive buffer for the&amp;nbsp;received data (or RTS) will require to remain continuously active.&amp;nbsp; This may mean that the interface device can never enter sleep mode, for reduced current.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 01:56:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184850#M13777</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-04T01:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Waking up from LPRun/LPWait - MC9S08QE64</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184851#M13778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Well if you use a chip like&amp;nbsp; &lt;SPAN&gt;MAX3227 is has auto sleep mode of a few u amps.&lt;BR /&gt;It does wake up in time, but the combined wake ups make prove a problem, unless you could have them run concurrently by using another input that while not true RS-232, would cause the wake up.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 02:32:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184851#M13778</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-02-04T02:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Waking up from LPRun/LPWait - MC9S08QE64</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184852#M13779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Thank you all for your replies!&lt;BR /&gt;&lt;BR /&gt;As soon as i get my eval kit this will be the first I test. Ill get back to you with the result. The wake-up time from Stop3 should be sufficient (6us, a bit in 57k6 is ~17us), getting lower isnt really that interesting...&lt;BR /&gt;&lt;BR /&gt;One question though, why would it be impossible to maintain 57k6 baud with a bus speed at 125kHz?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Henrik&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 16:24:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184852#M13779</guid>
      <dc:creator>hek</dc:creator>
      <dc:date>2008-02-04T16:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Waking up from LPRun/LPWait - MC9S08QE64</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184853#M13780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Because the baud rate divisors (SCIBDH and SCIBDL registers) can only provide an integer factor. For a 125kHz BUSCLK, your dividing factor would be 125000/57600 = 2.17.&lt;BR /&gt;&lt;BR /&gt;With SCIBD = 2, your actual baud rate will be equal to 62500 bps&lt;BR /&gt;&lt;BR /&gt;With SCIBD = 3, your actual baud rate will be equal to 41667 bps.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 20:18:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184853#M13780</guid>
      <dc:creator>fabio</dc:creator>
      <dc:date>2008-02-04T20:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: Waking up from LPRun/LPWait - MC9S08QE64</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184854#M13781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;But it should be possible to choose another clock source that can be divided down to 57.6K?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 20:29:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184854#M13781</guid>
      <dc:creator>hek</dc:creator>
      <dc:date>2008-02-04T20:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: Waking up from LPRun/LPWait - MC9S08QE64</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184855#M13782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;It is worse than than that - its BCLK/baudrate/16 so the best you could get would be 7.8K baudrate with a 125K BCLK.&lt;BR /&gt;You need a bus clock of at least baudrate * 16 or 1.84 Mhz. And as pointed out if it is not a multiple, it will not be very accurate. This mean the CLK needs to be 3.68 Mhz.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JimDon on &lt;SPAN class="date_text"&gt;2008-02-04&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;08:25 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 21:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Waking-up-from-LPRun-LPWait-MC9S08QE64/m-p/184855#M13782</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-02-04T21:22:55Z</dc:date>
    </item>
  </channel>
</rss>

