The CMSIS-Driver USBD requires:
Valid settings for various evaluation boards are listed in the table below:
| Peripheral Resource | STM32L073Z-EVAL |
|---|---|
| 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 STM32L073Z-EVAL Board with steps for Pinout, Clock, and System Configuration are listed below. Enter the values that are marked bold.
Under Connectivity open USB Configuration:
| Interrupt Table | Enabled | Preemption Priority |
|---|---|---|
| USB event 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 | . |
Click OK to close the USB Configuration dialog