We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]
Rating:
Author: MIKROE
Last Updated: 2024-07-09
Package Version: 2.0.0.10
mikroSDK Library: 2.0.0.0
Category: USB
Downloaded: 138 times
Not followed.
License: MIT license
The application demonstrates USB HID functionality.
Do you want to subscribe in order to receive notifications regarding "USB HID Demo" changes.
Do you want to unsubscribe in order to stop receiving notifications regarding "USB HID Demo" changes.
Do you want to report abuse regarding "USB HID Demo".
DOWNLOAD LINK | RELATED COMPILER | CONTAINS |
---|---|---|
5487_usb_hid_demo.zip [10.08KB] | GCC for ARM Clang for ARM GCC for RISC-V Clang for RISC-V XC32 |
|
This example demonstrates HID Generic raw Input & Output. It will receive data from Host (In endpoint) and echo back (Out endpoint). HID Report descriptor uses vendor for usage page (using template TUD_HID_REPORT_DESC_GENERIC_INOUT). Connect to a USB HID terminal and send data to the connected device.
Before starting, put switches PSW and ID on your board to ON position like this:
Connect USB-C to USB connector on the right side of the board.
We provide demo code for testing USB HID functionality. For example to work, proper clock setup is needed. To create a setup with the adequate clock scheme, follow these steps: