-
-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi there,
I’m working with a custom PCB that uses an ESP32 as the microcontroller. I need a USB connection to my phone for communication with the controller, and at the same time, I’d like to charge the device through the same connection.
Currently, I’m using a Y-cable to split power and data, but I’m aiming for a more convenient design. I thought the FUSB302 could be a suitable solution, but I haven’t been able to get it working.
I followed your basic cable connection example and replaced the .cc_pull_down() line with .cc_pull_up(USB_TYPEC_CC_STATUS_RP_1_5).
However, my device still charges at only about 100–200 mA. The power supply should support up to 3 A at 5 V.
My understanding was that staying at 5 V wouldn’t require explicit Power Delivery messages, but perhaps that’s not the case for devices like my Samsung Galaxy A56.
Could you provide an example of how to act as a power source including PD?
Thanks, and have a great day!