Hi all,
In my project, I have had for a long time problems with a USB interrupt firing at reset of the DSP (when plugged in, restarted etc.).
At reset, there's always an interrupt on the interrupt OUT endpoints causing the interrupt OUT data handlers to be executed.
I work with the C5509A. When a USB_postTransaction is performed I realize that the data is 0. Therefore I was able to perform some kind of work around for this issue.
Only now I have realized, that my interrupt IN and OUT endpoints are not initialized in the same way.
There is only the USB_EVENT_EOT flag for interrupt IN endpoints, but there is USB_EVENT_EOT|USB_EVENT_RESET for interrupt OUT endpoints.
When I delete the USB_EVENT_RESET flag from the interrupt OUT EP intialization, I don't have no start interrupt problem.
But then, the interrupt OUT data handlers are not fired anymore at all!
Where does this problem come from? Do you have any idea how to fix this?
I think it is either because the OS's driver cannot handle this correctly (but I doubt this one) or because there's another bug in CSL and/or on the controller.
Thanks for your help.
Best regards,
Andreas