Question
USB interface association descriptor
Posted on February 18, 2014 at 09:39
Hello,
I have made a 'two-in-one' device using an USB interface association descriptor: a generic HID, and a streaming audio device. Everything is working as expected, but the device is unstable. When fetching data from both interfaces in a loop, after a while (sometimes seconds, sometimes minutes or hours) it will crash (hard fault). I have already checked the obvious (NVIC interrupt priorities, disabling all but the essential interrupts). Are there any places where I should add additional mutexes because of the use of USB IAD? USB firmware library is v3.3.0. Thanks!