How to increase polling interval of USB Keyboard Device example?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to increase polling interval of USB Keyboard Device example?

1,084 Views
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!

Labels (1)
0 Kudos
1 Reply

773 Views
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 Kudos