2016-11-30 03:59 PM
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!2018-03-23 08:10 AM
Hi,
Were you able to solve this problem? Would be great if you can post your solution.