![]() |
STM32Cube
Version 2.1
Create Projects for STM32F3 Series with STM32Cube HAL and STM32CubeMX
|
The CMSIS-Driver USART requires:
Valid settings for various evaluation boards are listed in the table below:
| Peripheral Resource | STM32303C-EVAL |
|---|---|
| USART Peripheral | USART1 |
| USART Mode | Asynchronous |
| TX Pin | PC4 |
| RX Pin | PE1 |
For different boards, refer to the hardware schematics to reflect correct setup values.
The STM32CubeMX configuration for STMicroelectronics STM32303C-EVAL Board with steps for Pinout, Clock, and System Configuration are listed below. Enter the values that are marked bold.
| Interrupt Table | Enabled | Preemption Priority | Sub Priority |
|---|---|---|---|
| DMA1 channel4 global interrupt | ON | 0 | 0 |
| DMA1 channel5 global interrupt | ON | 0 | 0 |
| USART1 global interrupt / USART1 wake-.. | ON | 0 | 0 |
| Pin Name | Signal on Pin | GPIO output.. | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | Fast Mode | User Label |
|---|---|---|---|---|---|---|---|
| PC4 | USART1_TX | n/a | Alternate .. | Pull-up | High | n/a | . |
| PE1 | USART1_RX | n/a | Alternate .. | Pull-up | High | n/a | . |