<?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: USB Power detect with MK64F in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Power-detect-with-MK64F/m-p/414330#M23561</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to you for your fast answer :smileywink: and your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2015 08:35:48 GMT</pubDate>
    <dc:creator>loicguillain</dc:creator>
    <dc:date>2015-06-19T08:35:48Z</dc:date>
    <item>
      <title>USB Power detect with MK64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Power-detect-with-MK64F/m-p/414328#M23559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="battery_function.PNG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/35868iE432696572F57E27/image-size/large?v=v2&amp;amp;px=999" role="button" title="battery_function.PNG" alt="battery_function.PNG" /&gt;&lt;/span&gt; I'm using a function to charge a battery and supply the MK64F when it's usb supplied and use this battery to suuply the microcontroller when it's not usb supplied. I would like to know how i can do to indicates which entry it has to his power supply port (to authorize sleep mode or not).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tought to use a voltage divider connected between +5v of my USB and a GPIO (in input) and generate interrupt. Could I get your advice?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 07:45:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Power-detect-with-MK64F/m-p/414328#M23559</guid>
      <dc:creator>loicguillain</dc:creator>
      <dc:date>2015-06-19T07:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: USB Power detect with MK64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Power-detect-with-MK64F/m-p/414329#M23560</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;Normaly the USB charger have a PGOOD pin that indicate when an external power is connected but in your case you don't have, so yes you can use a voltage divider using two resistors.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 08:13:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Power-detect-with-MK64F/m-p/414329#M23560</guid>
      <dc:creator>danielecortella</dc:creator>
      <dc:date>2015-06-19T08:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: USB Power detect with MK64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Power-detect-with-MK64F/m-p/414330#M23561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to you for your fast answer :smileywink: and your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 08:35:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/USB-Power-detect-with-MK64F/m-p/414330#M23561</guid>
      <dc:creator>loicguillain</dc:creator>
      <dc:date>2015-06-19T08:35:48Z</dc:date>
    </item>
  </channel>
</rss>

