Re: Is there ram/register that will survive through reset R274

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

Re: Is there ram/register that will survive through reset R274

485 Views
michael_chien1
Contributor II

I am using MPC5746C. Is there kind of register in MPC5746C? no function and data is able to store with resetting.

0 Kudos
2 Replies

410 Views
michael_chien1
Contributor II

update the status.

I found USPRG0 register. it look like I can use this register to store the data and not change after functionality reset.

But I can't find the definition in MPC5746C.h.

Would you advise how to access this register?

0 Kudos

410 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, The USPRG0 register is are provided for application and operating system use so yes, it can be used for this purpose.

Use the MC_ME module to enter the RESET mode (SW functional reset):

/* software reset */    
ME.MCTL.R = 0x00005AF0;
ME.MCTL.R = 0x0000A50F;

 

pastedImage_1.png

0 Kudos