I see, but what I want to achieve is to be able to detect USB connection during VLLS / LLS mode and switch to higher power mode (where USB is operational) and service that USB communication session. After disconnection of USB go back to VLLS / LLS mode.
So what I really need is to implement "detect USB connection -> switch higher power mode/faster clock" strategy.
I found this hint in Reference Manual: "VBUS detect signal: To detect a valid VBUS in device mode, use a GPIO signal that can wake the chip in all power modes."
And I'm thinking now to make a USB's 5.0V to MCU's 3.3V resistor branch connecting to one of LLWU pins.
Question is, if anyone has tried that or other ideas?