Skip to main content
This topic has been closed for replies.

2 replies

Khouloud GARSI
Technical Moderator
October 3, 2018

Hi @Community member​ ,

You can download the STM32F7Cube package. There is two examples titled "CDC_Standalone", one when the STM32 USB peripheral is configured as host ans the second one is for the device mode.

Depending on your application and device, you may found the examples under the path below:

STM32Cube_FW_F7_V1.12.0\Projects\[BOARD]\Applications\USB_Device (or USB_Host)

Link to download the Cube package:

https://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-mcu-packages/stm32cubef7.html#design-scroll

Khouloud.

AlaaM
AlaaMAuthor
Associate III
October 4, 2018

Thanks I found it. But they just initialize the device there... I was looking for examples of connection / disconnection handling and data transferring.

The problem with connection / disconnection handling is that there's no option to add user code (cube will overwrite it...)