2017-12-21 04:32 AM
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-partner2018-08-09 09:54 PM
Sorry, bumping old zombie unanswered questions off my feed