S32R Interrupt cannot enter

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

S32R Interrupt cannot enter

542 Views
binqin
Contributor III

Hello,

        The compiler used in this project is WindRiver, interrupt cannot be entered. Can you help to solve it?

In addition, I found the root cause of this problem is startup.s, interrupt vector is not registered. I took simulation, and the state of the register is correct, as shown as in the figure.b5c61fe9bf0658f5ecad23f42d00ca3.png71335f28160273c7ff1dd8d20f87a83.pngcde8ba05ee5c8d058c979dcb0711ad7.png1bf73a24688940dd07dbfc8236a2969.png

Tags (1)
0 Kudos
3 Replies

483 Views
namnguyenviet
NXP Employee
NXP Employee

Hello,

You should find the vector table, which registers the interrupt, in the startup code, e.g. Vector_Vle_App_Interrupt.s, then modify the corresponding interrupt handler ID. The vector table address then should be written to IVPR register. See the attachment.

Best Regards,

Nam

 

0 Kudos

516 Views
namnguyenviet
NXP Employee
NXP Employee

Hello,

Since the MCAL driver doesn't register the interrupts, you have to register the interrupts manually.

Best Regards,

Nam

0 Kudos

511 Views
MichaelLee2
Contributor I

Hi:Nam

I have the same problem, how should I egister the interrupts manually? Can you give me an example of the above question. Thank you very much!

0 Kudos