I am using MPC5746C. Is there kind of register in MPC5746C? no function and data is able to store with resetting.
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?
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;