Question
STM32F41xx USB CDC Transmit Problem
Posted on December 21, 2017 at 13:32
Hello,
In STM32F41xx, we are facing the problem to send data to PC. Actually we are using CDC_Transmit_FS function to send 60 bytes data to PC. But code getting stuck in if (hcdc->TxState != 0) return USBD_BUSY; } and it's not able to transmit packet using USBD_LL_Transmit function.
Question:
What could be the possible reason for this?
How to solve this problem?
Is it interrupt priority problem?
Is any thing need to change in HAL Library?
Thanks and regards,
Shail Shah
#usb-fs-cdc #stm32f4 #stm #usb-cdc-cdc_transmit #st-community #usb-fs-device_lib #usb-device #st-partner