How do i implement a dual role power system via a USB-C port for my custom PCB.

Thread Starter


Joined Aug 27, 2020
I currently have a custom PCB design using the PIC16F1937-CN. The custom circuit gives an output voltage via the usb to an external device. I would like to charge my circuits battery with the same usb port which is currently not the case. It has another port for charging the device.

What design changes do i need to use my USB-C as an output for external devices and to charge the said device itself?