Tool/software:
Hello,
I'm working on an automotive DC/DC converter using the TMS320F2838.
At the moment, I try to define how to ensure the proper setup of the configuration registers.
My first question would be, which configuration registers can be regarded as safety relevant?
For the peripherals (ADC, GPIO, CMPSS, ...) this is application dependent, for sure.
But what about the basic microcontroller configurations like clock, PLL, memories, CPU, ...
Do you have a proposal, which of the configuration registers for such units are relevant?
The safety manual proposes two mechanisms to check the configuration:
- Software Read Back of Written Configuration
- Periodic Software Read Back of Static Configuration Registers
For which registers, it is recommended to check them periodically, and for which
ones is it enough to check them only in case that they are written or changed?
One more question would be: how can it be ensured that no QM SW is manipulating a safety relevant register?
Is there something like a MPU to protect the registers for such write accesses?