2011-10-25 11:54 AM
Hi all,
I am am currently working on a system whereby we would like to stream event generated data at rates of 100Mbit/s+ across the usb to a debug terminal on the host. We are using the STM32F207 device and its HS USB port. Starting with the example virtaul com port code provided by ST I was able to remove the UART and then access the circular buffer APP_RX_DATA to implement my code. However the data rates I seem to be getting are: 1. varied (im guessing an OS issue on the PC. 2. Reasonably slow 11-14Mbits/s Am I trying to do something that is not possible here? If so is there a better way of doing this? Thanks for your help in advance. #stm32f207-cdc-virtualcom-usb2011-10-26 05:56 AM
to do this I'd set everything at max and code ''ready tests'' wherever applicable.
nothing goes ready before it is done and thus max speed with wait for ready will give you the highest throughput you can possible achieve.2011-10-26 07:27 AM
2011-10-26 08:08 AM
2011-10-26 08:36 AM
Am I trying to do something that is not possible here? If so is there a better way of doing this?
Somehow I think a Mass-Storage Device (bulk), or a streaming video source (isochronous), would seem to be a better model.
2011-10-26 02:43 PM
Hi Clive1,
Thank-you for the reply. You are correct, streaming using the audio class would be a more suited option but (i believe) this would require work at the windows driver end which is not an option in my case. What are your thoughs on the Virtual com method? should it be possible (if not ideal) and have you seen this done before? Cheers, Gareth