Open stenbergd opened 9 years ago
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.
Discussion regarding USB Speed, is 1.2 MB/s possible?
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?