Search found 7 matches

by Madara
Tue Oct 01, 2013 7:05 am
Forum: V-USB
Topic: transfering more interrupt in data
Replies: 3
Views: 2808

Re: transfering more interrupt in data

The maximum data payload size is 8 bytes for Control transfers as well.However we are able to transfer upto 254 bytes in VUSB by transferring them in a chuncks of 8 bytes in single control requests. I was wondering if this could be done for interrupt tranfers as there is a little description as &quo...
by Madara
Mon Sep 30, 2013 10:10 am
Forum: V-USB
Topic: transfering more interrupt in data
Replies: 3
Views: 2808

transfering more interrupt in data

I need to transfer 64 bytes of Interrupt In transfer to PC via AVR. The function usbSetInterrupt is able to transfer only 8 bytes at a time.Using it 8 times to transfer 64 bytes does not seem to be a solution. There is a line in usbdrv.h " If you need to transfer more bytes, use a control read ...
by Madara
Mon Sep 30, 2013 10:01 am
Forum: V-USB
Topic: changing the device class while running
Replies: 7
Views: 3671

Re: changing the device class while running

It is possible to change between two device class without plugging the device out. This can be done by making the device descriptors,configuration descriptors,hid descriptors,strings,serial etc all dynamic and selecting them according to the state of any specific key and change them when the key sta...
by Madara
Sun Jul 01, 2012 6:47 pm
Forum: V-USB
Topic: Disable Usb Interrupts
Replies: 2
Views: 11756

Disable Usb Interrupts

http://forums.obdev.at/viewtopic.php?f=8&t=3059&p=10404&hilit=+interrupt#p10404 Above forum link says it is possible to disable usb interrupts as long as 50ms and yet stay connected to the host.Can anyone show me ways to do it... I am doing similar project mentioned with no good samplin...
by Madara
Fri Jun 29, 2012 6:11 pm
Forum: V-USB
Topic: Interrupt driven Adc and vusb in atmega8
Replies: 3
Views: 3463

Re: Interrupt driven Adc and vusb in atmega8

Found soln in other posts of the forum.....thanx to vusb team
by Madara
Fri Jun 29, 2012 6:11 pm
Forum: V-USB
Topic: Interrupt driven Adc and vusb in atmega8
Replies: 3
Views: 3463

Re: Interrupt driven Adc and vusb in atmega8

I am trying to make usb based oscilloscope.USB startups and data transfers work well.However on starting adc channel it throws an usb error "-5". and the code works sometimes too.. The code is: #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <avr/wdt.h> #in...
by Madara
Fri Jun 29, 2012 1:45 pm
Forum: V-USB
Topic: Interrupt driven Adc and vusb in atmega8
Replies: 3
Views: 3463

Interrupt driven Adc and vusb in atmega8

I am trying to make usb based oscilloscope.USB startups and data transfers work well.However on starting adc channel it throws an usb error "-5". and the code works sometimes too.. The code is: #include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> #include <avr/wdt.h> #inc...