Where can I get a usb-cdc example for STM32F7?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-03 12:40 AM
Where can I get a usb-cdc example for STM32F7?
Someone linked a working example for L4 here:
https://community.st.com/s/question/0D50X00009XkYWiSAN/usb-cdc-example-for-stm32l432
But the link is dead.
- Labels:
-
STM32F7 Series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-03 2:11 AM
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:
Khouloud.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-10-04 12:25 AM
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...)
