<?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>Kinetis MicrocontrollersのトピックRe: How to turn off / disable the internal RTC if MCU is connected to external battery?</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876014#M52087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;P.S. Follow-up:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;I read through the MKL28 reference manual some more &amp;amp; I think I found the register that I can manipulate to “turn off the RTC”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Is this correct register to use in programming the RTC?&amp;nbsp;&amp;nbsp; Anybody has tried this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;PCC RTC (PCC_RTC)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;bit 31 (PR):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 = peripheral is not present&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 = peripheral is present&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;bit 30 (CGC):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 = clock is disabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 = clock is enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;bit 29 (INUSE):&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 = peripheral is not being used&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 = peripheral is being used&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Please advise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;MI&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2019 16:00:24 GMT</pubDate>
    <dc:creator>mci</dc:creator>
    <dc:date>2019-04-03T16:00:24Z</dc:date>
    <item>
      <title>How to turn off / disable the internal RTC if MCU is connected to external battery?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876013#M52086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll be developing a new product using the MKL28Z512VLL7 MCU.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have browsed through MKL28ZRM.pdf but I don't see &amp;gt; a way in firmware how&amp;nbsp;I can&amp;nbsp;turn off / disable the internal RTC of an MCU that is connected to external battery, when the whole system is powered off / unplugged from A/C outlet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The situation is this: after manufacturing &amp;amp; testing, the coin cell battery will be kept on the board without a removable disconnecting tab or tape, when storing the product on the shelf. We cannot have a removable battery tab or tape to disconnect the battery because the customer will NOT have access to the board inside the product. The internal RTC will use up the battery if it remains ticking when everything else is powered off.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know when &amp;amp; how to detect when&amp;nbsp;I need to turn the RTC off (after manufacturing test) &amp;amp;&amp;nbsp;when &amp;amp; how to detect when&amp;nbsp;I should enable it &amp;amp; let it&amp;nbsp;start normal RTC&amp;nbsp;operation.&amp;nbsp; But can it be disabled or turned off &amp;amp; remain off&amp;nbsp;in firmware (which MCU register, port, bit setting) before&amp;nbsp;full system&amp;nbsp;shutdown&amp;nbsp;even if there's coin battery connected to the MCU?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there a way I can execute in FW the disabling of the&amp;nbsp;&amp;nbsp;&amp;nbsp;internal RTC module (which MCU register, port, bit setting)&amp;nbsp;before&amp;nbsp;the whole system is powered-off through any of MKL28's registers or ports?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to do this in order to conserve battery life considering we can't know when the product will be bought &amp;amp; used by a&amp;nbsp;customer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;MI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 15:06:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876013#M52086</guid>
      <dc:creator>mci</dc:creator>
      <dc:date>2019-04-03T15:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off / disable the internal RTC if MCU is connected to external battery?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876014#M52087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;P.S. Follow-up:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;I read through the MKL28 reference manual some more &amp;amp; I think I found the register that I can manipulate to “turn off the RTC”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Is this correct register to use in programming the RTC?&amp;nbsp;&amp;nbsp; Anybody has tried this?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;PCC RTC (PCC_RTC)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;bit 31 (PR):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 = peripheral is not present&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 = peripheral is present&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;bit 30 (CGC):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 = clock is disabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 = clock is enabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;bit 29 (INUSE):&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 = peripheral is not being used&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 = peripheral is being used&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Please advise.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin: 0in 0in 0pt;"&gt;&lt;SPAN style="color: #1f497d; font-size: 11pt;"&gt;MI&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 16:00:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876014#M52087</guid>
      <dc:creator>mci</dc:creator>
      <dc:date>2019-04-03T16:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off / disable the internal RTC if MCU is connected to external battery?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876015#M52088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi MI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The PCC is used to enable clocks for RTC access but not to control the 32kHz crystal oscillator.&lt;BR /&gt;The crystal can be enabled or disabled (after enabling PCC clocks) in the RTC_CR register.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand correctly you will be supplying the processor with power from a battery and your power-down state will be the processor set to a very low leakage power mode to get lowest current (eg. around 2uA with RTC in operation) until turned on via a LLWU input.&lt;BR /&gt;In your initially delivery state you don't want the 32kHz oscillator/RTC working yet to further reduce the current (eg. around down to around 0.5uA) to maximise shelf life.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;See also &lt;A href="http://www.utasker.com/kinetis/KL_RTC.html" target="test_blank"&gt;http://www.utasker.com/kinetis/KL_RTC.html&lt;/A&gt; for discussion of RTC on general KL parts - not fully valid for the KL28 since it doesn't have an RTC_CLKIN pin.&lt;BR /&gt;Also note that this support and operation is available in the uTasker project as standard capability.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this correspond to your design objectives or have you a different approach?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For low power modes an LLWU see also &lt;A href="http://www.utasker.com/kinetis/LLWU.html" target="test_blank"&gt;http://www.utasker.com/kinetis/LLWU.html&lt;/A&gt;&lt;BR /&gt;and some low power videos:&lt;BR /&gt;- &lt;A href="https://youtu.be/kWNlsAoMly4" target="test_blank"&gt;https://youtu.be/kWNlsAoMly4&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://youtu.be/iZEMRiDmHzw" target="test_blank"&gt;https://youtu.be/iZEMRiDmHzw&lt;/A&gt;&lt;BR /&gt;- &lt;A href="https://youtu.be/v4UnfcDiaE4" target="test_blank"&gt;https://youtu.be/v4UnfcDiaE4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Complete KL28 solutions, training and support for faster time-to-market: &lt;A href="http://www.utasker.com/kinetis.html" target="test_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;- &lt;A href="http://www.utasker.com/kinetis/FRDM-KL28Z.html" target="test_blank"&gt;http://www.utasker.com/kinetis/FRDM-KL28Z.html&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 17:34:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876015#M52088</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-04-03T17:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off / disable the internal RTC if MCU is connected to external battery?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876016#M52089</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 would like to ask you if by shutting the whole system down it means that you are "cutting" the power through VDD or do you mean something else? Also, I would like to ask you where are you connecting the battery to your board in order to do what you are describing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding your last comment, you can indeed "turn off the RTC" with the CGC field of the PCC_RTC. This would disable the clock of the RTC and therefore will make it stop. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ricardo Delsordo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2019 18:47:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876016#M52089</guid>
      <dc:creator>nxf51211</dc:creator>
      <dc:date>2019-04-03T18:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off / disable the internal RTC if MCU is connected to external battery?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876017#M52090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark and Ricardo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark, Thank you for the info &amp;amp; the links.&amp;nbsp;&amp;nbsp; I'll definitely read through them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may not be explaining the situation very well mainly because I'm still very new in using the MCU MKL28Z &amp;amp; still learning.&amp;nbsp; Please read other explanation below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ricardo,&amp;nbsp; you made me realize I might be mistaken in the approach &amp;amp; resolution to what I need to accomplish.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main&amp;nbsp;goal is (as Ricardo asked),&amp;nbsp;even when a coin cell battery is plugged in to the HW circuit, if the product is completely powered off, let's say it's in a box stocked-up on a retailer shelf, I do NOT&amp;nbsp;want any of the HW circuit or the MCU drawing any power from the&amp;nbsp;connected coin cell battery.&amp;nbsp; No, I don't want to set it in any low power mode while it is boxed on a shelf.&amp;nbsp;&amp;nbsp; I need ALL circuits OFF, even with coin battery installed on the board.&amp;nbsp; (Again, we can not have removable tab on the cell because product will be sealed &amp;amp; customer can not reach inside to retract the tab.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One issue is this MKL28 does not have a "VBAT" input pin as how it is with another MCU Kinetis K22F which we are using on an old product.&amp;nbsp;&amp;nbsp; The K22F on that product is where we have connected the battery to the VBAT pin &amp;amp; according to this MCU's reference manual, that VBAT pin only supplies power to the RTC and some config block 32 byte "files" while the rest of the MCU is "dead".&amp;nbsp; So even when powered down, the product keeps date &amp;amp; time because&amp;nbsp;RTC "ticking".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to apply the same principle to the MKL28-based new product I'm developing.&amp;nbsp;&amp;nbsp; In this early stage of HW circuit design, I've recommend to our HW engineer (I'm more in FW engineering) to connect the battery circuit to the VDD which if the system is powered-down will mean the coin battery will supply back-up power to the WHOLE SYSTEM, &amp;amp; not just the RTC.&amp;nbsp;&amp;nbsp; This means I have to constantly keep the MCU in lowest power mode even if the product is inside a box on a shelf?&amp;nbsp; which does not make any sense.&amp;nbsp;&amp;nbsp;&amp;nbsp; I need the whole MCU powered-off if main power is taken-out even if coin battery is installed.&amp;nbsp;&amp;nbsp; So that's why I only wanted to turn off RTC if in case the battery is only supplying power&amp;nbsp;to it (not the whole MCU).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just found the VOUT33 pin on MKL28.&amp;nbsp;&amp;nbsp; It is mentioned mainly in the context of the "USB", not so much for RTC backup power&amp;nbsp;ala-K22F.&amp;nbsp; We are not implementing a USB communication at this point for this product.&amp;nbsp; Refman says keep VREGIN &amp;amp; VOUT33 floating if not to be used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Does anyone know if the VOUT33 on the MKL28 can be utilized / programmed / connect like the the VBAT on the K22?&amp;nbsp; which pin or crystal or what have you should I connect VOUT33 to so it supplies power ONLY TO RTC peripheral but NOT the whole MCU (need to be shutdown).&amp;nbsp;&amp;nbsp; So if product is the box, I'll just "DISABLE" the RTC via CGC bit on PCC_RTC register.&amp;nbsp; Which I hope will ensure NONE of the MCU &amp;amp; HW circuit will consume any coin battery life.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please correct me if any of the above I said is incorrect &amp;amp; please explain if you have what other options/solutions I can do both in HW circuit connection &amp;amp; my FW programming to accomplish my goal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2019 17:43:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876017#M52090</guid>
      <dc:creator>mci</dc:creator>
      <dc:date>2019-04-04T17:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off / disable the internal RTC if MCU is connected to external battery?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876018#M52091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VOUT33 is the output of a 5V/3.3V regulator in the chip which is used mainly for powering the USB transceiver (although it can be used to power the complete CPU from 5V). It has no relation to the RTC and also has typically 0.65us quiescent current.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no battery backup domain (VBAT) on the KL28 so you have only the option to power the complete processor or completely remove the power. If you power the chip you need to define its operating state - the default will be RUN and it will consume a couple of mA of current. You can get lowest consumption (around 500nA) if a very low leakage mode is set (by the code running on the chip) but you will not get 0nA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you need zero current consumption you need to use a chip with a VBAT domain or have a physical was of removing the battery.&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, 04 Apr 2019 21:48:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876018#M52091</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2019-04-04T21:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to turn off / disable the internal RTC if MCU is connected to external battery?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876019#M52092</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;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;We have decided to accept the minimum leakage current&amp;nbsp;at the very lowest power&amp;nbsp;comsumption "stop mode"&amp;nbsp;according to the MKL28Z which is VLLS0 where about 331 nA will be occurring because other internal peripherals are up such as RTC, TSI, LLWU, etc.&amp;nbsp;&amp;nbsp; I hope to save even more if I do DISABLE all or most of those available modules&amp;nbsp;like what was discussed above - by setting CGC bit off/on, even the TSI and all others that can be disabled with a bit setting to their corresponding control registers, especially when I know the product is inside a box and not being used at all.&amp;nbsp;&amp;nbsp; Also if we use coin cell battery CR2032 which has about 231 mAHr, given the 331 nA usage/leakage current,&amp;nbsp;theoretically this battery will last ~77 years if our computation is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now, that is settled matter, until I get back to it and find some other issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all who help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 20:06:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-to-turn-off-disable-the-internal-RTC-if-MCU-is-connected-to/m-p/876019#M52092</guid>
      <dc:creator>mci</dc:creator>
      <dc:date>2019-04-11T20:06:23Z</dc:date>
    </item>
  </channel>
</rss>

