I am working an esp32 project and want to take analog data from an FM receiver and output through a USB. I will also be using the USB for uploading data to the esp32 and charging a lipo battery. The TS5USBA224 looks like a perfect fit for what I am doing but I have questions. I am really pretty green with some of this stuff so please be kind.
From the data sheet:
It appears from this that Vaudio actually supplies power to the chip and if Vaudio=0, you cannot get any data from the USB output (D+/R , D-/L) even if VBUS is +5V. My question is, if I am uploading data to the esp32 over the usb, does Vaudio have power while uploading? If not, then D+/D- will be off and it seems the data wont get through the switch. It seems to me that the way it SHOULD work is if Vbus is H and Vaudio is L, then D+/D- should still be enabled if Asel is low.
I am woundering if I am mission something.
Any help is appreciated!!
Mark