AnsweredAssumed Answered

hid_param.HID_EpIn_Hdlr not called

Question asked by John Koning on Dec 7, 2017
Latest reply on Dec 8, 2017 by John Koning

I've implemented the core functions of the LPC11u24. Device enumerates correct, however transmitting reports is a problem.

As far as I understand the EP handler registered with "hid_param.HID_EpIn_Hdlr" should be triggered, each time the host

polls the device. This isn't the case now. If I call USBD_API->hw->WriteEP from within the main, the handler will be called, what I didn't expect.
So is the scenario:

host polls -> trigger EP handler -> write to endpoint

or

write to end point -> trigger EP handler

In case of the first, what goes wrong.

Outcomes