2025-03-16 6:55 AM
I want to read and write data from the serial port with the help of the usbx module with STM32u0. However, when I insert the usb, it gives an unrecognised usb error. I downloaded and installed the usb virtual port drivers from the ST site, but I could not solve it. Can you help me with this?
2025-03-16 7:04 AM
STM32U0 series does not have an internal high-speed (48 MHz) oscillator. You must enable the clock source for USB. If using HSI48 (Internal Oscillator for USB), enable HSI48 and configure the RCC_CRS (Clock Recovery System). If using an External 8 MHz Crystal (HSE). Make sure you enable PLL to generate the required 48 MHz for USB.
2025-03-16 7:14 AM
I tried everything you said before, but I got no results.