How to send data over USB using Nucleo-L053R8 ?
Hi community,
I am trying to use a Nucleo-L053R8 board to send data over USB without much success. The purpose of my project is simply to test the USB communication by sending string over USB Port as a first step before sending the sensor data. When I call the function CDC_Transmit_FS, hcdc is always in a busy state. After some debug, I found out that (USBD_CDC_HandleTypeDef*)hUsbDeviceFS.pClassData in usbd_cdc_if.c is always NULL, as if it has never been initialized.
I am using STM32CubeIDE version: 1.11.2 on a WIndows 11 Laptop.
Has anyone experienced this kind of issues with this configuration ? Any help would be appreciated .
