There are two power supply sources in the following diagram - USB and 12V. Only one power supply can be connected at the same time. I am trying to disable power to
12V is plugged in. In that case
FT232 should not be powered, but MCU will be powered. However, when USB is connected, both
MCU should be powered. I tried to use Schottky diodes(BAT54C) but I'm not sure if this is correct way.
Also - would USB power harm voltage regulator in the second case?