STM32 downstream of a USB hub
Hi !
An application I am working on has a PC connecting to an ethernet device (currently through Ethernet) and a STM32 (STM32G0B0CET6) through USB.
I am looking to only have one connection to the PC through USB, hence I am looking to have the incoming USB plug into a hub, going to the STM32 on one side and a USB-Ethernet bridge on the other. All devices are self-powered (not through USB) and the STM32 does not have to talk to the other device at all. The USB hub I am looking at is Microchip's USB2412.
I am mainly wondering if there is a "standard" way to make sure the STM32 will enumerate fine through the USB hub as I am not too familiar with USB. It looks like the hub has pins that can signal that it is ready and enumerated, and it looks like downstream devices should only boot after this is the case in order to enumerate. Perhaps it would be possible to instead hook this signal to the RESET pin on the STM32 ?
Thanks a lot in advance !
Best regards,
Adrien
