Are there constraints on callback function for CyU3PUsbRegisterSetupCallback

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 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?

0 Likes
9 Replies