AnsweredAssumed Answered

dev_hid_generic_freertos_twrk65f180m with multiple end points

Question asked by Kirk Clendinning on Apr 8, 2016
Latest reply on May 18, 2016 by Iva Susnova

I am trying to add end points to the usb example, dev_hid_generic_freertos_twrk65f180m. I added end points to the descriptor and indeed, the TWR-K65F180M enumerates, correctly for all of the end points. However, when trying to send USB messages, only the first set of end points, 0x01 and 0x81 cause the USB_DeviceGenericCallback() method to be called.

 

In addition, even if the USB_DeviceGenericCallback() were called for all of the end points, I don't see from its arguments class_handle_t handle, uint32_t event and void *param, for which end point the call was made.

 

Is there an HID example that I've missed, which illustrates more than a pair of end points? If not, perhaps someone with more insight into the Kinetis USB middleware stack could point me in the right direction.

Outcomes