Other Parts Discussed in Thread: EK-TM4C123GXL
Hi
I am having troubles creating an HID device.
I am following the USB library documentation Rev. E. (https://www.ti.com/lit/ug/spmu297e/spmu297e.pdf)
Starting on 2.13.2, I followed all the way down to page 85.
There it calls 'USBDHIDMouseInit'... although the struct expected is not a tUSBDHIDDevice...
If I call it with a cast to the correct struct, it fails.
Using USBHIDInit with the same struct, without the cast, it fails as well.
It seems to fail in one of the nested functions 'USBDCDConfigGetInterfaceEndpoint(psHIDDevice->ppsConfigDescriptor[0], psInst->ui8Interface, 0, 0);'
Is there any way to debug this?
I am using code composer with TivaWare_C_Series-2.2.0.295