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)

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

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)

Jump to solution
963 Views
alexvinchev
Contributor V

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.

Labels (1)
Tags (1)
0 Kudos
1 Solution
647 Views
alexvinchev
Contributor V

OK, thanks to a friend, mystery is no more mystery...

e200z4204n3 core DOES NOT fulfill PowerISA 2.06 (Embedded.Hypervisor category is not implemented)...

This should be the reason that there are no DEC & DECAR registers in this core...

BTW, e200z4RM document, available on Freescale's website doesn't correspond to this core either and there is no document, describing e200z4204n3 core with all its specifics. Limitations could be known only after thorough reading of MPC5748GRM document...

View solution in original post

0 Kudos
1 Reply
648 Views
alexvinchev
Contributor V

OK, thanks to a friend, mystery is no more mystery...

e200z4204n3 core DOES NOT fulfill PowerISA 2.06 (Embedded.Hypervisor category is not implemented)...

This should be the reason that there are no DEC & DECAR registers in this core...

BTW, e200z4RM document, available on Freescale's website doesn't correspond to this core either and there is no document, describing e200z4204n3 core with all its specifics. Limitations could be known only after thorough reading of MPC5748GRM document...

0 Kudos