PaulStoffregen
Well-known member
Some mechanism is needed for different software projects to allocate software triggered ARM interrupts.
Currently, I am aware of 3 projects with this need: Teensy Audio Library, Frank's MP3 Playing, and Andrew's new work on USB Host Shield.
Perhaps someday the core library should have an API for allocating unused interrupt vectors, similar to DMAChannel.h. In the short term, we'll probably just coordinate our efforts by discussion on this thread.
Known In-Use IRQ Priorities:
0: Systick
64: Serial1, Serial2, Serial3
112: USB
128: Default -- all interrupts that don't use NVIC_SET_PRIORITY()
255: Audio Library update
Fixed Software Interrupt Allocation:
(until we have a dynamic system)
Currently, I am aware of 3 projects with this need: Teensy Audio Library, Frank's MP3 Playing, and Andrew's new work on USB Host Shield.
Perhaps someday the core library should have an API for allocating unused interrupt vectors, similar to DMAChannel.h. In the short term, we'll probably just coordinate our efforts by discussion on this thread.
Known In-Use IRQ Priorities:
0: Systick
64: Serial1, Serial2, Serial3
112: USB
128: Default -- all interrupts that don't use NVIC_SET_PRIORITY()
255: Audio Library update
Fixed Software Interrupt Allocation:
(until we have a dynamic system)
Code:
Teensy 3.0 Teensy 3.1
---------- ----------
Audio 45 94
MP3 56
UHS 5 17
Last edited: