Hi,
Customer can connect VBUS signal to either USB module (USB0 or USB1).
The USB FS module wakeup from a a low power mode (except in LLS/VLLS mode where USB is not powered) occurs through an asynchronous interrupt triggered by activity on the USB bus. Setting the USBTRC0[USBRESMEN] bit enables this function. It needs a separate interrupt to wakeup USB FS module from low power mode.
The USB HS module is different.
In Stop/VLPS, the USB controller can generate an interrupt on VBUS detection or on Resume/Wakeup signaling on the USB1_DP and USB1_DM pins.
It needs a separate interrupt to wakeup USB HS module from low power mode.
In LLS/VLLS, the USB1_VBUS, USB1_DP and USB1_DM are input pins to the LLWU and a transition on those pins can generate a wakeup provided the USB is powered. In VLLS0 and VLLS1, a wakeup is only generated if the USB PHY was powered on entry into the low power mode. It does not need a separate wake up signal, which could be the same signal through LLWU module to wake up.
There doesn't need a 5V tolerance GPIO pin, customer can use a normal I/O to wake up the core from low power mode.
With it helps.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------