Posted on February 10, 2016 at 10:49Hi, I'm using the CDC class driver version 2.4.1 and made the following changes to the usbd_cdc_if.c template: Since the provided CDC_Transmit_FS function tries to transmit the packet forever, i.e.do { result ...
Posted on December 22, 2015 at 10:18Hi, I just created a new project for a STM32F103 MCU using CubeMX 4.12.0 and the firmware package 1.2.0 for the F1 family and came across two little issues. In Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src...
Posted on February 12, 2016 at 16:20Hi, I know this is an old thread, but I'm experiencing a similar problem at the moment using the USB CDC class driver v2.4.1. My software sends data chunks (11 bytes each) from the STM32 to the PC at a frequency o...
Posted on February 10, 2016 at 15:10I found the solution: The CDC_Init_FS function was the wrong place to wait. Instead, one has to look for the CDC_SET_CONTROL_LINE_STATE command. It's just a pity that the wValue field of the USBD_SetupReqTypedef s...