Skip to main content
shankargowda m
Associate
August 17, 2018
Question

STM32F303 controller USB transmit and receive issue

  • August 17, 2018
  • 1 reply
  • 487 views

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

This topic has been closed for replies.

1 reply

Pavel A.
Super User
August 17, 2018

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