hid_param.HID_EpIn_Hdlr not called

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

hid_param.HID_EpIn_Hdlr not called

1,245 次查看
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.

标签 (4)
0 项奖励
回复
2 回复数

1,055 次查看
johnkoning
Contributor I

Forgot to attach my code as is.

0 项奖励
回复

1,055 次查看
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 项奖励
回复