cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F303 controller USB transmit and receive issue

shankargowda m
Associate II

Hi ST team, Any solution currently available from your side . This issue causing trouble for the project using ST controller. we selected ST because of availability of peripheral stacks. Please update as early as possible

1 REPLY 1
Pavel A.
Evangelist III

Are you referring to your post on May, 21?

Then the answer is - do not call CDC_Transmit_FS concurrently, it is not reentrant. Use some flag or lock to avoid collision. Then, consider that the transmission takes time. Until it's complete (returned USBD_OK), wait before sending next data (buffer it somewhere). Hope it helps,

-- pa