![]() |
STM32Cube
Version 2.0
Create Projects for STM32F7 Series with STM32Cube HAL and STM32CubeMX
|
The CMSIS-Driver USBD_FS requires:
Valid settings for various evaluation boards are listed in the table below:
| Peripheral Resource | STM32756G-EVAL | STM32F746G-Discovery |
|---|---|---|
| USB_OTG_FS Mode | Device_only | Device_only |
| Activate_VBUS | enabled | enabled |
For different boards, refer to the hardware schematics to reflect correct setup values.
The STM32CubeMX configuration for STM32F746G-Discovery with steps for Pinout, Clock, and System Configuration are listed below. Enter the values that are marked bold.
| Pin Name | Signal on Pin | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | User Label |
|---|---|---|---|---|---|
| PA11 | USB_OTG_FS_DM | Alternate | No pull-up and no.. | High | . |
| PA12 | USB_OTG_FS_DP | Alternate | No pull-up and no.. | High | . |
| Interrupt Table | Enable | Preemption Priority | Sub Priority |
|---|---|---|---|
| USB On The Go FS global interrupt | ON | 0 | 0 |