Search found 5 matches

by chefpro
Thu Nov 16, 2006 1:15 am
Forum: V-USB
Topic: 2 Devices with one AVR
Replies: 11
Views: 20176

Do someone have an example, how to implement this ? I was searching the half day, but I cant see where to start. Is this done with another report descriptor or is there more ? Until now this is my (not all, borrowed some) code: ... stuff char usbHidReportDescriptor[73] = { 0x05, 0x01, // USAGE_...
by chefpro
Wed Nov 15, 2006 1:46 am
Forum: V-USB
Topic: 2 Devices with one AVR
Replies: 11
Views: 20176

2 Devices with one AVR

Is there a way to simulate 2 devices with one avr ? My Problem: I want to develop a device wich is a gamepad with a led.But I dont want to develop my own gamepad driver. I want to send the report to switch led from an extern program. And the gamepad should be used from the normal gameport driver. In...
by chefpro
Tue Nov 14, 2006 11:17 pm
Forum: V-USB
Topic: How fast is Software-USB
Replies: 26
Views: 36468

Ok, thats it. I think I have reached the knowledge that I have to use another interface. Maybee I use the USART which could do the 1Mbit and use one of this USB-Serial adapters. But my last thouth is: It could be posible to drive the avr with 18Mhz or 24Mhz. ( I know it would be outside Spec ) But s...
by chefpro
Tue Nov 14, 2006 6:54 am
Forum: V-USB
Topic: How fast is Software-USB
Replies: 26
Views: 36468

I tried: uchar usbFunctionWrite(uchar *data, uchar len) { return 1; } and in the main: int main(void) { for(;;){ usbPoll(); } return 0; } which should result in fastest transfer. But it dont goes over the 5kByte/s transfer speed limit. I ...
by chefpro
Sun Nov 12, 2006 7:55 pm
Forum: V-USB
Topic: How fast is Software-USB
Replies: 26
Views: 36468

I think i tried this already: I send data to the AVR with: int ret = usb_control_msg(device, USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_ENDPOINT_OUT, USB_CMD_T6963_STREAM, 0xff, 0xff, (char *)mybuffer, bufferlen, 5000); in mybuffer is the data I send (254 byte). In the AVR is this: uch...