USB HID Device Input/Output Interrupt Channel

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

USB HID Device Input/Output Interrupt Channel

3,821件の閲覧回数
BaldaufJ
Contributor I

Hello,

has anyone out of the Hid Mouse M2259 Demo, built an additionally output interrupt channel. I need advise or maybe an examble how to set up the descriptors, the reports, and how to receive the data. Thanks a lot for your help.

 

Best regards 

ラベル(1)
タグ(1)
0 件の賞賛
返信
3 返答(返信)

1,076件の閲覧回数
JuroV
NXP Employee
NXP Employee

Hi BaldaufJ,

 

in fact you need additional MQX USB device HID driver to write, based on original USB-HID. All descriptors are in descriptors.c. It really depends on your specific requirements how to setup report descriptor

0 件の賞賛
返信

1,076件の閲覧回数
BaldaufJ
Contributor I

Hi JuroV,

 

Thank You for your massage. 

I implement all needed descriptors. As soon as I implement the report descriptor for the output data, I cannot send or receive any data of the payload (before I could send Data to the Host). But the usb analyzer says that all of descriptors were right and has been accepted by the host. Have you got an idea, what the problem could be? And were will the data be received? Is it in the set_Report part or have i to implement my own receive Data function. Thanks again for your help!

0 件の賞賛
返信

1,076件の閲覧回数
JuroV
NXP Employee
NXP Employee

It's difficult to find a problem in a case that, as you say, everything is ok. In fact I have not ever experienced with HID device having INTERRUPT OUT descriptor.  What can be problem: have you enumerated the INTERRUPT OUT endpoint in the config descriptor? Or, are you sure that a host really needs to send you an interrupt?

 

0 件の賞賛
返信