This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Dear All.
I can write HID status by SPI interface and windows get the HID command.
But the status bit does not clear automatically and windows get repeated commands so much.
What duration ( ms or us) is required for sending only one HID command to OS before clearing the HID status bit.
Thanks and best regards,
Kevin.
Hi Kevin!
I also noticed that the status bits need be cleared or else it will be repeated to the host.
I wait approximately 50 ms before clearing and I've never seen a repeat. You can probably experiment with this to find a minimum interval but actual recommendations is bound to be found in the USB HID device specification. I haven't read it but it's probably a really large document...
Good luck with project!