From: Peetz0r Date: Fri, 7 Sep 2018 06:41:28 +0000 (+0200) Subject: usb_power_delivery: Add new captures X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=50c0fd5b131ef86551faafa7e34b986fbd161356;p=sigrok-dumps.git usb_power_delivery: Add new captures --- diff --git a/usb_power_delivery/thinkpad_yoga_370/README b/usb_power_delivery/thinkpad_yoga_370/README new file mode 100644 index 0000000..dcdb04a --- /dev/null +++ b/usb_power_delivery/thinkpad_yoga_370/README @@ -0,0 +1,89 @@ +------------------------------------------------------------------------------- +USB Power Delivery protocol +------------------------------------------------------------------------------- + +This directory contains captures of data communication on the Configuration +Channels of Type-C USB connectors using the USB Power Delivery protocol. + +Details: +http://www.usb.org/developers/powerdelivery/ + + +Logic analyzer setup +-------------------- + +These captures were made using different prototypes of the 'usb-c-grok', which +is an FX2 based device designed to capture USB Configuration Channel traffic. + +I made all captures with PulseView, with the samplerate set to 4 MHz, except +when noted otherwise. + + +Devices used +------------ + +Lenovo Thinkpad Yoga 370 + - https://psref.lenovo.com/Product/Think_Tablets_and_Convertibles/ThinkPad_Yoga_370 + - 5V source + - 5/9/12/15/20V sink + +Aukey 45W PD source + - https://www.aukey.com/products/amp-usb-c-wall-charger-with-power-delivery-3-0-pa-y10 + - The only device with Power Delivery 3.0 support + - 5/9/12/15/20V source + - Programmable 3 - 16V source + +Noname 65W PD source + - https://www.amazon.de/gp/product/B07538NJDZ/ + - 5/9/12/15/20V source + +Cable Deconn USB hub/dock/dongle + - http://www.cabledeconn.com/sub/?id=708 + - Power Delivery passtrough + - > supports PR swap + - USB 3.1 gen 1 hub with Gigabit Ethernet and 2 type A ports + - USB 2.0 hub with SD card reader and 3.5mm audio interface + - Displayport switch connected to DP-HDMI and DP-VGA converters + - Enough magic to make all of the above work at the same time + +Anker Powercore+ 26800 PD powerbank + - https://anker.com/uk/products/variant/powercore-26800-pd/A1375011 + - 26800 mAh, almost 100 Wh + - 9V sink + - 5/9/12/15/20V source + + +thinkpad_yoga_370-anker_powerbank-both_orientations.sr +------------------------------------------------------ + +I plugged in the powerbank in my laptop with the analyzer in between, then +unplugged, reversed the plug and after around 2 seconds plugged it in again. + +At 65 ms we see a CRC packet which the devices have correctly seen but looks +like it didn't capture correctly. At 1986 ms there is some noise, probably +when I was replugging the connector. + +The Anker powerbank first advertises only 5V and 15V, then later advertises all +other voltages. I don't know why this happens. + + +thinkpad_yoga_370_aukey_45w.sr +------------------------------ + +I plugged the supply in my laptop. I included this because this supply +advertises PPS capability and this is the only PD 3.0 feature in these captures. + + +thinkpad_yoga_370-passtrough_dongle-anker_powerbank.sr +------------------------------------------------------ + +First the laptop advertises its capabilities multiple times. Then I plug in the +dongle. At 415 ms the dongle responds and requests 5V from the laptop. Between +460 and 600 ms it does all kinds of stuff that I don't understand. At 606 ms it +enters DisplayPort Alternate Mode. I did not connect a display. + +After 3432 ms I plugged in the Anker powerbank to the passtrough port of the +dongle, which sent a Power Role Swap message. Between 3470 and 3570 ms the CC +line is low, because the dongle is switching it's power source. At 3677 ms the +dongle advertises source capabilities to the laptop, which are basically the +powerbanks capabilities reduced by 5W. diff --git a/usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-anker_powerbank-both_orientations.sr b/usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-anker_powerbank-both_orientations.sr new file mode 100644 index 0000000..a4e2755 Binary files /dev/null and b/usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-anker_powerbank-both_orientations.sr differ diff --git a/usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-aukey_45w.sr b/usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-aukey_45w.sr new file mode 100644 index 0000000..e21e576 Binary files /dev/null and b/usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-aukey_45w.sr differ diff --git a/usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-passtrough_dongle-anker_powerbank.sr b/usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-passtrough_dongle-anker_powerbank.sr new file mode 100644 index 0000000..316baac Binary files /dev/null and b/usb_power_delivery/thinkpad_yoga_370/thinkpad_yoga_370-passtrough_dongle-anker_powerbank.sr differ diff --git a/usb_power_delivery/zy12pds_sink_module/README b/usb_power_delivery/zy12pds_sink_module/README new file mode 100644 index 0000000..b9104f8 --- /dev/null +++ b/usb_power_delivery/zy12pds_sink_module/README @@ -0,0 +1,71 @@ +------------------------------------------------------------------------------- +USB Power Delivery protocol +------------------------------------------------------------------------------- + +This directory contains captures of data communication on the Configuration +Channels of Type-C USB connectors using the USB Power Delivery protocol. + +Details: +http://www.usb.org/developers/powerdelivery/ + + +Logic analyzer setup +-------------------- + +These captures were made using different prototypes of the 'usb-c-grok', which +is an FX2 based device designed to capture USB Configuration Channel traffic. + +I made all captures with PulseView, with the samplerate set to 4 MHz, except +when noted otherwise. + + +Devices used +------------ + +ZY12PDS Power Delivery sink module + - https://www.aliexpress.com/item/ZY12PD/32810557770.html + - Can be configured for 5/9/12/15/20V, or "highest possible" or + "all in sequence" + - Set to 9V, because I used it to upgrade a 9.6V toy car + +Aukey 45W PD source + - https://www.aukey.com/products/amp-usb-c-wall-charger-with-power-delivery-3-0-pa-y10 + - The only device with Power Delivery 3.0 support + - 5/9/12/15/20V source + - Programmable 3 - 16V source + +Noname 65W PD source + - https://www.amazon.de/gp/product/B07538NJDZ/ + - 5/9/12/15/20V source + +Cable Deconn USB hub/dock/dongle + - http://www.cabledeconn.com/sub/?id=708 + - Power Delivery passtrough + - > supports PR swap + - USB 3.1 gen 1 hub with Gigabit Ethernet and 2 type A ports + - USB 2.0 hub with SD card reader and 3.5mm audio interface + - Displayport switch connected to DP-HDMI and DP-VGA converters + - Enough magic to make all of the above work at the same time + +Anker Powercore+ 26800 PD powerbank + - https://anker.com/uk/products/variant/powercore-26800-pd/A1375011 + - 26800 mAh, almost 100 Wh + - 9V sink + - 5/9/12/15/20V source + + +zy12pds_sink_module-65w_noname_supply.sr +---------------------------------------- + +This supply lies. It says 65W on the box and device but advertises only 60W. +The sink is a module available from aliexpress or ebay which I configured to +request 9V. + + +zy12pds_sink_module-anker_powerbank.sr +-------------------------------------- + +The same module as before, now connected to the Anker powerbank, and configured +to request all the voltages sequentially, with 1800ms between each one. This +was captured at 6 MHz because at 4 MHz it had some issues with decoding packets +from the ZY12PDS module, but only at some voltages. diff --git a/usb_power_delivery/zy12pds_sink_module/zy12pds_sink_module-65w_noname_supply.sr b/usb_power_delivery/zy12pds_sink_module/zy12pds_sink_module-65w_noname_supply.sr new file mode 100644 index 0000000..492ef8c Binary files /dev/null and b/usb_power_delivery/zy12pds_sink_module/zy12pds_sink_module-65w_noname_supply.sr differ diff --git a/usb_power_delivery/zy12pds_sink_module/zy12pds_sink_module-anker_powerbank.sr b/usb_power_delivery/zy12pds_sink_module/zy12pds_sink_module-anker_powerbank.sr new file mode 100644 index 0000000..77837a4 Binary files /dev/null and b/usb_power_delivery/zy12pds_sink_module/zy12pds_sink_module-anker_powerbank.sr differ