Interrupt LPSPI on Davinci configurator pro error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interrupt LPSPI on Davinci configurator pro error

Jump to solution
1,046 Views
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 Kudos
Reply
1 Solution
1,021 Views
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

View solution in original post

0 Kudos
Reply
2 Replies
1,022 Views
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 Kudos
Reply
1,008 Views
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 Kudos
Reply