Hi!
I am developing a PCB based on a stm32f4 microcontroller and want to have two power sources and switch between them. As power sources I have a jack cable (5V 1A) and USB Vbus. I want to always give the priority to the jack cable. For this, I decided to use a power multiplexer (TPS2113APWR). My problem is that I am not finding anywhere any decent information about it for a beginner to understand. The datasheet only confused me more. Can someone please explain how does it work (I understand the principle but not the roles of each pin), how should I wire it (I have a strong feeling that my wiring is wrong), how should I control the switching and is it a good option in general?
Thank you so much for your contribution!

I am developing a PCB based on a stm32f4 microcontroller and want to have two power sources and switch between them. As power sources I have a jack cable (5V 1A) and USB Vbus. I want to always give the priority to the jack cable. For this, I decided to use a power multiplexer (TPS2113APWR). My problem is that I am not finding anywhere any decent information about it for a beginner to understand. The datasheet only confused me more. Can someone please explain how does it work (I understand the principle but not the roles of each pin), how should I wire it (I have a strong feeling that my wiring is wrong), how should I control the switching and is it a good option in general?
Thank you so much for your contribution!
