S32R Interrupt cannot enter

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

S32R Interrupt cannot enter

545件の閲覧回数
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

タグ(1)
0 件の賞賛
3 返答(返信)

486件の閲覧回数
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 件の賞賛

519件の閲覧回数
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 件の賞賛

514件の閲覧回数
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 件の賞賛