Help with USART serial communication stm32L072CZ

I am trying to have a serial communication with the stm32l0 but the only exposed pin is the PA_14, which is also used for programming the chip with the st-link.

The pin it can be configured as USART_TX. I tried multiple ways but I see nonsense in the UART.

Can I use that pin for serial communication? How?

BR,
Raf

If anyone is struggling with this, I used the PA_14_ALT0 instead of PA_14 and it works.

To program the device again afterwards you will need to hardware reset it.

1 Like