V-USB speed

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
metRo_

Re: V-USB speed

Post by metRo_ » Thu Sep 24, 2009 12:23 am

Can you tell me if i'm correct:

using serial port at 115.2 kbits

115.2 kbits / 8 = 14.4 kBytes

Use an ADC with 10bits i need 2 bytes to send a sample from micro to pc, so 14.4 KBytes / 2 = 7,2K samples per second?

That is the maximum rate of samples from micro to pc?!

christian
Objective Development
Objective Development
Posts: 1443
Joined: Thu Nov 09, 2006 11:46 am

Re: V-USB speed

Post by christian » Thu Sep 24, 2009 1:28 pm

For a serial port, yes. Except that you must divide by 10 instead of 8 due to start and stop bits.

For USB, look at the figures people report, or make your own experiments. It's hard to predict how fast V-USB will be in a particular application.

Post Reply