cancel
Showing results for 
Search instead for 
Did you mean: 

USB Composite Device Bug

Apisit-K
Visitor

 

I have setup a Nucleo-F103RB as a USB composite device by (CDC + HID) by modifying a STM32CubeMX CDC project. The device enumerates correctly and everything works initially, however I am encountering a strange bug where if I open a COM port to read the CDC data and then close it, the HID portion stops responding until I open the COM port again. 

Also worth mentioning I am using FreeRTOS with separate tasks for sending HID report and CDC data.

Does anybody know where to look to fix this bug?

Thanks in advance.

 

0 REPLIES 0