The CMSIS-Driver USART requires:
Valid settings for various evaluation boards are listed in the table below:
| Peripheral Resource | STM32L073Z-EVAL |
|---|---|
| USART Peripheral | USART1 |
| USART Mode | Synchronous |
| TX Pin | PA9 |
| RX Pin | PA10 |
| CK Pin | PA8 |
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 USART1 Configuration:
| Interrupt Table | Enabled | Preemption Priority |
|---|---|---|
| DMA1 channel 4, channel 5, channel 6 and.. | ON | 0 |
| USART1 global interrupt / USART1 wake-up.. | ON | 0 |
| Pin Name | Signal on Pin | GPIO output.. | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | Fast Mode | User Label |
|---|---|---|---|---|---|---|---|
| PA8 | USART1_CK | n/a | Alternate .. | No pull-up and no.. | Very High | n/a | . |
| PA9 | USART1_TX | n/a | Alternate .. | No pull-up and no.. | Very High | n/a | . |
| PA10 | USART1_RX | n/a | Alternate .. | No pull-up and no.. | Very High | n/a | . |
Click OK to close the USART1 Configuration dialog