USB Bulk interrupt (re-triggering)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB Bulk interrupt (re-triggering)

502 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sam_m on Sat Mar 22 21:56:20 MST 2014
If I receive a usb bulk endpoint interrupt but cannot handle the data at that point in time is there a way to exit the interrupt, but cause it to be re-generated at a later point in time?
Labels (1)
0 Kudos
1 Reply

451 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by sam_m on Sun Mar 23 08:18:32 MST 2014
Naturally as soon as I post this I think I have the solution..
1. Mark a flag that says "interrupt pending" somewhere and return.
2. in my main code set the endpoint interrupt flag using USBDevIntSet register. This will cause the event to re-trigger.

And something that caught me... USBDevIntSet is a write only register so don't |= your bit in.
0 Kudos