2011-08-14 05:27 PM
Hi everbody,
I am using Custom HID Demo for stm32f107 eval board and HID demonstrator application. When application starts, Vendor ID and Produst Id appear. I wonder these : 1. Is Vendor ID fixed for each STM32 Cortex M3 Microcontroller for ST Microelectronics (I think it is fixed). So each time it is the same? 2. Is product ID for fixed or variable for each STM32 Cortex M3 Microcontroller? Thanks in advance. Best Regards #usb-custom-id-demo-product-id2011-08-15 03:03 PM
2011-08-17 12:32 PM
When i looked Custom HID examples, it is sent 2 bytes data via reports and interrupts transfer in the data transfer. Can i send 1024 bytes(1kB) or much more for example 28kB via interrupt transfer? or Which transfer type should i use for this purpose?(Control or bulk ?). And when i looked examples in Custom HID demo, i see hid demonstrator MFC application for this purpose. I think it supports only interrupt transfer. Is there any application for bulk transfer or other transfer types in ST PC examples?
2011-08-17 12:33 PM
Thanks you in advance
Best regards2011-08-19 06:14 PM
any answer?
2011-08-20 08:04 AM
Hi,
Custom HID and HID class handles only control and interrupts transfers. For Interrupts you can send up to 64Bytes by Frame (1ms), that means you can reach 64Kbytes/s. If you need more Bandwidth, you have to use Bulk transfer to reach about 1Mbytes/s, However natively in Windows OS ( XP, Vista, 7) there is no specific class to use bulk as HID one. Therefore we can use a Third party driver, or WinUSB driver or similar ones. Cheers, STOne-32.2011-08-24 05:14 AM
Hi,
Maybe try to use USB CDC (Virtual COM port) for transfering data to the PC via USB. For CDC you have standard windows driver like for HID. I didn't work with that, but there is also ST example.Regards,Dragan2011-09-06 11:18 AM
thank u for everything. I changed the procedure for usb powered application...