How to increase polling interval of USB Keyboard Device example?

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

How to increase polling interval of USB Keyboard Device example?

1,127 次查看
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 回复

816 次查看
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 项奖励