Can the USB CSL be configured as a standard HID device? If so, can someone provide guidance on how to do this? I would like to use the standard Windows HID drivers instead of custom ($$) drivers.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Can the USB CSL be configured as a standard HID device? If so, can someone provide guidance on how to do this? I would like to use the standard Windows HID drivers instead of custom ($$) drivers.
I've had to port USB HID Device code from C5507 CSL to an OMAP-L137. So...I would guess that a C5000 can be configured as a USB HID. For that matter, the USB CSL code is so low level that any USB Class could implemented. Just a lot of code to handle all the messages. Some references:
http://processors.wiki.ti.com/index.php?title=C5000_Chip_Support_Library#Q:_Does_the_CSL_support_USB_HID.3F
http://processors.wiki.ti.com/index.php/C5000_Connected_Audio_Framework
http://focus.ti.com/docs/toolsw/folders/print/c55x-audioframework.html
Unforunately, the Audio Framework looks to use BIOS which might mean the code does not use CSL. On the Windows side, there are some free DLLs and utilities to help you connect to a HID device. Ideally, you would probably have use Microsoft's DDK/WDK.
Norman,
Thanks for the ->pointers....:)
I missed the FAQ on the Wiki that says the CSL does not support HID. It appears to me that the CSL is very closely tied to the $Jungo$ driver. I prefer not to use Jungo. I also don't want to use BIOS (i.e. audio framework) for my C55xx apps since my OMAP BIOS experiences were/are so painful. What I would really like to see is for someone at TI to take the ultra-simple and *functional* mouse example from Spectrum Digital and add HID functionality to it. This code works "out of the box" and is the first and only USB code I've been able to get working on a TI product. I've shipped thousands of products based on Microchip's open and flexible (and supported) USB framework. It appears that open, available, and supported USB code is an achilles heel of TI devices (/rant).
Norman Wong said:On the Windows side, there are some free DLLs and utilities to help you connect to a HID device. Ideally, you would probably have use Microsoft's DDK/WDK.
Yes, I've got the Window's side covered.
My impression is that BIOS, BIOSPSP with CSLr macros, and BIOSUSB aka Jungo are in one group. Unknown if Jungo uses the CSLr macros to implement it's stack. The HID class is one of the few classes that Jungo does support. TI's appears to be committed to this direction. I was eventually forced to use the OMAP ARM and Linux for USB functionality.
The older CSL appears to be deprecated. The newer C5000s seem to dropping CSL for the BIOS route.
I have not seen the Spectrum Digital "mouse" example. Altering a "mouse" HID example to a custom HID shouldn't too bad. Assumes that all the setup and message handling have all been stubbed out.
Norman,
Norman Wong said:Altering a "mouse" HID example to a custom HID shouldn't too bad. Assumes that all the setup and message handling have all been stubbed out.
Good point. There are quite a few stubbed out routines, but as you say, it might be the best place to start for a simple HID application. Thanks for the thoughts.