AnsweredAssumed Answered

How to transmit data over ST virtual com port with USART2?

Question asked by plante.raphael on Jun 3, 2017
Latest reply on Jun 4, 2017 by plante.raphael

Platform: STM32L4DISCO

IDE: SW4STM32

 

Hi,

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?

Thanks

Attachments

Outcomes