AnsweredAssumed Answered

STM32L0-DISCOVERY enabling debug uart connection

Question asked by senanayake.pradeepa on Nov 23, 2017

I've been struggling for two days to get the debug UART of STM32L0-DICOVERY board working.

 

I have populated the SB2, SB3 solder bridges and configured the UART1 using Cube.

 

Following are the steps I took,

 

1. Enabled USART1 in Cube

2. UART configration -> Baud 115200, Parity - None, 8 bit data length, 1 stop bit

3. GPIO configuration automatically generated from Cube

4. Added a HAL_UART_Transmit function in a while loop

5. Listened the channel using a terminal in my PC.

 

However, still I cannot get any data through the ST-LINK's VCP.

 

Is there anything I missed? Any help would be much appreciated.

 

Thanks!

Outcomes