work with MQX interrupt

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

work with MQX interrupt

Jump to solution
878 Views
davidzhu
Contributor III

Hi support:

 

Is the preemption of interrupts with higher priority still valid with the use of MQX in the application?

 

0 Kudos
1 Solution
865 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

In MQX user guider ,section 3.9 describes the interrupts and exceptions in MQX.

The interrupts are still nested on Cortex-M4. MQX itself uses a timer interrupt for BSP tick (5 ms), and many IO drivers use interrupts as well, such as for example serial UART driver or SPI driver, Ethernet, USB, etc.

The priorities of these interrupts are assigned by the MQX driver, they are BSP dependent.

MQX also provides a way to bypass MQX kernel with a kernel isr.

More details, please read MQX user's Guide, 3.9 Handling Interrupts and Exceptions.

 

Regards

Daniel

 

View solution in original post

0 Kudos
2 Replies
866 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi

In MQX user guider ,section 3.9 describes the interrupts and exceptions in MQX.

The interrupts are still nested on Cortex-M4. MQX itself uses a timer interrupt for BSP tick (5 ms), and many IO drivers use interrupts as well, such as for example serial UART driver or SPI driver, Ethernet, USB, etc.

The priorities of these interrupts are assigned by the MQX driver, they are BSP dependent.

MQX also provides a way to bypass MQX kernel with a kernel isr.

More details, please read MQX user's Guide, 3.9 Handling Interrupts and Exceptions.

 

Regards

Daniel

 

0 Kudos
877 Views
davidzhu
Contributor III

For an MQX based application, if an interrupt routine is enabled and then a higher priority interrupt comes-- the higher priority interrupt will be handled first?

0 Kudos