You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
How am I able to set the interrupt priority for a timer above the USB-communication timer. I'm just asking because I have a very simple program which uses the DueTimer with timer6 to set an puls interval time around 1msec. Within this interval I create pulses with a width of 50usec. Tried it with two interrupt, but the ISR code made it almost impossible to get the accuracy of 1usec. So just a 'wait until ready' is now used within the DueTimer callback function to set/clear the puls itself.
This is very great and works like a charm!
But just now and then I get some puls shift in time because the ISR-callback is delayed and I'm guessing, but it must be the USB interrupt, because I'm not utilizing any other ISR.
It would be great if the DueTimer library was able to set the priority for every timer!
Hi,
How am I able to set the interrupt priority for a timer above the USB-communication timer. I'm just asking because I have a very simple program which uses the DueTimer with timer6 to set an puls interval time around 1msec. Within this interval I create pulses with a width of 50usec. Tried it with two interrupt, but the ISR code made it almost impossible to get the accuracy of 1usec. So just a 'wait until ready' is now used within the DueTimer callback function to set/clear the puls itself.
This is very great and works like a charm!
But just now and then I get some puls shift in time because the ISR-callback is delayed and I'm guessing, but it must be the USB interrupt, because I'm not utilizing any other ISR.
It would be great if the DueTimer library was able to set the priority for every timer!
The text was updated successfully, but these errors were encountered: