<?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: HCS08QG8 stop2 crazy !!!!! in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08QG8-stop2-crazy/m-p/129815#M2202</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Marco,&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;You do not say the location of the current sense resistor.&amp;nbsp; If it is in the ground lead, this could be problematic, especially when it has a&amp;nbsp;2 volt drop.&amp;nbsp; The resistor is probably best located in the Vdd lead, so you are measuring only the MCU current (and not that of the RS232 interface).&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;Further, a 2 volt drop when the MCU is operational is likely too much, and may cause disruption.&amp;nbsp; Perhaps you should place a Schottky diode in parallel with the resistor, to limit the maximum voltage drop to about 0.4 volts.&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>Sat, 07 Apr 2007 00:54:26 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2007-04-07T00:54:26Z</dc:date>
    <item>
      <title>HCS08QG8 stop2 crazy !!!!!</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08QG8-stop2-crazy/m-p/129814#M2201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hi gang,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have developed a simple board with HCS08QG, with mixed line/battery power supply.&lt;BR /&gt;When line power supply is not and only battery supply is present,&amp;nbsp;micro will&amp;nbsp;enter in STOP2 mode. A RTI will wake up it after 1.024s, then it will go in STOP MODE2, then it will again waked up by RTI: this loop will over when line power supply will come again.&lt;BR /&gt;I sense the current sink in STOP2 mode through a battery series resistor (560R), all is as expected (I see 1mV across 560R, with short spike, 1.024 sec period).&lt;/DIV&gt;&lt;DIV&gt;All is perfect, the problem will come when i try to connect the board with the world...&lt;/DIV&gt;&lt;DIV&gt;I have a very simple RS232 interface board (standard max232 with 5 cap) to interface micro with PC serial port.&lt;/DIV&gt;&lt;DIV&gt;If I connect&amp;nbsp;the board to micro board, all is ok.&lt;/DIV&gt;&lt;DIV&gt;When&amp;nbsp;I connect&amp;nbsp;PC RS232 (tx rx ground)&amp;nbsp;to this interface board,&amp;nbsp;immediately I see that the voltage across current sense resistor 560R R23 jump to a 2 Volt in theorical STOP2 Mode !!!!!&lt;/DIV&gt;&lt;DIV&gt;But if I get power supply to the board with a wall power supply, micro is again wake,&amp;nbsp;but across 560R I see ever 2 Volt, and I see 2 V after disconnect the power supply !!!!&lt;/DIV&gt;&lt;DIV&gt;The only mode, to see a nA sink current, is to disconnect the power supply, the pc from RS232 board, the connet the power supply, say hallo to micro, and then disconnect again the power supply!!! Wonder, now some nA of current sink.&lt;/DIV&gt;&lt;DIV&gt;I try to cut tx and rx line, the problem seems to arise from ground line connection&amp;nbsp;!!!!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It seems, that connect an external ground is source of a crazy behavior, I don't understand nothing !!!!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Marco&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Apr 2007 04:57:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08QG8-stop2-crazy/m-p/129814#M2201</guid>
      <dc:creator>marcom</dc:creator>
      <dc:date>2007-04-06T04:57:54Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08QG8 stop2 crazy !!!!!</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08QG8-stop2-crazy/m-p/129815#M2202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Marco,&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;You do not say the location of the current sense resistor.&amp;nbsp; If it is in the ground lead, this could be problematic, especially when it has a&amp;nbsp;2 volt drop.&amp;nbsp; The resistor is probably best located in the Vdd lead, so you are measuring only the MCU current (and not that of the RS232 interface).&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;Further, a 2 volt drop when the MCU is operational is likely too much, and may cause disruption.&amp;nbsp; Perhaps you should place a Schottky diode in parallel with the resistor, to limit the maximum voltage drop to about 0.4 volts.&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>Sat, 07 Apr 2007 00:54:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08QG8-stop2-crazy/m-p/129815#M2202</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2007-04-07T00:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: HCS08QG8 stop2 crazy !!!!!</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08QG8-stop2-crazy/m-p/129816#M2203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi marcom,&lt;/DIV&gt;&lt;DIV&gt;Try with a "standby-able" RS232 driver like MAX3222.&lt;/DIV&gt;&lt;DIV&gt;This chip has a standby pin which reduces the current consuption very low.&lt;/DIV&gt;&lt;DIV&gt;Your Rx and Tx pins will be in high Z state.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Yvan&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Apr 2007 02:52:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HCS08QG8-stop2-crazy/m-p/129816#M2203</guid>
      <dc:creator>yb</dc:creator>
      <dc:date>2007-04-07T02:52:11Z</dc:date>
    </item>
  </channel>
</rss>

