hid_param.HID_EpIn_Hdlr not called

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

hid_param.HID_EpIn_Hdlr not called

658 Views
johnkoning
Contributor I

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.

Labels (4)
0 Kudos
2 Replies

470 Views
johnkoning
Contributor I

Forgot to attach my code as is.

0 Kudos

470 Views
jeremyzhou
NXP Employee
NXP Employee

Hi John Koning,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.
To provide the fastest possible support, you can refer to the USB ROM demos in the LPCOpen library.
Have a great day.

TIC

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos