AnsweredAssumed Answered

USB-CDC VCP performance on STM32F4x device uisng HS mode

Question asked by lowpowermcu on Jan 25, 2014
Latest reply on Jan 27, 2014 by sung.chen_chung
Hi all,

I am using the Virtual COM port example provided by ST and I want to measure the performance according to:
 1. Polling interval for transmitting data: CDC_IN_FRAME_INTERVAL
 2. Buffer size allocated for received data over UART: APP_RX_DATA_SIZE
Do you know how to set these two parameters "CDC_IN_FRAME_INTERVAL"
and "APP_RX_DATA_SIZE" to have the best performance?
How can I measure the speed of transfering a file of 1MByte for example?
Is the USB transfer speed limited by the baudrate used in UART?

Outcomes