raspberrypi / pico-feedback

25 stars 2 forks source link

Battery-Powered Pico W and USB Type-C Connection Issue #391

Open oyama opened 5 months ago

oyama commented 5 months ago

Hello, pico-feedback team,

I am reporting a consistent issue that occurs when the battery-powered Raspberry Pi Pico W is connected to a host PC via a USB Type-C connection. Below are the details and the results of our investigations so far:

Detailed Description of the Issue:

Device Voltage with USB Disconnected Voltage after connecting to device first, then host Voltage after connecting to host first, then device
Pico 0.42 V 5.17 V 5.17 V
Pico W 1.36 V 0.97..1.09 V (unstable) 5.16 V

Circuit Diagram:

The circuit diagram used for this investigation is shown below. circut_diagram The tests were conducted using the cable included with the Raspberry Pi Debug Probe, equipped with a Type-C adapter, and the Amazon Basics USB Type-C to Micro-B 2.0 Short Charger Cable - 6 Inches (15.2 Centimeters). The connected Host PCs were also tested on an Apple MacBook Air (M2, 2022) macos 14.4.1, Microsoft SurfacePro 7 Windows 11 Home.

Summary of Community Discussion:

Useful Links:

These measures mitigate the issue, but a permanent fix is necessary. We recommend further investigation and development of these hardware and software-based approaches by the development team.

Thank you for your attention.

lurch commented 5 months ago

This isn't an issue with the pico-sdk itself, so moving this issue to the pico-feedback repo.

dp111 commented 4 months ago

I've recreated this issue. It turns out that it is something we have also been investigating. The easy fixed as you have found is to add a resistor to ground. A better fix is actually to change D1 on the Pico to a PMEG6010ELR. This diode has a significantly lower reverse leakage.