As the STC will generate a reset upon completion of the self tests, our application might need to perform a context save prior the STC self test as well as a context restore after reset generated by STC. Chapter 8.2.2 (Context Saving) of the Reference manual states that "Following are some of the registers that are required to be backed up before and restored after self-test."
To be honest, I don't think it is helpful to mention only some of the registers that require to be saved/restored. Developers need information about all of the registers that need to be saved. Is there a complete list of registers that need to be context saved/restored?
Furthermore, even knowing the complete registers required to save I suspect it might not be a trivial task to implement complete context save/restore functionality from scratch. Assuming that the requirement for context saving/restoring is rather common among RM48x safety applications: Is there any sample code for complete context save/restore on RX48x based microcontrollers?
Kind regards,
Erik von Hesse
