Skip to main content
Associate
May 18, 2025
Solved

Mouse HID example fail on NUCLEO-WBA65RI

  • May 18, 2025
  • 1 reply
  • 425 views

I have tried to run the "UX Device HID Standalone" example under nucleo-wba65ri, and it doesn't seem to work.

I connected the board's via the USB connector to my PC and while it is recognized, in function USBX_DEVICE_HID_MOUSE_Task on line 160 both:

1. hid_mouse == UX_NULL

2. device->ux_slave_device_state == UX_DEVICE_ATTACHED and not UX_DEVICE_CONFIGURED as needed

 

would appreciate your support, might be imply a setup issue (I simply used a new nucleo boar and compiled and flashed the example)

Best answer by STTwo-32

Hello @Shaben and welcome to the ST Community.

I've test it using the STM32CubeWBA V1.6.1, the STM32CubeMX V6.14.1 and the STM32CubeIDE V1.18.1 and it works fine on my side. Could you please try it using the same material.

Best Regards.

STTwo-32

1 reply

STTwo-32
STTwo-32Best answer
Technical Moderator
May 19, 2025

Hello @Shaben and welcome to the ST Community.

I've test it using the STM32CubeWBA V1.6.1, the STM32CubeMX V6.14.1 and the STM32CubeIDE V1.18.1 and it works fine on my side. Could you please try it using the same material.

Best Regards.

STTwo-32