Hi all, hope things are going well.
I'm trying to get my Tiva C (123G) board to interact with a PC as a Raw HID Device. I've searched through the forum and have found a few relevant posts. Mostly just advice on trying to get CDC to work, using bulk transfer, or reworking the keyboard example. CDC and bulk transfer are not an option, unfortunately, and I need some help converting the keyboard example.
The Raw HID Descriptor looks like this:
// RAW 16-BYTE I/O 0x06, 0xAB, 0xFF, // Usage Page (Vendor-Defined 172) 0x0A, 0x00, 0x02, // Usage (Vendor-Defined 512) 0xA1, 0x01, // Collection (Application) 0x85, 0x04, /* REPORT_ID (4) */ 0x75, 0x08, // Report Size (8) 0x15, 0x00, // Logical Minimum (0) 0x26, 0xFF, 0x00, // Logical Maximum (255) 0x95, 0x10, // Report Count (16) 0x09, 0x01, // Usage (Vendor-Defined 1) 0x81, 0x02, // Input (Data,Var,Abs,NWrp,Lin,Pref,NNul,Bit) 0x95, 0x10, // Report Count (16) 0x09, 0x02, // Usage (Vendor-Defined 2) 0x91, 0x02, // Output (Data,Var,Abs,NWrp,Lin,Pref,NNul,NVol,Bit) 0xc0, // End Collection
Which I got from this link
My plan is to convert the keyboard example with the above descriptor, but the part I'm stuck on (I don't know where to begin, maybe the CDC example?) is how to receive data back from the PC. If anyone has any Raw HID pointers, I'll definitely take them!
Thanks,
Duane Bester