2017-11-23 07:50 AM
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