Skip to main content
Explorer II
May 23, 2023
Solved

Composite device on stm32f4

  • May 23, 2023
  • 1 reply
  • 1549 views

Hi! I am trying to implement a composite device (two VCPs) on my stm3f4 board, as I need to transmit data simultaneously to the pc. I see that I have enough endpoints to do so but have no idea where to start from. Do you have any clear examples please? The ones I found online where not clear enough for me :grinning_face_with_sweat: Thank you!

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hi @LOnGr.1​ ,

    You can take a look to DualCore_Standalone example available in STM32F4 package.

    This example describes how to use USB device application based on the STM32F4xx multi core support feature integrating the Device Communication Class (CDC) and Human Interface (HID) in the same project.

    Also, many USB Device composite examples are available in the STM32CubeH7 MCU package.

    So, you can get inspired from these examples to create USB Composite application with STM32F4.

    I hope this help you!

    When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

    Thank you

    Kaouthar

    1 reply

    KDJEM.1Answer
    Technical Moderator
    May 23, 2023

    Hi @LOnGr.1​ ,

    You can take a look to DualCore_Standalone example available in STM32F4 package.

    This example describes how to use USB device application based on the STM32F4xx multi core support feature integrating the Device Communication Class (CDC) and Human Interface (HID) in the same project.

    Also, many USB Device composite examples are available in the STM32CubeH7 MCU package.

    So, you can get inspired from these examples to create USB Composite application with STM32F4.

    I hope this help you!

    When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

    Thank you

    Kaouthar