cancel
Showing results for 
Search instead for 
Did you mean: 

Transfer data from PC to STM32 using USB HID

Ted NIVAN
Associate II
Posted on November 03, 2017 at 20:15

Hi there,

I've developed a USB HID mouse with the STM32F103C8T6 using STM32CubeMX and Keil uVision 5.

Everything works fine so far (I've used the default mouse descriptor generated by CubeMX).

But now, I've added a LED to the mouse and I'd like to turn it on from my PC.

I've already made a python program that turns a LED on connnected to the STM32 through USB HID.

However, I wasn't able to make a whole program that manages both mouse and LED.

  1. Do you know how could I make this work?
  2. How should I define the mouse descriptor to handle the LED?

Peace

#keil-uvision5 #stm32f103c8t6 #stm32cubemx #usb-hid #stm-32 #custom-usb-hid-device #usb-hid-mouse-device #stm32cubemx(hal)
0 REPLIES 0