王工您好:
tms570如果同时来了一个高优先级中断和一个低优先级中断,低优先级中断会丢失吗?原因是什么啊。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi mingxi,
English:
1. The TMS570 provides two vectors for interrupt requests: FIQs and IRQs. FIQs are higher priority than IRQs, and FIQ interrupts may interrupt IRQ interrupts.
2. The TMS570 uses VIM to prioritize and control the interrupt sources. VIM supports 128 interrupt channels which are mapped to interrupt sources. A lower numbered channel in each FIQ and IRQ has higher priority.
3. The ARM Cortex-R4/5 processor does not support interrupt nesting in hardware. It does not support more than one IRQ to be taken at a time.
When two IRQ interrupts (or 2 FIQ interrupts) occur at the same time, the interrupt with higher priority is serviced first. The 2nd interrupt will be served after the 1st is done.
中国人:
1. TMS570 提供两个中断请求向量:FIQ 和 IRQ。 FIQ 的优先级高于 IRQ,FIQ 中断可能会中断 IRQ 中断。
2. TMS570 使用 VIM 对中断源进行优先级和控制。 VIM 支持映射到中断源的 128 个中断通道。每个 FIQ 和 IRQ 中编号较低的通道具有较高的优先级。
3. ARM Cortex-R4/5 处理器不支持硬件中断嵌套。它不支持一次使用多个 IRQ。
当两个 IRQ 中断(或 2 个 FIQ 中断)同时发生时,优先服务高优先级的中断。第二个中断将在第一个中断完成后提供。
--
Thanks & Regards,
Jagadisih.
thanks:
if ten IRQ interrupts occur at the same time, whether any interrupts are lost?Are they all executed in order of priority?
Hi mingxi,
if ten IRQ interrupts occur at the same time, whether any interrupts are lost?
No, interrupts lost will never happen.
Are they all executed in order of priority?
Yes, they all executed in order of priority.
--
Thanks & Regards,
Jagadish.