Interrupt LPSPI on Davinci configurator pro error

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

Interrupt LPSPI on Davinci configurator pro error

跳至解决方案
3,271 次查看
MyLV
Contributor I

Hello,

I am configuring for SPI on Davinci Configuration Pro for S32K344.

now I am facing with Interrupt trouble, Interrupt not triggered. 

MyLV_0-1692953771171.png

In this case, using LPSPI_0 and Isr Interrupt source filed is 165 as S32K3xx_interrupt_map.xlsx attached file inside RM file.

MyLV_1-1692953980027.png

please give me suggestion? 

 

0 项奖励
回复
1 解答
3,246 次查看
cuongnguyenphu
NXP Employee
NXP Employee

Have you enable ISR for LPSPI in your code yet?
I'm not sure how Davinci tool generate, but I think you only config for the ISR handler by Davinci Tool, but maybe you haven't enable this ISR in the code.
You should check the NVIC register for sure

在原帖中查看解决方案

0 项奖励
回复
2 回复数
3,247 次查看
cuongnguyenphu
NXP Employee
NXP Employee

Have you enable ISR for LPSPI in your code yet?
I'm not sure how Davinci tool generate, but I think you only config for the ISR handler by Davinci Tool, but maybe you haven't enable this ISR in the code.
You should check the NVIC register for sure

0 项奖励
回复
3,233 次查看
MyLV
Contributor I

Hi @cuongnguyenphu 

Thank you for replying.

I already resolved that one.

In case of Microsar configuration on Davinci we need to use Vector(All Cores) instead of IRQ value.

In this case, I configured 181 rather than 165.

MyLV_0-1693461861891.png

 

0 项奖励
回复