How to increase polling interval of USB Keyboard Device example?

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

How to increase polling interval of USB Keyboard Device example?

2,087件の閲覧回数
omkar_ppk
Contributor II

I am currently using USB Keyboard Device example from MQX 4.2.0. I have successfully integrated this example into current MQX 4.0.0 and I am able to send data to my laptop on USB port. The only problem I am facing is it is continuously sending NULL keys when no key is pressed causing unwanted traffic on USB bus. When I checked packets coming from standard USB keyboard on Wireshark, it does not send anything unless any key is pressed. How do I make the Keyboard example work like standard keyboard? I suspect this is the issue with the initialization of USB device.

Thanks!

ラベル(1)
0 件の賞賛
返信
1 返信

1,776件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

Hi Omkar:

USB bus polling interval of interrupt transfer is configured in USB device (Endpoint) descriptor (bInterval parameter).

Regards

Daniel

0 件の賞賛
返信