<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF52840 USB PHY feedback signal what power source is connected</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61501/nrf52840-usb-phy-feedback-signal-what-power-source-is-connected</link><description>What are my options with nRF52840 to get from the built in USB and available SDK feedback regarding connected device in order to adjust charging power? 
 There are plenty of battery charger ICs that get feedback from USB PHY what are the power capabilities</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 May 2020 12:40:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61501/nrf52840-usb-phy-feedback-signal-what-power-source-is-connected" /><item><title>RE: nRF52840 USB PHY feedback signal what power source is connected</title><link>https://devzone.nordicsemi.com/thread/250977?ContentTypeID=1</link><pubDate>Wed, 20 May 2020 12:40:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5011ebde-e428-44da-9ecd-f3343d6636e6</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry for the misunderstanding. I was a bit too quick on the reply. Anyways, to answer your question:&lt;/p&gt;
&lt;p&gt;The USBD peripheral is USB 2.0 compliant, however it does not have built-in support for the Battery Charging specification. Which means that it will not recognize if it&amp;#39;s connected to a CDP or a DCP.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB PHY feedback signal what power source is connected</title><link>https://devzone.nordicsemi.com/thread/250798?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 15:56:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80ce5796-17e0-4d96-a5fd-eb4dc30ba55b</guid><dc:creator>samsam</dc:creator><description>&lt;p&gt;Hi Jared,&lt;/p&gt;
&lt;p&gt;Sorry, some misunderstanding happens &amp;ndash; I&amp;rsquo;m not interested in what currents nRF52840 consumes from VBUS line, but if nRF52840 could detect what is attached to USB port ( a host or a power adapter) and what power providing capabilities as per USB-IF &lt;a href="https://usb.org/sites/default/files/USB_Battery_Charging_1.2.pdf"&gt;Battery Charging specification&lt;/a&gt; it has?&lt;/p&gt;
&lt;p&gt;Short &amp;nbsp;resume on one of the possible ways I found &lt;a href="https://www.microchip.com/forums/m592119.aspx"&gt;here&lt;/a&gt;:&lt;/p&gt;
&lt;p&gt;&amp;ldquo;&amp;hellip;&amp;nbsp;device, on seeing VBUS must apply 0.6V on D+ and a current sink on D-, and if it sees 0.6V coming back on D- then it knows that it may draw up to 1.5A. &amp;ldquo;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB PHY feedback signal what power source is connected</title><link>https://devzone.nordicsemi.com/thread/250632?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 09:01:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a1a7fa3-de36-44c8-bc4a-aa922499424f</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/usbd.html?cp=4_0_0_5_34_13_0#unique_1058430276"&gt;The current from VBUS supply&lt;/a&gt; for the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/usbd.html?cp=4_0_0_5_34_0#concept_usb_states"&gt;different states&lt;/a&gt; are specified in the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/usbd.html?cp=4_0_0_5_34"&gt;product specification&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 USB PHY feedback signal what power source is connected</title><link>https://devzone.nordicsemi.com/thread/250556?ContentTypeID=1</link><pubDate>Tue, 19 May 2020 01:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5ec602d-aaf6-4b02-b6fa-c45931a8f5c9</guid><dc:creator>samsam</dc:creator><description>&lt;p&gt;Here are &lt;a href="https://www.usb.org/document-library/battery-charging-v12-spec-and-adopters-agreement"&gt;Battery Charging v1.2 Spec &lt;/a&gt;(and Erratas) from usb.org&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>