Are there constraints on callback function for CyU3PUsbRegisterSetupCallback | Cypress Semiconductor
Are there constraints on callback function for CyU3PUsbRegisterSetupCallback
I'm curious if there are stack and/or timing constraints on the callback for receiving vendor commands. I added some debug statements and a number of function calls to a specific vendor command and upon invoking that command the firmware stops responding. Remove the debugging and it functions normally. I'm curious if the correct way is to use event notification and process the request on the application thread instead? I haven't found a good reason why the debugging would cause firmware to stop responding. Any thoughts?