Transfer speed on CDC-Mode

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
givemeaname
Posts: 1
Joined: Tue Dec 09, 2008 1:17 pm

Transfer speed on CDC-Mode

Post by givemeaname » Tue Dec 09, 2008 2:35 pm

Hello,

i have a few questions about the CDC implementation of the usb-driver.

my usb-device is a monochrome LCD which receives Frames from the host.
currently i use the HID-Class to transfer data. at a blocksize of 246 Bytes i achieve a speed at ~15-18kB/s

Which transfer speed is possible in CDC-Mode? is there a way to change the baudrate?

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

Post by christian » Fri Dec 19, 2008 12:12 pm

Avoid CDC mode if at all possible. The transfer rate with AVR-USB is lower than with all other modes because it eats so much (AVR-) CPU time. And it's not compatible with many Linux kernels and Windows Vista.

Post Reply