![]() |
STM32Cube
Version 2.0
Create Projects for STM32F0 Series with STM32Cube HAL and STM32CubeMX
|
The CMSIS-Driver USBD requires:
Valid settings for various evaluation boards are listed in the table below:
Peripheral Resource | STM32F072B-DISCO |
---|---|
USB Peripheral | USB |
D- Pin | PA11 |
D+ Pin | PA12 |
For different boards, refer to the hardware schematics to reflect correct setup values.
The STM32CubeMX configuration for STMicroelectronics STM32F072B-DISCO Board with steps for Pinout, Clock, and System Configuration are listed below. Enter the values that are marked bold.
Interrupt Table | Enabled | Preemption Priority |
---|---|---|
USB global interrupt / USB wake-up inter.. | ON | 0 |
Pin Name | Signal on Pin | GPIO output.. | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | Fast Mode | User Label |
---|---|---|---|---|---|---|---|
PA11 | USB_DM | n/a | n/a | n/a | n/a | n/a | . |
PA12 | USB_DP | n/a | n/a | n/a | n/a | n/a | . |