<?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>i.MX ProcessorsのトピックRe: i.MX28 RTC Backup Battery Connection</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240645#M19924</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have confirmed and discussed with HW depart. You can use a li-coin cell battery or supper capacitor like above solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But the most important thing is configurations in software : When VDD_5V is on, system will boot. Register should be set "disable 5v to DCDC_BATT". It means if 5V is removed, DCDC_BATT can be used to be input of DCDC converter. Only set it like this, li-coin cell or supper capacitor can only supply RTC module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; More details, See AN4199 (attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 May 2013 07:53:32 GMT</pubDate>
    <dc:creator>weidong_sun</dc:creator>
    <dc:date>2013-05-28T07:53:32Z</dc:date>
    <item>
      <title>i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240635#M19914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a board that uses the 5V input to the i.MX28 PMU for the power supply and just requires a small NiMH backup battery to keep the RTC alive. The NiMH is trickle charged from the VDD4P2 rail when the device is powered on to keep it topped up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a little confused about the connections for the PMU battery and DCDC batt pins. When I started my design the AN4199 document from Freescale did not cover this so I laid the board out based on the descriptions of the connections. Since obtaining my prototypes Freescale have updated AN4199 to add more detail on systems with just a backup battery and now I am not so sure of what I have done!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you look at the diagram of the PMU in AN4199 it shows that the BATTERY pin is the output from the internal charger, and the DCDC_BATT pin is the input to the DC-DC from the battery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the datasheet for the i.MX28 it states that the BATTERY pin provides current to charge the battery, and the DCDC_BATT pin provides power into the iMX28 PMU from a battery. This agrees with the diagram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, assuming that you are not using the internal battery charger naturally you would think to leave the battery pin disconnected. However, in the data sheet it states: "Application should include a Schottky diode between BATT and VDD4P2.". Which I have done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am feeding my battery backup into the DCDC_BATT pin and as from the above I believed this was the input to the board for the battery. Even if just used for RTC backup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have since found out that the RTC backup battery should be fed into the pin labelled BATTERY (which is described as the charger output in the documentation?!) and not DCDC_BATT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My schematic is below, thankfully I added R24 which is a big 1206 pad in case I needed to make a mod!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Battery Setup.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119336i520FA9725BD61A82/image-size/large?v=v2&amp;amp;px=999" role="button" title="Battery Setup.png" alt="Battery Setup.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;In this schematic I have the diode the datasheet asks for from BATTERY to VDD4P2. I am trickle charging the NiMH via D5 and R65 from VDD4P2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D8 is to prevent the possibility of charging the battery back from DCDC_BATT (I guess nothing should be output from this pin anyway). R67 is there to essentially protect the battery should the board try and boot from it. The Vdrop accross R67 is negligible under backup mode but would kill the supply if the board tried to boot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem I have is that I have now found out that BATTERY is not just the charger output as described in the documentation. It is also the input for the RTC backup. Apparently it is also the pin on which the internal battery monitor measures the battery voltage too. Can anyone confirm this for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can mod my circuit above as I only have a small prototype run and have the necessary pads brought out from the device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen the power scheme suggested in the revised AN4199. This connects the battery to the BATTERY pin. It then has resistors from DCDC_BATT&amp;nbsp; and BATTERY to VDD4P2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone from Freescale who actually knows the internal architecture offer any advice on my circuit above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 16:20:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240635#M19914</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2013-05-15T16:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240636#M19915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further to the above, a reference design for the iMX233 (same PMU apparently) states to remove the resistor from BATT to VDD4P2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="imx233 batt.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119332i80E33F2ECDCE328B/image-size/large?v=v2&amp;amp;px=999" role="button" title="imx233 batt.png" alt="imx233 batt.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The AN4199 shows the resistor that the above diagram says to remove (R329) connected?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="an4199.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119333i3E3CE88416708B3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="an4199.png" alt="an4199.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I am not sure if the resistor from battery to VDD4P2 is required as these two documents from Freescale seem to conflict. I would guess that if you are trying to minimise the current draw from your battery then you wouldn't want a path via a 1k resistor from the battery to VDD4P2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 16:35:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240636#M19915</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2013-05-15T16:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240637#M19916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further to the above, can I clarify the following from the datasheet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The RTC can continue to count time as long as a voltage is applied to the BATT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;pin, irrespective of whether the rest of the chip is powered up. The normal digital reset has&lt;/P&gt;&lt;P&gt;no effect on the master RTC registers located in the crystal power and clock domain. A&lt;/P&gt;&lt;P&gt;special first-power-on reset establishes the default value of the master RTC registers when&lt;/P&gt;&lt;P&gt;a voltage is first applied to the BATT pin (battery insertion)."&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which pin is this referring to as 'BATT' - is this DCDC_BATT or BATTERY? I.e. which pin do I need to connect a backup battery to in order to keep the RTC alive?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 20:09:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240637#M19916</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2013-05-15T20:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240638#M19917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Further research! The Home Energy Gateway reference platform has a schematic very similar to mine. They have not used the 'recommended pull up resistors' and maintained the schottky diode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="heg.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119334iE2306F50145EF0BC/image-size/large?v=v2&amp;amp;px=999" role="button" title="heg.png" alt="heg.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Looks like in this design the battery charger could be used to charge the lithium cell via the 80.6k resistor, and take power from it via the diode. Interestingly the cell would push the backup power into both BATTERY and DCDC_BATT. So I am still no clearer as to which of these pins actually powers the RTC!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking at the above schematic, the coin cell also powers up VDD4P2? Would this increase the current taken from the battery?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A clarification of this circuit from Freescale would be a great help to anyone attempting to use the i.MX28 series....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 May 2013 20:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240638#M19917</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2013-05-15T20:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240639#M19918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The latest information I have is that both BATTERY and DCDC_BATT must be connected to VDD4P2 using a 1k resistor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately this then contradicts the datasheet which states that the voltage on DCDC_BATT should not exceed the voltage on BATTERY.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the circuit in AN4199, when 5V power is applied the DCDC_BATT pin will be pulled to 4.2V through its 1k resistor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The voltage on the BATTERY pin will be the current battery voltage (less than 4.2V).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This means that V_DCDC_BATT &amp;gt; V_BATTERY with this recommended circuit, violating the datasheet parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently waiting response from Freescale in how this should be connected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 15:45:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240639#M19918</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2013-05-17T15:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240640#M19919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DCDC_BATT &amp;amp; BATTERY pins are used to connect working Battery with 3.7V . this battery is not Li coin cell battery for keeping RTC atfter powerdonw.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If you don't use working battery with 3.7V, RTC inside i.MX28 can't be kept atfter power down. You will have to add another RTC IC with 3.0V li-coin cell supply for your design.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 06:40:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240640#M19919</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-05-20T06:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240641#M19920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Weidong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the datasheet the minimum operating voltage of the battery pin is stated as 3.1V?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you (or anyone) know what the minimum input voltage to keep the RTC running is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 13:43:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240641#M19920</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2013-05-20T13:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240642#M19921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can supply i.MX28 with single 5V adapter or single Li battery with 3.7V , or "5V adapter + 3.7V battery". just like a mobile device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DCDC_BATT &amp;amp; BATTERY pins are not for Li-coin cell battery to keep RTC. Here should be connected to big capacity Li Cell battery for board working. For example, a li cell battery with 3.7V &amp;amp; 1000mA. That's to say ,these 2 pins are input of Li battery with 3.7V( at least 500mA)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If your design doesn't support battery for board working, RTC in i.MX28 can't be used to keep "Time" atfer power down. It means you will have to use an external RTC IC(such as BQ32000, DS1342, DS1337 etc) for your keeping Time purpose.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;In the datasheet the minimum operating voltage of the battery pin is stated as 3.1V?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Yes, it also tell us battery pin is for working battery, not li coin cell battery. when the voltage on this pin is less than 3.1V, the board can't work if you only supply it with battery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Understand what I described ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 03:39:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240642#M19921</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-05-21T03:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240643#M19922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Weidong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is true then why does Freescale provide a reference platform with a 3V lithium coin cell to keep the RTC alive???!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the Home Energy Gateway reference platform:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="heg battery.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119335i7AE9A08E5542D045/image-size/large?v=v2&amp;amp;px=999" role="button" title="heg battery.png" alt="heg battery.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other reference documents from Freescale also show you can use a Super Cap (initial voltage will be higher as charged from VDD4P2 to keep the RTC alive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From responses from Freescale support I have found that the battery pin CAN be used to keep the system alive providing the voltage is above 3.1V. This does not have to be a high power lithium battery. It could be any battery source that will be able to supply the 20uA or so required to keep just the 32.768kHz crystal running for as long as the application requires.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you are wrong to say that you can't keep the RTC alive if you are not using the battery for operation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the reference schematics for HEG, iMX233 board and also AN4199. These all show methods of keeping the RTC alive during power down and do not use the battery for powering up the i.MX28.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 09:49:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240643#M19922</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2013-05-21T09:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240644#M19923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Do you have i.MX28 platform at hand ? If you have Home Energy Gateway reference platform, You can test it .&amp;nbsp; I only have&amp;nbsp; i.MX28 EVK board at my hand.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; According to my understanding it, whatI disscussed with you is my poiont of view. If I design a board based on i.MX28, I will handle RTC like above method that I described.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Don't worry about it, Let me confirm the questions on RTC with HW Dept. :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 May 2013 12:38:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240644#M19923</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-05-21T12:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240645#M19924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,Mark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have confirmed and discussed with HW depart. You can use a li-coin cell battery or supper capacitor like above solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But the most important thing is configurations in software : When VDD_5V is on, system will boot. Register should be set "disable 5v to DCDC_BATT". It means if 5V is removed, DCDC_BATT can be used to be input of DCDC converter. Only set it like this, li-coin cell or supper capacitor can only supply RTC module.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; More details, See AN4199 (attached)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 07:53:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240645#M19924</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2013-05-28T07:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240646#M19925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Weidong,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the last post above I have been experimenting with the RTC backup. I am currently having issues shutting the processor down on 5V removal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the recommended Freescale circuit from AN4199 with the 1k resistors from the battery pin to VDD4p2 and from DCDC_Batt to VDD4p2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I remove the 5V power I find that the battery pin tries to take 2.7mA from the battery. The various rails (VDDIO, VDDA etc) are sitting at odd voltages (0.7V, 1.1V). If I remove the jumper link connecting the battery then these rails immediately drop to 0V.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only load on the battery is the BATTERY pin on the i.MX283. I even tried removing the 1k resistor from BATTERY to VDD4P2 in case there was some leakage through this path. For some reason on 5V removal the processor does not shut down completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I re-apply 5V power while in this state then the board does not boot up. If I remove the battery jumper and 5V (to completely power down the board) then it clears the condition and I can boot again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what could cause the battery pin to take this additional current? The battery voltage is around 3.8V. The 24MHz xtal is configured to shut down during power-off and the 32.768kHz xtal remain active. The current should be around 20uA from the battery in this state when 5V is removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know what could be causing this? Is there any advice from Freescale as to how to configure the board to shut down completely when 5V is removed but a small battery is present on the battery pin?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Jun 2013 20:00:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240646#M19925</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2013-06-02T20:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240647#M19926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weidong&lt;/P&gt;&lt;P&gt;Please keep following up this customer's further question.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2014 03:53:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240647#M19926</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-02-18T03:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240648#M19927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Weidong, could you please reply the customer's questions? We would like to close the discussion.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Yixinig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 06:10:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240648#M19927</guid>
      <dc:creator>YixingKong</dc:creator>
      <dc:date>2014-02-25T06:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240649#M19928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I eventually got to the bottom of my board not shutting down properly. I needed to change the power management code in the Windows CE BSP to allow the device to detect a falling 5V rail and shut down. It would then take just 15-20uA from the backup battery and keep the clock alive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a 'reserved bit' in the datasheet that can be used to set up this shutdown that I only found out about by looking through the linux driver! In the linux driver they use this bit, but in the Windows CE driver they do not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have still had a couple of occasions though where the board will not power up until I remove all sources of power (including the battery), which I think means the shutdown code has not worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am tempted to add an external RTC with its own battery management as I should be able to get a much longer lifetime and guarantee the i.MX28 shuts down properly every time the power is removed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Feb 2014 10:28:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240649#M19928</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2014-02-25T10:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240650#M19929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;I've the same problem than you.&lt;/P&gt;&lt;P&gt;I use a supercap as described in AN199 and configured power_prep for 5v only and setting&amp;nbsp; HW_RTC_PERSISTENT0 properly.&lt;/P&gt;&lt;P&gt;Unfortunately I had no success.&lt;/P&gt;&lt;P&gt;I found that when 5v is removed, 24MHz oscillator still works and de current drain in the battery pin is about 250uA instead of 20uA to keep only RTC running.&lt;/P&gt;&lt;P&gt;I'm also tempted to re-design&amp;nbsp; the circuit with an external RTC but before that I'll try to struggle a little more.&lt;/P&gt;&lt;P&gt;Did you have more success ?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 14:45:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240650#M19929</guid>
      <dc:creator>jordifarres</dc:creator>
      <dc:date>2014-03-12T14:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240651#M19930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jordi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you are using Linux? We are using Windows CE but the driver source is not maintained as well as for the Linux OS so I had to refer to it to correct my WCE driver - I think you need to make sure you have the latest Linux patches as the 5V shutdown was addressed in one of these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I recall correctly there is a bit in one of the PMU registers that is marked in the datasheet as 'reserved' but actually is required to configure the chip to shut down correctly when 5V is removed. This is documented in the Linux patch but I can't recall what bit this is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have decided to move to an external RTC because we need longer lifetime and ideally need to use a supercap rather than a NiMH battery. The i.MX28 RTC keep-alive current is relatively high and the working input voltage range small which leads to a short lifetime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have also had the occasional problem where the board will not boot up after being powered down. We found if we disconnect the RTC battery and re-connect it then the board will start up. It is like the RTC battery has kept the processor locked up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using an RTC from Microchip (they are really cheap) and a Panasonic 1F super capacitor. The cost of this comes in less than the cost of the small Varta NiMH battery we had directly connected to the i.MX28.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 09:03:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240651#M19930</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2014-03-13T09:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240652#M19931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark&lt;/P&gt;&lt;P&gt;I use linux from L2.6.35_1.1.0_130130 BSP.&lt;/P&gt;&lt;P&gt;I'll try to find out what reserved bit is it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 09:23:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240652#M19931</guid>
      <dc:creator>jordifarres</dc:creator>
      <dc:date>2014-03-13T09:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240653#M19932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the power patches on the Freescale website this is the bit that I needed to shut down my 5V-only board (with RTC backup battery) in power_prep.c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;0001-MX28-imx-bootlets-adds-the-most-robust-support-for-VDD5V-only-configuration.patch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt;/* If Battery not ready,setup the auto power down if we lost 5V.*/&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt;if (!bBatteryReady)&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt;{&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt;HW_POWER_5VCTRL_SET(BM_POWER_5VCTRL_PWDN_5VBRNOUT);&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;+&lt;/P&gt;&lt;P&gt;+#if defined(NO_DCDC_BATT_SOURCE) &amp;amp;&amp;amp; defined(mx28)&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt;/* On i.MX28, a new bit has been added to allow automatic hardware&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt; * shutdown if VDD4P2 browns out.&amp;nbsp; If we permanently only have a VDD5V&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt; * source, we want to enable this bit.&amp;nbsp; For devices with dead batteries,&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt; * we could also temporarily set this bit until the kernel battery&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt; * charger sufficiently charges the battery but we won't do this for&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt; * now as the latest release kernel versions aren't aware of&amp;nbsp; it&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt; * and thus don't handle the proper setting/clearing of this bit.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt; */&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;HW_POWER_REFCTRL_SET(1&amp;lt;&amp;lt;7);&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;STRONG&gt;+#endif&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;+&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt;}&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see from the comment that HW_POWER_REFCTRL bit 7 is a 'new bit' to shut down the device on VDD4P2 brownout (when power removed).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 09:52:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240653#M19932</guid>
      <dc:creator>markwilliams</dc:creator>
      <dc:date>2014-03-13T09:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX28 RTC Backup Battery Connection</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240654#M19933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Mark&lt;/P&gt;&lt;P&gt;Surely it will helps me&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Jordi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Mar 2014 10:05:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX28-RTC-Backup-Battery-Connection/m-p/240654#M19933</guid>
      <dc:creator>jordifarres</dc:creator>
      <dc:date>2014-03-13T10:05:20Z</dc:date>
    </item>
  </channel>
</rss>

