AnsweredAssumed Answered

SRC GPRx Register Usage

Question asked by Jeffery Thompson on Mar 2, 2020
Latest reply on Mar 12, 2020 by Jeffery Thompson

Can the MIMXRT1062 system reset controller general purpose register s be used by an application?

 

According to the SDK API reference manual,

General purpose registers (GPRx) would hold the value during reset process. Wakeup function could be kept in these register. For example, the GPR1 holds the entry function for waking-up from Partial SLEEP mode while the GPR2 holds the argument. Other GPRx register would store the arbitray values.

 

The processor reference manual says

This register is used by the ROM code and should not be usedby application software.

So are they safe to use or not?

Outcomes