2023-10-11 09:51 PM
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 */
2023-10-12 01:59 AM
Lacking a lot of context, but parameter syntax looks wrong.