MCU crashes when writing CSE registers

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

MCU crashes when writing CSE registers

664 Views
WUXIE
Contributor I

Hi Team NXP,

After Mode,PLL initialled,when I try to write CSE registers,MCU crashes,Error interrupt is "IVOR1trap: b IVOR1trap /* Machine check / (NMI) interrupt handler */"。the code is as follows:

CSE.CR.B.DIV = 29;                // MCU STOP here!
CSE.CMD.R= CSE_INIT_CSE;
while (CSE.SR.B.BSY ==1){} /*wait until CSE is idle*/
CSE.P1.R = (vuint32_t)&get_id_challenge; /* input challenge value*/
CSE.P2.R = (vuint32_t)&GET_ID_UID; /* output UID*/
CSE.P3.R = 0;
CSE.P4.R = (vuint32_t)&UID_MAC; /* output challenge response */
CSE.CMD.R= CSE_GET_ID;

thanks advanced !

0 Kudos
Reply
4 Replies

653 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @WUXIE 

which device is that?

Regards,

Lukas

0 Kudos
Reply

649 Views
WUXIE
Contributor I

H,@lukaszadrapa

MPC5644C 

0 Kudos
Reply

642 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

And what is exact part number? Do you have version with CSE?

lukaszadrapa_0-1708582172928.png

 

0 Kudos
Reply

638 Views
WUXIE
Contributor I

5644CF0,not have CSE.Thanks!

0 Kudos
Reply