![]() |
STM32Cube
Version 2.0
Create Projects for STM32H7 Series with STM32Cube HAL and STM32CubeMX
|
The CMSIS-Driver USBD_OTG requires:
For different boards, refer to the hardware schematics to reflect correct setup values.
The STM32CubeMX configuration steps for Pinout, Clock, and System Configuration are listed below. Enter the values that are marked bold.
Interrupt Table | Enabled | Preemption Priority | Sub Priority |
---|---|---|---|
USB OTG FS global interrupt | OFF | 0 | 0 |
Pin Name | Signal on Pin | GPIO Pin State | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | Fast Mode | User Label |
---|---|---|---|---|---|---|---|
PA11 | USB_OTG_FS_DM | n/a | Alternate | No pull-up and no.. | Very High | n/a | . |
PA12 | USB_OTG_FS_DP | n/a | Alternate | No pull-up and no.. | Very High | n/a | . |
Generate source code by click on Generate source code tool on toolbar, or select project Generate Code, or or press keys Ctrl + Shift + G.