Search found 29 matches
- Wed Apr 22, 2009 4:42 pm
- Forum: V-USB
- Topic: alternative to usbSetInterrupt with HID
- Replies: 5
- Views: 5833
Re: alternative to usbSetInterrupt with HID
Finally i've decided to use Custom class device. I am not sure about the following code, but i am sharing it (maybe someone will tell me that it's not good). I can send 12 bytes in 8 ms and the speed of main() { } is not affected when i don't care about sending important value, avoiding this: In ord...
- Wed Apr 22, 2009 4:26 pm
- Forum: V-USB
- Topic: Vendor type requests sent to custom HID class template
- Replies: 2
- Views: 2984
Re: Vendor type requests sent to custom HID class template
Thank you Christian. Using a HID Descriptor with a custom class prevents the "New Device" dialog on Windows. However to access it as a custom class device, you need to install the driver. Here's how to do it with InnoSetup, taken from libusb-win32-device-bin-0.1.12.1/examples/driver_instal...
- Mon Apr 20, 2009 11:43 pm
- Forum: V-USB
- Topic: Vendor type requests sent to custom HID class template
- Replies: 2
- Views: 2984
Vendor type requests sent to custom HID class template
hi everyone, after reading: m i came to the conclusion that my project would benefit from using the following USB Device Class: Vendor type requests sent to custom HID class device i am looking for a template / project that use this method! here's what i have discovered so far: usbconfig.h #define U...
- Mon Apr 20, 2009 4:29 am
- Forum: V-USB
- Topic: alternative to usbSetInterrupt with HID
- Replies: 5
- Views: 5833
alternative to usbSetInterrupt with HID
Hi everyone, I hope someone will take the time to enlight me. I want to avoid installation of a driver, so i am using HID (joystick). I am running V-USB on an atmega164p @ 20 mhz. My reportBuffer is 12 bytes. This is how i send the report: while (!usbInterruptIsReady()) { wdt_reset(); usbPoll(); } u...
- Sat Apr 11, 2009 2:02 am
- Forum: V-USB
- Topic: USB MIDI Interface
- Replies: 93
- Views: 458004
Re: USB MIDI Interface
hi martin, i am very happy to say that i am now using an atmega164p (new version of atmega16). it's cheaper and faster (20 mhz). i want to ask you a question about optimization for the usb communication. here's my function that send the noteon, noteoff: void usbsend(unsigned char note, unsigned char...
- Sun Mar 22, 2009 6:49 pm
- Forum: V-USB
- Topic: 12 mhz vs 20 mhz
- Replies: 2
- Views: 3306
12 mhz vs 20 mhz
hi,
i searched the forum for an answer, but found nothing. my question is really basic:
if i use a 20 mhz clock instead of 12 mhz, does it means that the rest of the processing will be faster?
pat
i searched the forum for an answer, but found nothing. my question is really basic:
if i use a 20 mhz clock instead of 12 mhz, does it means that the rest of the processing will be faster?
pat
- Sun Feb 01, 2009 11:00 pm
- Forum: V-USB
- Topic: USB MIDI Interface
- Replies: 93
- Views: 458004
hi horo, thank you very much, i am working hard to learn avr, obdev usb firmware and the midi protocol. i have successfully added a midi out to your project using the code from this project: m how to specify the midi channel in your code: midiMsg[0] = 0x09; midiMsg[1] = 0x90; midiMsg[2] = 36; midiMs...
- Sun Jan 18, 2009 9:28 pm
- Forum: V-USB
- Topic: USB MIDI Interface
- Replies: 93
- Views: 458004
- Thu Jan 15, 2009 8:37 pm
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17019
- Thu Jan 15, 2009 7:04 am
- Forum: V-USB
- Topic: Continously sampling via ADC, how to start
- Replies: 15
- Views: 17019
- Fri Dec 05, 2008 9:23 pm
- Forum: V-USB
- Topic: Free Running Mode possible?
- Replies: 3
- Views: 4837
it's true, i am new to avr so it might be my code //sbi(ADCSRA, ADIE); //Enable ADC conversion complete interrupt working ([ 2732.974342] usb 3-1: configuration #1 chosen from 1 choice) sbi(ADCSRA, ADIE); //Enable ADC conversion complete interrupt not working ([ 2720.042034] usb 3-1: device not acce...
- Fri Dec 05, 2008 9:35 am
- Forum: V-USB
- Topic: Free Running Mode possible?
- Replies: 3
- Views: 4837
Free Running Mode possible?
hi all, from the datasheet (in my case atmega16): Using the ADC Interrupt Flag as a trigger source makes the ADC start a new conversion as soon as the ongoing conversion has finished. The ADC then operates in Free Running mode, constantly sampling and updating the ADC Data Register. The first conver...
- Sun Nov 16, 2008 6:13 am
- Forum: V-USB
- Topic: zener 3.6 500mW / 12mhz crystal digikey confirmation
- Replies: 2
- Views: 4048
- Sat Nov 15, 2008 9:55 pm
- Forum: V-USB
- Topic: zener 3.6 500mW / 12mhz crystal digikey confirmation
- Replies: 2
- Views: 4048
zener 3.6 500mW / 12mhz crystal digikey confirmation
hi all,
anyone can have a look at my digikey order?
crystal 12 mhz:
http://search.digikey.com/scripts/dksea ... me=X058-ND
zener diode 3.6 500mW:
http://search.digikey.com/scripts/dksea ... 7B-TPCT-ND
i read that 250mW is better, but non-stock... or only surface mount.
thanks for your time
anyone can have a look at my digikey order?
crystal 12 mhz:
http://search.digikey.com/scripts/dksea ... me=X058-ND
zener diode 3.6 500mW:
http://search.digikey.com/scripts/dksea ... 7B-TPCT-ND
i read that 250mW is better, but non-stock... or only surface mount.
thanks for your time