<?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: How to detect 500mA vs 100mA available power over USB (LPC11U68)? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-detect-500mA-vs-100mA-available-power-over-USB-LPC11U68/m-p/735795#M29712</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a software solution to determine how much the host will allow me to draw, not a hardware solution to detect how much I am drawing.&amp;nbsp; We have a fairly good handle on the latter, as the draw of the battery charger circuit can be controlled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like disconnecting and retrying with different bMaxPower values may do what I want, but I'm having some other compiler troubles that are making it hard to test.&amp;nbsp; (Will address that in a separate thread.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Mar 2018 17:37:58 GMT</pubDate>
    <dc:creator>dfenger</dc:creator>
    <dc:date>2018-03-14T17:37:58Z</dc:date>
    <item>
      <title>How to detect 500mA vs 100mA available power over USB (LPC11U68)?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-detect-500mA-vs-100mA-available-power-over-USB-LPC11U68/m-p/735793#M29710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are trying to use a LPC11U68 as a controller for a battery-powered device, and the battery will be charged via USB.&amp;nbsp; We would like to be standards-compliant, requesting 500mA via the USB configuration and waiting until the port (PC/hub/whatever) confirms that it can supply 500mA.&amp;nbsp; We have a charger controller that we can set to draw 100mA or 500mA, but I cannot see how to figure out whether or not the PC or hub is OK with providing 500mA vs the default 100mA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To complicate matters, I'd like to be able to charge at 500mA from a dumb charger as well, so I'd like to be able to distinguish the three cases: connected to a host that allows 500mA, connected to a host that doesn't, and connected to a device that provides power but no data.&amp;nbsp; (We're early enough in the design cycle that 'you need a detector circuit for a charger' is still a useful answer.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Mar 2018 01:28:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-detect-500mA-vs-100mA-available-power-over-USB-LPC11U68/m-p/735793#M29710</guid>
      <dc:creator>dfenger</dc:creator>
      <dc:date>2018-03-07T01:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect 500mA vs 100mA available power over USB (LPC11U68)?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-detect-500mA-vs-100mA-available-power-over-USB-LPC11U68/m-p/735794#M29711</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;Please refer the&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/user-guide/KTFRDMBC3770UG.pdf"&gt; &amp;lt;Freedom expansion boards FRDM-BC3770-EVB and FRDM-BC3770-EVM user guide&amp;gt;&lt;/A&gt; document, at page 50 with the VBUS current sense amplifier circuit for your reference.&lt;/P&gt;&lt;P&gt;Wish it helps.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Mike&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, 14 Mar 2018 07:02:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-detect-500mA-vs-100mA-available-power-over-USB-LPC11U68/m-p/735794#M29711</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2018-03-14T07:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to detect 500mA vs 100mA available power over USB (LPC11U68)?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-detect-500mA-vs-100mA-available-power-over-USB-LPC11U68/m-p/735795#M29712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm looking for a software solution to determine how much the host will allow me to draw, not a hardware solution to detect how much I am drawing.&amp;nbsp; We have a fairly good handle on the latter, as the draw of the battery charger circuit can be controlled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It looks like disconnecting and retrying with different bMaxPower values may do what I want, but I'm having some other compiler troubles that are making it hard to test.&amp;nbsp; (Will address that in a separate thread.)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2018 17:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/How-to-detect-500mA-vs-100mA-available-power-over-USB-LPC11U68/m-p/735795#M29712</guid>
      <dc:creator>dfenger</dc:creator>
      <dc:date>2018-03-14T17:37:58Z</dc:date>
    </item>
  </channel>
</rss>

