Skip to main content
Associate
November 25, 2024
Solved

USBX - Composite USB device - CDC ACM and MSC

  • November 25, 2024
  • 2 replies
  • 1168 views

I'm trying to develop an application for the STM32H750 using USBX to implement two classes on the same USB device: CDC ACM and MSC. I've managed to get each one working individually, but I'm having trouble combining them. When I connect it to a PC, no driver is assigned to the CDC, although it's recognized as both a mass storage and communication device. Has anyone encountered this issue before? Is there any example I can use as a reference?

Best answer by FBL

Hi @robertkau 

You can check this article using composite dual CDC HID device How to implement the USB device composite class in... - STMicroelectronics Community. You may simply need to redefine MSC class instead of HID class.

2 replies

Pavel A.
Super User
November 26, 2024

When I connect it to a PC, no driver is assigned to the CDC, although it's recognized as both a mass storage and communication device. 

Please post a screenshot how it looks in the  device manager. View -> Devices by container.

 

FBLBest answer
Technical Moderator
December 13, 2024

Hi @robertkau 

You can check this article using composite dual CDC HID device How to implement the USB device composite class in... - STMicroelectronics Community. You may simply need to redefine MSC class instead of HID class.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL