<?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>USB Charge Source Detection w/ nRF52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36330/usb-charge-source-detection-w-nrf52840</link><description>I was hoping someone could clarify what support the nRF52840 has for USB power source detection. Our design uses a 150mAh LiPo battery, with a dedicated PMIC. We have the capability to set the charge current to 100mA, 150mA, or off. From what I&amp;#39;ve gathered</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 13 Aug 2018 11:23:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36330/usb-charge-source-detection-w-nrf52840" /><item><title>RE: USB Charge Source Detection w/ nRF52840</title><link>https://devzone.nordicsemi.com/thread/143914?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 11:23:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:179e7610-9761-4f41-8846-d9ec90ca3b8c</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Answer from HW engineers:&lt;/p&gt;
&lt;p&gt;The USBD is USB 2.0 compliant, but does not have built-in support for the Battery Charging Specification rev 1.1. This implies that&amp;nbsp;if it&amp;#39;s connected to a Charging Downstream Port (CDP) or a Dedicated Charging Port (DCP), it will not recognize them as such. It might be possible to implement power source detection under software control, but this is not tested.&lt;/p&gt;
&lt;p&gt;It could be possible to use the USBRESET event to decide whether the device is connected to dumb charger or not. When connected to a&amp;nbsp;SDP or CDP, a USBRESET event should be generated within a certain time after USBPULLUP is enabled. But when connected to a dumb charger (DCP), it is not possible to have the USBRESET event, since it requires both D+ and D- to be pulled low for a specified amount of time. The dumb charger does not have any pull-down resistors on&amp;nbsp;the data lines, and with the pull-up resistor on D+ enabled from the nRF52840 side, it is not possible&amp;nbsp;for D+ to go low. (I believe there are some dumb chargers that do not have D+ and D- shorted together.&amp;nbsp;In that case D- will float, but the reset state still cannot occur because D+ is pulled high by the resistor.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB Charge Source Detection w/ nRF52840</title><link>https://devzone.nordicsemi.com/thread/140348?ContentTypeID=1</link><pubDate>Tue, 17 Jul 2018 09:02:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3de7adde-ae17-4a4d-9ce2-15b3692b9cdc</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, I forwarded this question to the HW designers. I will come back with an answer later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>