MPC5744, using SDK to configure interrupt priority

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

MPC5744, using SDK to configure interrupt priority

492 次查看
ChenBowen
Contributor II

    

      I am trying to learn SDK. I opened the pit interrupt example in S32DS.  It seems there is no interrupt priority configuration step in your code (or I just missed it).  

     I noticed that there is a api function "INT_SYS_SetPriority" in SDK to set the specific irqnumber's priority, but this isn't called in in the project.

     

0 项奖励
回复
1 回复

473 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

If there is no interrupt priority set, the interrupt wont be called.

petervlna_0-1673865147076.png

You can have a look at reference example:

https://community.nxp.com/docs/DOC-329575

You can have a look at interrupt processing in reference manual: 21.6.3 Handshaking with processor

I cant speak for unknown example in SDK. Its better always to understand how the interrupt is processed from some bare die example project or manual.

Best regards,

Peter

0 项奖励
回复