custom usb device based on hid class
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-11-30 3:59 PM
Posted on December 01, 2016 at 00:59
Hi!
I'm developing a project on stm32f4discovery whit stm32f4407vgt6 MCU. I want to develop a USB code based on hid class that can receive my command and data from PC and send another command and data to PC but not in periodic time I use hid class from STM-CUBE-MX and STM-cube-F4 but that is a mouse sample, I develop a custom hid too, but I get command and data from PC in periodic time by HAL_delay(); function in while(1) of main(). how can I detect receive of new buffer from PC without periodic read buffer? for example can I use a interrupt on input endpoint when a data is receive from PC or not? thanks!
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-03-23 8:10 AM
Posted on March 23, 2018 at 16:10
Hi,
Were you able to solve this problem? Would be great if you can post your solution.
