cancel
Showing results for 
Search instead for 
Did you mean: 

Send/Receive data over USB on STM32H563 Nucleo

RKOAS
Associate II

need to transfer some string to PC via USB config. Here am implementing simple code here. But no responses in hyper terminal. Kindly help me. Am using Nucleo-STM32H563ZI board.

//=======================================

while (1)

{

/* USER CODE END WHILE */

/* USER CODE BEGIN 3 */

HAL_PCD_EP_Transmit(&hpcd_USB_DRD_FS, *data, data, 10);

HAL_GPIO_TogglePin(LED_GPIO_Port, LED_Pin);

HAL_Delay(1000);

}

/* USER CODE END 3 */

1 REPLY 1

Lacking a lot of context, but parameter syntax looks wrong.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..