Skip to main content
Explorer II
December 13, 2023
Solved

USB available on STM32G0B0KET6 ?

  • December 13, 2023
  • 3 replies
  • 1649 views

DS13565 Rev 2 says under 3.20: "The embedded USB controller cannot be used on STM32G0B0KE as this device does not provide an HSE oscillator input.". Well, sounds reasonable. But same DS says in Table 11 for Pin 2 (LQFP32) PC14: "OSC32_IN, OSC_IN" whereas for the higher pin count packages PC14 has only "OSC32_IN".
So, HSE bypass is available on LQFP32?!

Now CubeMX 6.10.0 with G0 1.6.1, gives after selection of "G0 series" and "USB FS" a list *INCLUDING* STM32G0B0KET6, and even the "Features" tab of the very same device shows  "USB 2.0 FS device and host controller". After selecting STM32G0B0KET6, one can definitely check "BYPASS Clock Source" under "RCC", and Pinout view shows this is located on PC14, as expected. Clock config tab now allows HSE -> PLL -> PLLR -> SYSCLOCK, and even shows "PLLQ" and "USB Clock Mux", but both not configurable. But neither RM nor DS restricts use of PLLQ divider for LQFP32. Pretty inconsistent.

So, after all, what's the intention regarding USB on STM32G0B0KET6?

 

 

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hello @Andreas Bolsch ,

    Thank you for reporting this issue.

    After checking internally, I can confirm that HSE bypass is available on LQFP32 and it is possible to use USB with this package through HSE in bypass mode.

    I reported internally the datasheet and STM32CubeMX for correction.

    Internal ticket number: 170693  (This is an internal tracking number and is not accessible or usable by customers).

    Kaouthar

    3 replies

    Visitor II
    December 13, 2023

    There might be some confusion or inconsistencies in the documentation or software tools regarding the availability of specific features related to USB usage, especially with respect to the HSE oscillator input and its relationship to USB functionality. I hope STM authority will clarify this matter. 

    KDJEM.1Answer
    Technical Moderator
    February 6, 2024

    Hello @Andreas Bolsch ,

    Thank you for reporting this issue.

    After checking internally, I can confirm that HSE bypass is available on LQFP32 and it is possible to use USB with this package through HSE in bypass mode.

    I reported internally the datasheet and STM32CubeMX for correction.

    Internal ticket number: 170693  (This is an internal tracking number and is not accessible or usable by customers).

    Kaouthar

    Explorer II
    February 6, 2024

    Thanks!

    Technical Moderator
    October 15, 2025

    Hello @Andreas Bolsch ;

     

    The issue is fixed in DS13564 Rev 3 and in STM32CubeMX 1.15.0.

     

    Thank you.

    Kaouthar