I've found strange bug in WB55 USB controller: sometimes it stops getting wakeup event after entering suspended state first time. It seems to be some hardware issue, this bug also presents in HAL USB driver an even in built-in DFU bootloader.
It can be fixed by clearing suspend interrupt flag before setting suspend command (which is wrong according to the datasheet, but it works)
I've found strange bug in WB55 USB controller: sometimes it stops getting wakeup event after entering suspended state first time. It seems to be some hardware issue, this bug also presents in HAL USB driver an even in built-in DFU bootloader. It can be fixed by clearing suspend interrupt flag before setting suspend command (which is wrong according to the datasheet, but it works)