I used CubeMx to configure the USART2 with the following parameter
- Baud rate: 115200
- Word lenght 8 bits
- Parity none
- Stop bits 1
I used Putty as the serial terminal with the COM3 wich is the COM port that I saw on my device manager.
I used the HAL command
HAL_UART_Transmit(&huart2, (uint8_t*)"Hello", 6, 10000);
But I don't see anything on the terminal. Is there something else I need to do before being able to send data to the terminal?