Forum Rule: Always post complete source code & details to reproduce any issue!
-
Suggestion for improved interrupt management for teensy 4.0/4.1
Further to the discussion in the forum:
https://forum.pjrc.com/threads/60831...hlight=kartman
could I suggest some attention is put towards managing the interrupts in the core libraries in a more performant manner?
Rather than using __disable_irq()/__enable_irq() which has the side effect of impacting the extremely fast interrupt response of the i.mxrt1062, interrupt management should concentrate on interrupt priorities, use of the basepri register to selectively mask priorities and specific enable/disable of interrupt sources using the NVIC. This would also benefit implementing FreeRTOS and the like.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules