hid_param.HID_EpIn_Hdlr not called

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

hid_param.HID_EpIn_Hdlr not called

1,244件の閲覧回数
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,054件の閲覧回数
johnkoning
Contributor I

Forgot to attach my code as is.

0 件の賞賛
返信

1,054件の閲覧回数
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 件の賞賛
返信