work with MQX interrupt

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

work with MQX interrupt

跳至解决方案
2,057 次查看
davidzhu
Contributor III

Hi support:

 

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

 

0 项奖励
回复
1 解答
2,044 次查看
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 项奖励
回复
2 回复数
2,045 次查看
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 项奖励
回复
2,056 次查看
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 项奖励
回复