Skip to main content
Associate
July 1, 2026
Question

STM32F446 host not read mouse

  • July 1, 2026
  • 4 replies
  • 71 views

Hello,
I created a STM32F446 host project using STM32 CubeMX to receive data from a wireless mouse.
This project works, but only with Lenovo mice. Other wireless mice are perceived as multifunctional devices.
I get debug information when I start:

USB Device Connected

USB Device Reset Completed

PID: 18hVID: 32c2hAddress (#1) assigned.Manufacturer : HS6209

Product : 2.4G Wireless Receiver

Serial Number : No.161-0047-5

Enumeration done.This device has only 1 configuration.Default configuration set.Device remote wakeup enabled

Switching to Interface (#1)Class    : 3hSubClass : 0h

Protocol : 0h

Device not supporting HID class.


​​​​​​​Is it possible to receive data from these wireless mice?

4 replies

ST Technical Moderator
July 1, 2026

Hi ​@ok_ua 

Indeed, this should be possible if the receiver exposes a HID interface with mouse reports.

If the receiver is using a vendor specific protocol rather than standard HID mouse reports, then: HID parsing may not be enough and you would need the vendor protocol details.

Can you share USB trace ?

 

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
ok_uaAuthor
Associate
July 1, 2026

Hello ​@FBL ,
I was able to count the descriptors (in the attachment).

ST Technical Moderator
July 2, 2026

Hi ​@ok_ua 

USB host classic middleware library does support only the first interface. I recommend looking at USBX host composite support instead. 

There is a USBX HID composite application mentioned for Mouse + Keyboard on STM32H747: x-cube-azrtos-h7/Projects/STM32H747I-DISCO/Applications/USBX/Ux_Host_HUB_HID_MSC at main · STMicroelectronics/x-cube-azrtos-h7

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
ok_uaAuthor
Associate
July 2, 2026

Hello, ​@FBL 
Thank you very much for your answer, I will try.