User Activity

Hi,I'm using my stm32 as a USB HID device and I would like to be able to detect when the host computer goes into sleep mode and when it resumes. How would I detect this change? I tried checking the following continuously in the main loop but detecte...
Hi,I am trying to have a DMA move one unit of data every time the timer finishes it's counting period. The DMA would be circular so it would continually do this. I am going to be moving from a buffer to the CCR register of a pwm output. I saw a HA...
I followed the custom hid example and finally got it to work, I can send 64 byte packets back and forth. The only issue now is that the device shows up as a mouse in the windows devices dialog.How can I change it to show up as a generic deviec?
I can generate code from all the USB classes and it all works expect for one.custom hid class results in a "Driver Failed" message in windows.In device manager is says: This device cannot start. (Code 10)I have no clue what is causing this. I did not...