Skip to main content
alfinikov
Associate II
January 11, 2022
Question

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

  • January 11, 2022
  • 3 replies
  • 1801 views

..

This topic has been closed for replies.

3 replies

TDK
January 11, 2022

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
alfinikovAuthor
Associate II
January 12, 2022

Thank you

alfinikov
alfinikovAuthor
Associate II
January 29, 2022

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.