I am using Sensortile/box STEVAL-MKSBOX1V1. I have connected the device using NUcleo F401RE board for realtime debugging. How I shall enable Virtual Com Port
I Have configured as shown in the picture , How should I enable the Virtual Com port,. My intention is evaluating all the sensors and push the data to Virtual COM Port.
- I am writing program for I2C_TempSensor - STTS22H , for that I have configure from the port based on the circuit
USART1 – Pin No PA9 – Rx and PA10 Tx
is used for ST-LINK So we shall use this for virtual COM Port
#include "string.h"
int main(void)
{
/* USER CODE BEGIN 1 */
uint8_t buf[12];
/* USER CODE END 1 */
while (1)
{
/* USER CODE END WHILE */
strcpy((char*)buf, "Hello!\r\n");
HAL_UART_Transmit(&huart1, buf, strlen((char)*buf), HAL_MAX_DELAY);
HAL_Delay(500);
/* USER CODE BEGIN 3 */
}
/* USER CODE END 3 */
}
controller STM32L4R9ZIJ6
So before proceeding I tried to display Hello using teeraterm , but no output seen
