Skip to main content
Lucky
Associate II
September 5, 2019
Question

Unable to Transmit the Data (USB CDC ) to PC (STM32L476RG Eval Board)

  • September 5, 2019
  • 0 replies
  • 682 views

Hi,

I am trying to transmit the data(USB CDC) over PC but I didn't see any message printing on Serial Putty Console. Do I need to change any configuration settings. May I know , why transmission was not happening.. I am trying to dig into deep. so could you anyone try to help me out to overcome this Problem. please find the attachment which I followed the process as per your reference.

As per attached Document, I have done and Little code to Transmit the data as mention below.

/* USER CODE BEGIN PV */

uint8_t buf[5]="TEST";

/* USER CODE END PV */

 while (1)

 {

   /* USER CODE END WHILE */

    HAL_GPIO_WritePin(LD2_GPIO_Port, LD2_Pin, GPIO_PIN_SET);

    CDC_Transmit_FS(buf, 10);

    HAL_Delay(100);

    HAL_GPIO_WritePin(LD2_GPIO_Port, LD2_Pin, GPIO_PIN_RESET);

   /* USER CODE BEGIN 3 */

 }

This topic has been closed for replies.