Interrupt LPSPI on Davinci configurator pro error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Interrupt LPSPI on Davinci configurator pro error

ソリューションへジャンプ
3,226件の閲覧回数
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,201件の閲覧回数
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,202件の閲覧回数
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,188件の閲覧回数
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 件の賞賛
返信