<?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: MCF52259 Flashing with Battery Backup Connected in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157274#M4699</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rParker is having a similar problem on this forum. I wonder what the "common factors" are between you problems and hardware designs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's some more complications concerning VSTBY and the RTC:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current Consumption - higher than you might like if you're using a "button cell":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/51910#51910" title="https://community.freescale.com/message/51910#51910"&gt;https://community.freescale.com/message/51910#51910&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a battery on VSTBY and it goes flat, it seems the RTC won't run, so you probably do need to run VSTBY from a diode from the battery and a diode from 3V3 (which would fix your current 3.6V battery problem).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/82160#82160" title="https://community.freescale.com/message/82160#82160"&gt;https://community.freescale.com/message/82160#82160&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; If VSTBY is greater than VDD it doesn't boot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you mean by a particular amount, or does it fail at say 3.301V? there usually has to be a difference enough to forward-bias a junction for it to have an effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Data Sheet apparently gives a maximum voltage for VSTBY of 3.5V, so that looks like "0.2V above 3.3V". So if your 3.3V is within spec but LOW and your battery is within spec but HIGH... If this is the problem then the spec for VSTBY should probably be "VDD+0.2V".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a very interesting section in the Data Sheet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM standby supply current&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Normal operation: VDD &amp;gt; VSTBY - 0.3 V&amp;nbsp;&amp;nbsp; = 5uA&lt;BR /&gt;&amp;nbsp; &amp;nbsp; * Standby operation: VDD &amp;lt; VSS + 0.5 V &amp;nbsp;&amp;nbsp; = 20uA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So there's logic that switches at those relative voltages - or they're the minimum and maximum comparison voltages. The MCF52110 is quite different - check its specs for the strange "transient" operation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest you download all Reference, Data Sheet and Errata for every part that has a VSTBY pin (52259, 52110, 5213, 52223, 5282, 5301x) and see if some of the manuals tell you something interesting the others don't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the timing relationship between your 3.3V turning on and the external reset signal going away (assuming you have an external reset controller)? If the Reset is going away before the 3.3V is fully established, then the problem might be the difference between VSTBY and VDD at that point. It may be related to when the crystal starts oscillating relative to the 3l3V ramp and the Reset signal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 08 Jan 2012 13:48:49 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2012-01-08T13:48:49Z</dc:date>
    <item>
      <title>MCF52259 Flashing with Battery Backup Connected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157270#M4695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a Colfire MCF52259 processor with a 3.3V battery connected to the Vstby pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the battery connected (and circuit powered), I am unable to 'flash' program the proccesor using a P&amp;amp;E Micro BDM.&lt;/P&gt;&lt;P&gt;If I remove the battery, the device programs without any issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also noticed the processor will not start-up if the standby battery voltage is slightly high (3.6V).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this 'normal' operation for these devices?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2011 16:10:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157270#M4695</guid>
      <dc:creator>seanmac</dc:creator>
      <dc:date>2011-08-09T16:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52259 Flashing with Battery Backup Connected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157271#M4696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, it's not normal, you need to check your circuit I think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 17:57:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157271#M4696</guid>
      <dc:creator>FridgeFreezer</dc:creator>
      <dc:date>2011-08-10T17:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52259 Flashing with Battery Backup Connected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157272#M4697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have been experiencing the same start up problem as you but was coming at it from another angle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With the battery connected the processor would not start up from a power on reset even if&amp;nbsp;I performed an external reset (by pulling RSTI) after the power on. The only way that I could get the board to start was to disconnect the battery momentarily and then it would run. As soon as the battery was disconnected the application would run.&amp;nbsp;Once it was going everything works OK whether the battery is fitted or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After one of my searches on the forums brought up&amp;nbsp;this&amp;nbsp;post I checked the voltage on the VSTBY pin and found it to be 3.6V from my 3V battery. After making some modifications to the board (fitting a 2.5V zener diode and series resistor between the battery and VSTBY) the board now powers up fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To me it does seem as if this is the effect of the higher than specified&amp;nbsp;voltage on the VSTBY pin rather than a design error somewhere else.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 18:04:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157272#M4697</guid>
      <dc:creator>ebee</dc:creator>
      <dc:date>2012-01-06T18:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52259 Flashing with Battery Backup Connected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157273#M4698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's what I have discovered. If VSTBY is greater than VDD it doesn't boot.&lt;/P&gt;&lt;P&gt;It doesn't matter what the voltages are.&lt;/P&gt;&lt;P&gt;I searched through all the specs but didn't find anything that could explain this phenomenon.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2012 22:50:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157273#M4698</guid>
      <dc:creator>boogy</dc:creator>
      <dc:date>2012-01-06T22:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: MCF52259 Flashing with Battery Backup Connected</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157274#M4699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rParker is having a similar problem on this forum. I wonder what the "common factors" are between you problems and hardware designs?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's some more complications concerning VSTBY and the RTC:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Current Consumption - higher than you might like if you're using a "button cell":&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/51910#51910" title="https://community.freescale.com/message/51910#51910"&gt;https://community.freescale.com/message/51910#51910&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a battery on VSTBY and it goes flat, it seems the RTC won't run, so you probably do need to run VSTBY from a diode from the battery and a diode from 3V3 (which would fix your current 3.6V battery problem).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/82160#82160" title="https://community.freescale.com/message/82160#82160"&gt;https://community.freescale.com/message/82160#82160&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; If VSTBY is greater than VDD it doesn't boot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you mean by a particular amount, or does it fail at say 3.301V? there usually has to be a difference enough to forward-bias a junction for it to have an effect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Data Sheet apparently gives a maximum voltage for VSTBY of 3.5V, so that looks like "0.2V above 3.3V". So if your 3.3V is within spec but LOW and your battery is within spec but HIGH... If this is the problem then the spec for VSTBY should probably be "VDD+0.2V".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's a very interesting section in the Data Sheet:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RAM standby supply current&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * Normal operation: VDD &amp;gt; VSTBY - 0.3 V&amp;nbsp;&amp;nbsp; = 5uA&lt;BR /&gt;&amp;nbsp; &amp;nbsp; * Standby operation: VDD &amp;lt; VSS + 0.5 V &amp;nbsp;&amp;nbsp; = 20uA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So there's logic that switches at those relative voltages - or they're the minimum and maximum comparison voltages. The MCF52110 is quite different - check its specs for the strange "transient" operation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I suggest you download all Reference, Data Sheet and Errata for every part that has a VSTBY pin (52259, 52110, 5213, 52223, 5282, 5301x) and see if some of the manuals tell you something interesting the others don't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the timing relationship between your 3.3V turning on and the external reset signal going away (assuming you have an external reset controller)? If the Reset is going away before the 3.3V is fully established, then the problem might be the difference between VSTBY and VDD at that point. It may be related to when the crystal starts oscillating relative to the 3l3V ramp and the Reset signal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 08 Jan 2012 13:48:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MCF52259-Flashing-with-Battery-Backup-Connected/m-p/157274#M4699</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2012-01-08T13:48:49Z</dc:date>
    </item>
  </channel>
</rss>

