![]() |
STM32Cube
Version 2.0
Create Projects for STM32F2 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 | MCBSTM32F200 | MCBSTM32F200 | STM3220G-EVAL |
---|---|---|---|
USART Peripheral | USART1 | USART3/UART4 | USART3/UART4 |
USART Mode | Asynchronous | Asynchronous | Asynchronous |
TX Pin | PB6 | PC10 | PC10 |
RX Pin | PB7 | PC11 | PC11 |
For different boards, refer to the hardware schematics to reflect correct setup values.
The STM32CubeMX configuration for MCBSTM32F200 with steps for Pinout, Clock, and System Configuration are listed below. Enter the values that are marked bold.
Pin Name | Signal on Pin | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | User Label |
---|---|---|---|---|---|
PB6 | USART1_TX | Alternate | Pull-up | High | . |
PB7 | USART1_RX | Alternate | Pull-up | High | . |
Interrupt Table | Enable | Preemption Priority | Sub Priority |
---|---|---|---|
USART1 global interrupt | ON | 0 | 0 |
DMA2 stream2 global interrupt | ON | 0 | 0 |
DMA2 stream7 global interrupt | ON | 0 | 0 |