Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Increase USB communication speed #40

Open
stenbergd opened this issue May 11, 2015 · 2 comments
Open

Increase USB communication speed #40

stenbergd opened this issue May 11, 2015 · 2 comments

Comments

@stenbergd
Copy link
Contributor

The USB is configured to emulate a UART RS232 com port, currently set to communicate at 115200 baudrate. Investigate if this can be configured to higher speed since USB allows much higher data rate.

This may be needed to ensure sensor data samples etc can be transmitted with high enough sample rate.

Does the STM32 VCP Windows Driver support higher speeds? Are there alternative CDC/VCP drivers?

Windows has its own USB CDC driver for serial com: https://msdn.microsoft.com/en-us/library/windows/hardware/dn707976(v=vs.85).aspx

provides some support on developing a Windows application

USB driver buffer size 64 bytes? We can only transmit up to 64 bytes at a time?

@adam-at-epsilon
Copy link
Contributor

it seems that using snprintf, we can only use 64 bytes at a time and longer messages get fragmented.

This is by trial-and-error, the cause could either be the STM32 or Windows USB driver.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants