<?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: Vbat Issue in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396048#M21769</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer specifically asked if they can connect VBAT to VSS using a 33Kohm resistor.&amp;nbsp; Can you please answer that question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx, Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 May 2015 16:16:05 GMT</pubDate>
    <dc:creator>PHXFAE</dc:creator>
    <dc:date>2015-05-28T16:16:05Z</dc:date>
    <item>
      <title>Vbat Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396043#M21764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I have a customer who is using the tamper/security features of the K21 - 120MHz part.&amp;nbsp; He is using VBat as a backup voltage.&amp;nbsp; Vbat is power by either a supercap or bank of capacitors. &lt;BR /&gt;These caps are charged by the rest of the system.&amp;nbsp; There is a case where he wants the user, while the device is running, to be able to press a button to clear out the 32 Vbat register file.&amp;nbsp;&amp;nbsp; In order for this to happen the Vbat voltage needs to drop below 0.8V per the email chain below.&amp;nbsp; The issue is that in section 5.1 of the data sheet, it says the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;“If the VBAT pin is not used, the VBAT pin should&lt;BR /&gt;be left &lt;/SPAN&gt;&lt;SPAN style="font-family: TimesLTStd-Roman; font-size: 14pt;"&gt;floating. Do not connect VBAT pin to VSS.”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;So, based on this he doesn’t want to connect VBAT to VSS via this button.&amp;nbsp; Is that true that he cannot to this?&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #1f497d;"&gt;Next, as an option, he wants to connect Vbat to ground via a resistor which can them bleed off the voltage quickly.&amp;nbsp; However, he doesn’t know the limitation on this current is so as to not damage the part if Vdd is still present.&amp;nbsp; So, can he use a resistor to bleed off the voltage and what are the limitations for that resistor?&amp;nbsp; Thanks for the help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 18:11:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396043#M21764</guid>
      <dc:creator>PHXFAE</dc:creator>
      <dc:date>2015-05-26T18:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Vbat Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396044#M21765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alex Schepps:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The note in the datasheet should be more a recommendation for noise immunity when not using VBAT pin, but not a restriction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However a better solution if the customer wants to reset VBAT Register File with a switch, might be placing a normally closed switch between the supercap and the VBAT pin, this way he can press the switch and isolate the capacitor voltage from the pin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!,&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 16:08:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396044#M21765</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-05-27T16:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: Vbat Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396045#M21766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am a little confused about your thought about noise immunity.&amp;nbsp; I could see that there would be a recommendation to tie a pin to ground or VCC for noise immunity but not requiring that it be left floating.&amp;nbsp; So, before I tell the customer it's OK to tie this pin to ground, I'd like to really make sure it won't damage the part.&amp;nbsp; The data sheet says explicitly not to tie this to VSS.&amp;nbsp; There must be a reason for that.&amp;nbsp; I don't fell comfortable telling the customer to tie this to VSS without a good explanation that this won't hurt the part.&amp;nbsp; Remember that he is wanting to tie this to ground while VCC is powering the part.&amp;nbsp; We discussed the other suggestion that you had but there was a reason he couldn't do that which I can't remember right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 18:54:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396045#M21766</guid>
      <dc:creator>PHXFAE</dc:creator>
      <dc:date>2015-05-27T18:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: Vbat Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396046#M21767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if my previous response was confusing. I checked and as the datasheet indicates the VBAT pin should not be connected to VSS, although we cannot share the internal configuration to better explain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only solution would be as per my suggestion, letting the VBAT pin floating to clear VBAT register file. I tried this approach and it worked in a TWR-K21F120M board using the next simple test code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14327693946353858 jive_text_macro" data-renderedposition="176_8_1050_224" jivemacro_uid="_14327693946353858"&gt;&lt;P&gt;#define&amp;nbsp;&amp;nbsp;&amp;nbsp; VBAT_REG&amp;nbsp;&amp;nbsp;&amp;nbsp; (*((unsigned int*)0x4003E000))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int main(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int counter = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; VBAT_REG = 0x55555555;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(;;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; counter++;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return 0;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using a coin battery the register can be written, but when removing jumper J7 (VBAT pin connection) the register gets cleared as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 May 2015 23:33:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396046#M21767</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-05-27T23:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: Vbat Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396047#M21768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&amp;nbsp; I will check with the customer to see if he can implement a switch between the battery and the VBAT pin.&amp;nbsp; This customer has an NDA with Freescale for the security/tamper functions.&amp;nbsp; If he wants to use a resistor to bleed off the voltage rather than your method can someone tell him what resistor he can use?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 15:32:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396047#M21768</guid>
      <dc:creator>PHXFAE</dc:creator>
      <dc:date>2015-05-28T15:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Vbat Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396048#M21769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customer specifically asked if they can connect VBAT to VSS using a 33Kohm resistor.&amp;nbsp; Can you please answer that question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx, Alex&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 May 2015 16:16:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396048#M21769</guid>
      <dc:creator>PHXFAE</dc:creator>
      <dc:date>2015-05-28T16:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Vbat Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396049#M21770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Alex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I double checked my previous response with the designers, this was their feedback:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;The "Do not connect VBAT to VSS" warning is for latchup concerns in a system if VBAT was tied directly to a hard ground. Since this is a momentary event that has some impedance, the precaution does not apply. Discharging the VBAT cap with a resistor will not harm the internal circuits. There&amp;nbsp; are no power domain crossing concerns since VBAT and VDD are isolated from each other.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So there should be no problem with the resistor. Please let your customer know this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jun 2015 18:14:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396049#M21770</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-06-10T18:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Vbat Issue</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396050#M21771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;Using a coin battery the register can be written, but when removing jumper J7 (VBAT pin connection) the register gets cleared as expected.&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Jorge_Gonzalez, that is strange that you are able to able to access the VBAT register file without VBAT connected. I just learned that if it is not connected or below a threshold, the CPU will hard fault.&amp;nbsp;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/1137628#comment-1137817" title="https://community.nxp.com/message/1137628#comment-1137817"&gt;https://community.nxp.com/message/1137628#comment-1137817&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Apr 2019 08:37:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Vbat-Issue/m-p/396050#M21771</guid>
      <dc:creator>lucasrangit</dc:creator>
      <dc:date>2019-04-11T08:37:00Z</dc:date>
    </item>
  </channel>
</rss>

