Interrupt Router (IR)中断管理模块

Interrupt Router (IR) Feature List

  • 支持多达1024个服务请求

  • 每个中断控制单元ICU支持多达255个中断优先级

  • 支持多达8个中断控制单元

  • 每个CPU或者DMA(Direct Memory Access)都有专用的中断控制单元ICU

  • 仲裁时间短,3-4个时钟周期就会将中断结果发送给中断服务者

  • 每个外围中断请求源都有一个特定的中断节点Service Request Node (SRN)

  • 每个SRN在寄存器中都有8bit的优先级field

  • 每个中断节点的优先级都可以映射到一个ICU

  • 中断服务完成之后会进行硬件自动清除

  • 8 General Purpose Service Requests (GPSR) per CPU that can be used as Software Interrupts (not assigned to peripherals or external interrupts) 每个CPU都有8个通用中断请求,用于软件中断

  • 支持CPU唤醒在这里插入图片描述

  • External Interrupts with filter modes and trigger modes (to e.g. falling edge, rising edge, high or low level). Modes can be configured during runtime)

Overview

中断三要素

  1. 中断节点 Service Request Node (SRN) 存在中断请求到中断节点的映射
  2. 中断优先级 Interrupt Priority 0-255
  3. 中断服务者 Service Provider
  • CPUx 和 MDA
  • 每一个中断服务者都有一个对应的中断控制单元ICU
  • 每一个ICU都对应有2个控制寄存器

Service Request Nodes (SRN)

中断请求控制寄存器Service Request Control Register (SRC)

Service Request Control Register i SRCi (i=0-1023)
在这里插入图片描述

Interrupt Control Unit (ICU)

The Interrupt Router module includes one ICU per service provider (CPUs and DMA modules) where each ICU is related to one service provider. SRNs can be mapped to one of the ICUs via the SRNs SRCx.TOS register bit field

The Interrupt Control Units (ICU):
• Manages the arbitration among competing service requests from SRNs that are mapped to the ICU
• Provides the winner of the arbitration round to the service provider
• Receives the information from the service provider which service request was accepted
• Checks the accepted service request information (ECC check)
• Signals integrity errors to the Safety Management Unit (SMU)
• Manages the clearing of acknowledged service requests in the related SRNs

ICU Control Registers x表示中断控制单元

Latest Winning Service Request Register (LWSR) **LWSRx (x=0-7)**提供上次中断仲裁结果
Last Acknowledged Service Request Register x, related to ICUx **LASRx (x=0-7)**提供中断服务者完成中断服务的节点信息
Error Capture Register (ECR) ECRx (x=0-7)

Arbitration Process

在这里插入图片描述后续更新:
可查阅芯片手册和《英飞凌多核单片机应用技术》

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值