Skip to main content
Visitor II
July 25, 2025
Question

STM32C071KBT6 USBX CDC ACM Standalone Mode Configuration

  • July 25, 2025
  • 2 replies
  • 291 views

UPSHU_0-1753440648953.pngUPSHU_1-1753440660736.pngUPSHU_2-1753440672723.pngUPSHU_3-1753440691811.pngUPSHU_4-1753440759894.png

UPSHU_5-1753440782937.png

以上就是我配置的所有内容。您能指出我的配置有任何问题吗?

edit (translated in English): 

Hello,

I have configured the STM32C071KBT6 for USBX standalone mode. Attached are all the screenshots of my configuration.

Could you please review and let me know if there are any issues with my configuration?

Thank you.

    This topic has been closed for replies.

    2 replies

    Graduate II
    July 26, 2025

    Sorry, my Spanish is a little rusty. Care to translate to English?

    Technical Moderator
    August 29, 2025

    Hi @UPSHU 

    The memory pool size you configured is reasonable for a CDC ACM device; however, it depends on your application complexity and the number of endpoints and interfaces used. If you encounter memory issues or USB enumeration problems, I recommend increasing the memory pool size and the system stack size accordingly.

    Also, I noticed that you have set UX_MAX_SLAVE_INTERFACES to 16, which is quite high for a typical CDC ACM application.

    If you face any issues, please refer to the official STM32 USBX CDC ACM examples and the standalone USBX example without ThreadX as reliable references: examples provided as reference for CDC ACM and check this standalone example as reference without threadX.