cancel
Showing results for 
Search instead for 
Did you mean: 

USB Composite Device, Mass Storage - HID. Is it possible using HAL?

MBuen.1
Senior

Hello guys,

I've been researching over the internet and in this forum about creating a composite device on STM32WB5M. I need to create a device that has a HID and a mass storage over the same USB. I saw some old posts saying it was not possible but at the same time i saw another posts saying it is possible in some ST microcontrollers. I really would prefer to do that using ST Library, or modifying ST Library if needed.

Could anyone give me any hint, examples or a user manual of how i could begin this development?

1 ACCEPTED SOLUTION

Accepted Solutions
MBuen.1
Senior

Reopening this topic just to say that i got it using ST libraries. Just a new adjusts and it worked. I'll share the link of a guy that wrote about it.

https://sudonull.com/post/68144-CDC-MSC-USB-Composite-Device-on-STM32-HAL

View solution in original post

5 REPLIES 5
Piranha
Chief II

Even if it's possible, it's better to use a decent USB stack...

https://github.com/hathach/tinyusb/tree/master/examples/device/cdc_msc

Replace the CDC with some interface from HID examples.

MBuen.1
Senior

Thanks for the response! I'll for sure consider this option.

Currently, if it is somehow possible, i would rather use STM32 stack and be able to get ST support on possible issues. Any hint on how i could do that?

>>..and be able to get ST support on possible issues.

Picturing ST special ops deploying from a C-17, air dropping into support you and your team.

You're probably more likely to meet Tom Cruise in a BlockBuster Video, although there was that time I was in Dollar Video, and Cindy Crawford was there..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Well.. i dont know about the company you work for or the products you design, but ST support has been very effective for the company i'm currently working for =)

MBuen.1
Senior

Reopening this topic just to say that i got it using ST libraries. Just a new adjusts and it worked. I'll share the link of a guy that wrote about it.

https://sudonull.com/post/68144-CDC-MSC-USB-Composite-Device-on-STM32-HAL