<?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 Power for RTC on LPC54101 in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Power-for-RTC-on-LPC54101/m-p/998114#M39255</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I have a question regarding the RTC on the LPC5410x.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;We are developing a new product based on the LPC54101.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;On all other LPC Chips we used so far the RTC runs from a separate power pin VBAT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;But on the LPC5410x the RTC runs from the same power pins as the rest of the chip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;This makes things more complicated for us.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Our use case is the same as with the old LPC Chips:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;When the product is running it is powered by a power supply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;When the product is off the power supply is removed, and the RTC should be kept running from a battery or super capacitor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;If the RTC runs from a separate VBAT pin this is straight forward to implement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;But since on the LPC5410x the RTC runs from the same power source this is not so easy anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;If the power supply is removed we have to get an early notification so the chip can be set to the deep power down mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;External interrupt from a power supply chip&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;A/D converting the input voltage and triggering if we drop below a threshold&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;If the chip is not put into deep power down mode in time, it will quickly deplete the battery or super capacitor and we lose the RTC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Additionally we have to separate the battery/super capacitor from the regular power supply somehow so that:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;the battery or super capacitor can be charged&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;if the power supply is removed it can power the RTC&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Once the power supply is connected again we have to wake up from deep power down&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Waking up from deep power down can only be done via an RTC alarm, or by the reset pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Since the RTC alarm is not an option we have to somehow trigger the reset pin when the power supply is reconnected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;It looks like the RTC on this chip is designed for purely battery operated devices instead of our use case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Implementing our old use case is much more complicated and error prone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: black;"&gt;Does anyone maybe have an application note or suggestion how we best implement this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: black;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2020 07:48:28 GMT</pubDate>
    <dc:creator>sturzi</dc:creator>
    <dc:date>2020-03-06T07:48:28Z</dc:date>
    <item>
      <title>Power for RTC on LPC54101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Power-for-RTC-on-LPC54101/m-p/998114#M39255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;I have a question regarding the RTC on the LPC5410x.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;We are developing a new product based on the LPC54101.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;On all other LPC Chips we used so far the RTC runs from a separate power pin VBAT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;But on the LPC5410x the RTC runs from the same power pins as the rest of the chip.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;This makes things more complicated for us.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Our use case is the same as with the old LPC Chips:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;When the product is running it is powered by a power supply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;When the product is off the power supply is removed, and the RTC should be kept running from a battery or super capacitor.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;If the RTC runs from a separate VBAT pin this is straight forward to implement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;But since on the LPC5410x the RTC runs from the same power source this is not so easy anymore.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;If the power supply is removed we have to get an early notification so the chip can be set to the deep power down mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;External interrupt from a power supply chip&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;A/D converting the input voltage and triggering if we drop below a threshold&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;If the chip is not put into deep power down mode in time, it will quickly deplete the battery or super capacitor and we lose the RTC.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Additionally we have to separate the battery/super capacitor from the regular power supply somehow so that:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;the battery or super capacitor can be charged&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="color: black;"&gt;if the power supply is removed it can power the RTC&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Once the power supply is connected again we have to wake up from deep power down&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Waking up from deep power down can only be done via an RTC alarm, or by the reset pin.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Since the RTC alarm is not an option we have to somehow trigger the reset pin when the power supply is reconnected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;It looks like the RTC on this chip is designed for purely battery operated devices instead of our use case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: black;"&gt;Implementing our old use case is much more complicated and error prone.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: black;"&gt;Does anyone maybe have an application note or suggestion how we best implement this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt; color: black;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2020 07:48:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Power-for-RTC-on-LPC54101/m-p/998114#M39255</guid>
      <dc:creator>sturzi</dc:creator>
      <dc:date>2020-03-06T07:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: Power for RTC on LPC54101</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Power-for-RTC-on-LPC54101/m-p/998115#M39256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;According to your introduction, it needs to utilize a complicated power-supply design to assure the power supply is uninterrupted even the regular power supply is removed, just like you pointed out before.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; "&gt;If the chip is not put into deep power down mode in time, it will quickly deplete the battery or super capacitor and we lose the RTC.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; "&gt;Additionally we have to separate the battery/super capacitor from the regular power supply somehow so that:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG style="color: black; "&gt;the battery or super capacitor can be charged&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="color: black; "&gt;if the power supply is removed it can power the RTC&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In addition, you said that the reset pin is used to wake up the MCU from the deep power-down mode and RTC alarm is not an option actually. When the MCU exit from the deep power-down mode, the MCU reboots, in another word, it will reset.&lt;BR /&gt;So in my opinion, when the power supply is reconnected, it can trigger power-on-reset (POR) and it meets your requirement.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Have a great day,&lt;BR /&gt;TIC&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2020 02:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Power-for-RTC-on-LPC54101/m-p/998115#M39256</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2020-03-09T02:29:31Z</dc:date>
    </item>
  </channel>
</rss>

