Skip to main content
Visitor II
March 16, 2025
Question

STM32U073C8T6 USBX CDC ACM

  • March 16, 2025
  • 2 replies
  • 377 views

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?

    This topic has been closed for replies.

    2 replies

    Visitor II
    March 16, 2025

     

    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.

    OŞeno.1Author
    Visitor II
    March 16, 2025

    Oeno1_0-1742134395738.png

    Oeno1_1-1742134417373.pngOeno1_2-1742134437572.png

     

    I tried everything you said before, but I got no results.