关于AURIX NMI(Non-maskable-interrupt)的问题

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
JackeyZhang
Level 3
Level 3
10 questions asked First solution authored First like received
各位大佬,当外部芯片(如SBC)触发Aurix 的NMI时,需要手动写中断服务函数对NMI进行处理么?
0 点赞
5 回复数
harvis
Level 5
Level 5
10 solutions authored First like received First like given
如果集成了OS可能不需要手写NMI处理。NMI通常是内部触发的,不会是SBC等外部芯片触发,外部芯片触发的是普通中断。手写中断服务程序可以参考“Infineon-AURIX_CPU_Trap_Recognition_1_KIT_TC297_TFT-Training-v01_00-EN.pdf”
0 点赞
harvis
Level 5
Level 5
10 solutions authored First like received First like given
https://www.infineon.com/dgdl/Infineon-AURIX_CPU_Trap_Recognition_1_KIT_TC297_TFT-Training-v01_00-EN.pdf?fileId=5546d46270c4f93e017106b1830946a3
0 点赞
JackeyZhang
Level 3
Level 3
10 questions asked First solution authored First like received
感谢大哥回复!目前主芯片用的TC365。外部SBC用的NXP的MC33FS65系列,SBC其中的一个PIN 脚INTB就接到了主芯片的NMI脚(ESR1),当监控到异常时间发生时(如SBC过压,欠压等),INTB脚输出一个低电平触发主芯片的NMI。所以这里问一下要不要对这个NMI做特殊处理,毕竟会影响到系统安全的。
0 点赞
harvis
Level 5
Level 5
10 solutions authored First like received First like given
需要做安全相关的处理,让系统进入安全状态,具体的做法要根据项目的安全需求。
0 点赞
YuLin
Level 1
Level 1
First reply posted Welcome!

前辈,您好,我也遇到了同样的应用,想请教一下,该如何通过ESR1触发NMI呢

 

0 点赞