AnsweredAssumed Answered

STM32L476 USB device does not work

Question asked by krestan.michal.001 on Jul 7, 2016
Latest reply on Jul 13, 2016 by Clive One
I've a big problem to make USB device working on STM32L476 device. I've tried my board, STM32L476 discovery and the results are the same, so I gues it must be firmware issue. I've used code generated from ST Cube and it fails before enumeration. If I set VBUS sensing disable, then windwows come with message "can not recognize USB device". There is some communication going on the usb pins, measured by oscilloscope, but it's all what I can see. With VBUS sensing disabled nothing happends at all, niether OTG IRQ calls. If I hold BOOT0 pin at VDD on the same board and try to connect USB, then the USB is working from the bootloader so the hardware part must be good.

Outcomes