AnsweredAssumed Answered

MPC5748G: What is the right way to write in SPR 22(DEC) and SPR 54(DECAR), without causing IVOR6 interrupt? (PR = 0 or PR = 1 doesn't change the behavior)

Question asked by Aleksandar Vinchev on May 8, 2015
Latest reply on May 11, 2015 by Aleksandar Vinchev

Hi,

I'm doing this:

 

.vle

e_li r3, 40000

mtspr 22, r3

mtspr 54, r3

 

When I reach mtspr instruction, MCU goes to IVOR6 handler.

Code is executed by core 0, which is e200z4.

Outcomes