x-cube-azrtos-f4 icon indicating copy to clipboard operation
x-cube-azrtos-f4 copied to clipboard

USBX CDC ACM There is a problem with ux_device_class_cdc_acm_write

Open arilink-tech opened this issue 4 years ago • 1 comments

I ported ThreadX and USBX on STM32F105RBT6. The USBX HID works well. When I try to use USBX CDC, the problem arises. I am using The USBX sample app of x-cube-azrtos-f4. When I use the USB virtual serial port to send data to the serial port 3, everything is normal. When I use the serial port 3 to receive data and send it to the USB virtual serial port, the problem occurs. When the data exceeds a certain amount, HAL_UART_RxCpltCallback () It can still trigger and receive data from the serial port, but ux_device_class_cdc_acm_write does not work properly. Why?

arilink-tech avatar Oct 15 '21 07:10 arilink-tech

Hi there, this is probably the same issue as this one

https://github.com/STMicroelectronics/x-cube-azrtos-h7/issues/21

This issue also exits on F4, i made a fix in the issue which you can try.

chr-btz avatar Jul 07 '22 08:07 chr-btz