My Pico will get 5V at its VIN pin, but will also sometimes be connected via USB to my RPi (for programming), which will also supply voltage. I need to protect both voltage sources from getting reverse voltage. I can put a diode on the VIN pin to protect that voltage source. How do I protect the RPi? Is there already reverse voltage protection for the USB on either the Pico or the RPi? Or do I need to make a custom USB cable that has a diode in it? Or maybe a USB cable with the V+ wire cut?
Thanks.