cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L0-DISCOVERY enabling debug uart connection

pradeepa
Associate II
Posted on November 23, 2017 at 16:50

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!

#stm32l0-uart #clive
0 REPLIES 0