cancel
Showing results for 
Search instead for 
Did you mean: 

How using the cubeMX program to implement the usb composite device?

alfinikov
Associate III
 
3 REPLIES 3
TDK
Guru

CubeMX doesn't support this directly, but it can be done in your own code.

Here is one post of many:

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

If you feel a post has answered your question, please click "Accept as Solution".
alfinikov
Associate III

Thank you

alfinikov
Associate III

I use stm32l4xx, instead of the HAL_PCDEx_PMAConfig() functions, I use the HAL_PCDEx_SetTxFiFo()/HAL_PCDEx_SetRxFiFo() functions. Could you tell me how to configure them correctly for Composite USB? Thanks in advance.