![]() |
STM32Cube
Version 2.0
Create Projects for STM32L0 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 | STM32L073Z-EVAL |
---|---|
USART Peripheral | USART2 |
USART Mode | IrDA |
TX Pin | PD5 |
RX Pin | PD6 |
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.
Interrupt Table | Enabled | Preemption Priority |
---|---|---|
DMA1 channel 4, channel 5, channel 6 and.. | ON | 0 |
USART2 global interrupt / USART2 wake-up.. | ON | 0 |
Pin Name | Signal on Pin | GPIO output.. | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | Fast Mode | User Label |
---|---|---|---|---|---|---|---|
PD5 | USART2_TX | n/a | Alternate .. | No pull-up and no.. | Very High | n/a | . |
PD6 | USART2_RX | n/a | Alternate .. | No pull-up.and no.. | Very High | n/a | . |