Need faster transfer speed

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

Need faster transfer speed

Post by ChinnyxD » Sun Jun 03, 2012 5:52 pm

Hello community of v-usb,

First of all, I want to say thanks for everyone who contributed developing V-usb. Keep going guys :D

To my main point, I have a question about the communication transfer speed.

I have successfully compiled and ran the example Hiddata and it seems writing to the atmega32 with an 16Mhz crystal is very slow(or its slow for me).
The writing speed from the PC to the device is about 300Bytes/s and it just doesn't cut for me.

Why? because we are making a LED cube of 16x16x16 with 2 colors. Therefore I need 16x16x16x2 bit = 8192 bit = 1 KB for one frame and then running at 10fps which will be around 10 KB/s of data streaming.

Is there any way to speed up the transfer speed? or maybe a existing code that will be suffice to this project?

Thanks

ChinnyxD

Re: Need faster transfer speed

Post by ChinnyxD » Tue Jun 05, 2012 8:55 am

I have found my answer elsewhere in the forum, which has helped me alot:

viewtopic.php?f=8&t=6048

With this i can send 128 bytes in 4 - 5 ms which is good enough for us.

If I have time left, i will post our project(Interactive 16^3 cube) on this forum with a video of course!

Why is it interactive? because you can play games like 3D pong against each other!

Wish us luck ^^

himanshu150891
Posts: 2
Joined: Thu Aug 23, 2012 2:28 pm

Re: Need faster transfer speed

Post by himanshu150891 » Thu Aug 23, 2012 3:01 pm

hi
i am having same problem can you help me in resolving it
please show me some way???

Post Reply