cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F41xx USB CDC Transmit Problem

Shail Shah
Associate II
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
1 REPLY 1

Sorry, bumping old zombie unanswered questions off my feed

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..