地平线—征程2(Journey 2-J2)芯片详解(10)—中断映射

写在前面

本系列文章主要讲解地平线征程2(Journey 2-J2)芯片的相关知识,希望能帮助更多的同学认识和了解征程2(Journey 2-J2)芯片。

若有相关问题,欢迎评论沟通,共同进步。(*^▽^*)


 错过其他章节的同学可以电梯直达目录↓↓↓

地平线—征程2(Journey 2-J2)芯片详解——目录-CSDN博客


3. 系统架构

本章主要从时钟结构、复位结构、电源管理和电源模式以及中断映射四个方面描述系统架构。

3.4 中断映射

3.4.1 SGI中断映射

下表列举了IRQ编号和软件生成中断源(Software Generated Interrupt-SGI)的详细映射,如下表所示:

IRQ ID

Interrupt Source

0

Software interrupt 1

1

Software interrupt 2

2

Software interrupt 3

3

Software interrupt 4

4

Software interrupt 5

5

Software interrupt 6

6

Software interrupt 7

7

Software interrupt 8

8

Software interrupt 9

9

Software interrupt 10

10

Software interrupt 11

11

Software interrupt 12

12

Software interrupt 13

13

Software interrupt 14

14

Software interrupt 15

15

Software interrupt 16

3.4.2 PPI中断映射

下表列举了IRQ编号和专用外设中断源(Private Peripheral Interrupt-PPI)的详细映射,如下表所示:

IRQ ID

Interrupt Source

Description

25

NA

Virtual Maintenance IRQ, not used in the chip

26

CORE[n].nCNTHPIRQ

Hypervisor Physical Timer IRQ, low active

27

CORE[n].nCNTVIRQ

Virtual Timer IRQ, low active

28

NA

Legacy FIQ, not used in the chip

29

CORE[n].nCNTPSIRQ

Secure Physical Timer IRQ, low active

30

CORE[n].nCNTPNSIRQ

Non-Secure Physical Timer IRQ, low active

31

NA

Legacy IRQ, not used in the chip

3.4.3 SPI中断映射

下表列举了IRQ编号和共享外设中断源(Shared Peripheral Interrupt-SPI)的详细映射,如下表所示:

IRQ ID

Interrupt Source

Description

32

CORE[0].CTIIRQ

Edge triggered, rising edge active

33

CORE[1].CTIIRQ

/

34

CORE[0].COMMIRQ

High active

(The original CPU output is low active, and is

inverted when connected for keeping consistent

with SPI.)

35

CORE[1].COMMIRQ

36

CORE[0].PMUIRQ

37

CORE[1].PMUIRQ

38

CPU.EXTERRIRQ

39

timer0_irq0

High active

40

timer0_irq1

High active

41

timer0_irq2

High active

42

timer1_irq0

High active

43

timer1_irq1

High active

44

timer1_irq2

High active

45

timer2_irq0

High active

46

timer2_irq1

High active

47

timer2_irq2

High active

48

bifspi_irq

High active

49

bifsd_irq

High active

50

dmac_irq

High active

51

qspi_irq

High active

52

Reserved

High active

53

ddrc_irq

High active

54

ddrphy_irq

High active

55

uart0_irq

High active

56

uart1_irq

High active

57

uart2_irq

High active

58

uart3_irq

High active

59

spi0_irq

High active

60

spi1_irq

High active

61

spi2_irq

High active

62

i2s0_irq

High active

63

i2s1_irq

High active

64

i2c0_irq

High active

65

i2c1_irq

High active

66

i2c2_irq

High active

67

i2c3_irq

High active

68

pwm0_irq

High active

69

pwm1_irq

High active

70

pwm2_irq

High active

71

sd0_irq

High active

72

sd1_irq

High active

73

eth0_perch_rx_irq

High active

74

eth0_perch_tx_irq

High active

75

eth0_irq

High active

76

rtc_irq

High active

77

padc_irq

High active

78

cnn0_irq

High active

79

cnn1_irq

High active

80

mipi_host_irq

High active

81

mipi_dev_irq

High active

82

ips_irq

High active

83

iar_irq

High active

84

perf_monitor_irq

High active

85

cpu_tsensor_irq

High active

86

apb_timeout_irq

High active

87~95

Reserved

/

总结:本部分主要讲解了J2的中断映射,其中包含SGI中断映射、PPI中断映射和SPI中断映射。


本文章是博主花费大量的时间精力进行梳理和总结而成,希望能帮助更多的小伙伴~  🙏🙏🙏

后续内容将持续更新,敬请期待(*^▽^*)

欢迎大家评论,点赞,收藏→→→

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

零零刷

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值