USB HID device example

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: RoccoMarco, barthess

chibi-habibi
Posts: 4
Joined: Sat Nov 10, 2018 5:46 am

USB HID device example

Postby chibi-habibi » Mon Nov 26, 2018 3:41 am

Hello folks,

I am looking for a HID example to play around on STM32F4. I found one for Kinetis in C:\ChibiStudio\chibios182\community\testhal\KINETIS\FRDM-KL25Z\USB_HID and since Chibios has been around for long time, I am looking for some direction to get a right start. (one example on github does not compile and it would be nice if there is something more recent)

There is a CDC example for STM32 in C:\ChibiStudio\chibios182\community\demos\STM32\RT-STM32F429-DISCOVERY-DMA2D and I am not sure if it is easy to just start there, change descriptors, and add a interrupt xfer routine.

Thanks much!!

User avatar
Giovanni
Site Admin
Posts: 14457
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: USB HID device example

Postby Giovanni » Mon Nov 26, 2018 8:38 am

Hi,

Material in the community repository is not necessarily maintained, so better assume some work is required. CDC examples are available under /testhal, HID examples have been posted in the forum, you need to do a search.

Giovanni


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 37 guests