Skip to main content
Associate
Nov 25, 2024 6:51 PM UTC
Solved

USBX - Composite USB device - CDC ACM and MSC

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?

This topic has been closed for replies.
FBLBest answer
ST Technical Moderator
Dec 13, 2024 8:01 AM UTC

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

2 replies

Pavel A.
Nov 26, 2024 2:07 AM UTC

> 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
ST Technical Moderator
Dec 13, 2024 8:01 AM UTC

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