Search found 1134 matches

by christian
Thu Nov 16, 2006 9:52 am
Forum: V-USB
Topic: 2 Devices with one AVR
Replies: 11
Views: 13130

You don't need two HID descriptors, just one with a collection around two functions. I must admit that I never understood the fine details of USB descriptor parsing and always experimented until the operating system accepted the descriptor. If you can find a composite device (e.g. keyboard with trac...
by christian
Thu Nov 16, 2006 12:01 am
Forum: V-USB
Topic: Can not use for ATMega16 and ATMega32?
Replies: 7
Views: 10551

AVR-USB works well with the ATMega16 and 32. However, the fuse bits differ from device to device. This means that you can't simply use fuse bit values from an example device for one of the bigger ATMegas.
by christian
Wed Nov 15, 2006 12:38 pm
Forum: V-USB
Topic: 2 Devices with one AVR
Replies: 11
Views: 13130

You don't need two devices, a composite device with two HID functions should be sufficient. Please see the USB HID specification how to build a report descriptor for a composite device. Or have a look at the report descriptor of a combined keyboard/mouse device.
by christian
Tue Nov 14, 2006 11:38 pm
Forum: V-USB
Topic: How fast is Software-USB
Replies: 26
Views: 28489

You don't need a higher clock rate to lift the 254 bytes limit. That's only an optimization to save code size since we can store the message size in a byte. However, increasing the message size won't buy you much. Currently, assuming that you do 254 byte transfers, the number of transactions is 1 x ...
by christian
Tue Nov 14, 2006 10:11 am
Forum: V-USB
Topic: How fast is Software-USB
Replies: 26
Views: 28489

OK, then this is probably the practical limit with the software driver. Maybe you get more with a different host operating system or driver, maybe not.

If anybody gets better results, please post them here!
by christian
Mon Nov 13, 2006 11:37 am
Forum: V-USB
Topic: Drivers for new computers...
Replies: 2
Views: 6116

Did you insert a 3.3 V regulator in the processor's supply or take other measures to reduce the voltage levels on D+ and D-? There are chipsets which accept 5 V levels on USB and others where the input comparator's common mode range is exceeded. These other chipsets don't accept 5 V levels. If you d...
by christian
Sun Nov 12, 2006 12:09 am
Forum: V-USB
Topic: How fast is Software-USB
Replies: 26
Views: 28489

I don't have figures at hand, but the driver can be much faster. As far as I remember, it gets close to the theoretical limit of low speed USB (which is MUCH less than the 1.5 Mbit low level transfer rate). For optimum performance, please use control transfers of at least 128 bytes in size. Although...
by christian
Fri Nov 10, 2006 10:42 am
Forum: V-USB
Topic: New Project: USB-Servo
Replies: 0
Views: 5126

New Project: USB-Servo

I've added another project to the projects page: USB-Servo demonstrates how servos (as they are used in remote controlled vehicles) can be controlled via USB. See http://www.obdev.at/products/avrusb/projects.html for details.
by christian
Thu Nov 09, 2006 11:51 am
Forum: V-USB
Topic: New Project: i2c-tiny-usb
Replies: 0
Views: 4007

New Project: i2c-tiny-usb

I have added a new project to http://www.obdev.at/products/avrusb/projects.html : An I2C bus interface.

There are many chips with I2C bus interface available especially sensors. If you want to build an USB based sensor, this is a cheap and simple solution.