can anyone help me to get example code for USB_HID code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-04 8:23 AM
Hi,i working on USB protocol using STM32L496ZG Nucleo board.On board Vbus is showing 0v though i applied through the code.USB device(mouse interfacing) is not detecting from STM32L496ZG Nucleo board
- Labels:
-
STM32L4 series
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-05 7:46 AM
Hello @Namita​,
You can review the following article that will cover the basic steps to develop an application using the USB Custom HID Class on an STM32 as a Device:
- How to implement a USB device custom HID class on STM32 part1
- How to implement a USB device custom HID class on STM32 part2
Hope this helps you!
Imen
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-17 1:59 AM - edited ‎2023-06-17 2:03 AM
Hi @Imen.D ,I follow the steps as you given by link for STM32L496ZG ,but in SimpleHIDWrite tool stm32 custom human device is not detecting.
Kindly reply.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-06-17 3:17 AM
hUsbDeviceFS->pClassData is getting null.please guide me for initialization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-22 2:53 AM
please do help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-07-22 10:26 AM - edited ‎2023-07-22 10:29 AM
So you need a HID host, not device. Here is a USB host example for Nucleo L4:
You can also get it from the CubeL4 package installed on your machine by CubeIDE or CubeMX.
You will need to port this example to Nucleo STM32L496ZG.
