Skip to main content
arilink
Associate III
September 29, 2021
Question

HID IN data transmission frequency is only about 10 times per second

I used ThreadX and USBX in the project. When I only use USB as a HID Device, STM32 can transmit data to the PC 1000 times per second, but when I use USB as a CDC+HID composite device, the transmission frequency of HID is greatly reduced. Will increasing the CDC only 10 times per second affect the transmission frequency of HID? Why is there such a phenomenon?

This topic has been closed for replies.

6 replies

Pavel A.
September 29, 2021

Check the HID polling interval parameter in the device HID descriptor.

arilink
arilinkAuthor
Associate III
September 29, 2021

HID polling interval parameter is 1ms

/*amended by moderation, please do not share your personal information in your posts*/  

Pavel A.
September 29, 2021

Try 11 ms (while waiting for better answers)