Skip to main content
Visitor II
September 29, 2021
Question

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

  • September 29, 2021
  • 1 reply
  • 1459 views

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.

    1 reply

    Super User
    September 29, 2021

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

    arilinkAuthor
    Visitor II
    September 29, 2021

    HID polling interval parameter is 1ms

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

    Super User
    September 29, 2021

    Try 11 ms (while waiting for better answers)