2019-05-16 08:45 PM
Hi all,
I am now experiencing problems with USB stuck.
I am using an STM32L433CC MCU.
There are two blocks in Flash, one is Bootloader and the other is API code.
Mainly at the beginning I entered the bootloader and can clearly know that USB can work.
Also know that when you want to jump to the API code, I should give the NVIC to disable and USB clock disable.
The picture below is my bootloader and Jump function
However, when I jumped to the API code, I stuck in USB_DEVICE_Init(); there was no action at all.
After that, I will get USB_DEVICE_Init(); and the MCU will work normally.
So I am wondering if I have missed any steps.
In addition, I suspect that the circuit may also have problems.
This is a USB circuit diagram.
But the STM32L4 has extra VDDUSB power supply. Normally, I should connect VDDUSB to the VCC mini port.
Still there is no difference at all.