2025-09-16 1:17 AM - last edited on 2025-09-16 1:36 AM by Andrew Neil
Hello,
I made a simple USB HID keyboard with a STM32F042 in bare metal (no HAL, no LL). Everything works great. Including LEDs and media key support.
The only strange thing I am observing is that windows and linux are both sending the LED report twice in a row (the second one comes directly after the minimum poll ~10ms later). The first report is always 0x01 and the second one is the actual state of the LEDs. Now I could implement a "filter" but I was wondering if this is normal behavior? Or could I have an issue in my descriptor?
Thanks
Kind regards