2011-11-12 05:13 AM
Hello
I am editing Custom HID example (with LEDs and buttons). I extended max frame length to 32B. There is implemented control and interrupt transfer. This causes maksimum transfer can be only up to 64kB/s. Is possible to implement bulk transfer instead of interrupt transfer? In HID documentation I read HID works with coltrol and interrupt transfer but I think over possibility of compatibility HID and bulk. #usb-hid-bulk2011-11-14 01:10 AM
You should use some other class then, like CDC.
2011-11-14 02:21 AM
Hello,
I'm currently reading ''USB Complete Forth Edition'' which is really good up to now ;)HID class requires interrupt endpoint by specification, so officially no you can't.Now is the windows driver able to handle that, not sure at all.The ''right'' solution is to implement another class. HID is for Humain Interface Device (Mice, Keyboards) and thus is supposed to require fixed interval polling.VCP is probably a good option too, but it requires a specific driver (no built-in driver in Windows) ... I guess this is why you would like to use HID, I'm in the same situation ;)Thomas.2011-11-16 07:09 AM
Hello,
I want to implement a messaging system between Windows and an embedded system based on a STM32 using USB a transport system.Therefore I'm looking for the simplest way to transfer messages via USB between Windows and the embedded system, i.e. without developing a WIndows Device Driver for the USB data transfer.Currently I have WinUSB in mind.
Have someoneexperience with WinUSB in connection with a vendor specific interface class?
Holger2011-11-18 12:10 AM
Thx HGlauS
This WinUSB looks nice: http://msdn.microsoft.com/en-us/windows/hardware/gg487341 . I have problem because I can't transfer data to my device by WriteFile and ReadFile, they always works in interrupt mode. Now I think i will try to use this driver to transfer data in control mode to HID or in bulk mode to VCP.