This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
In Lockstep mode the outputs of both ARM cores are compared. My question if CPU1 issues an erroneous command with a compare error that CPU2 does not agree with to a peripheral such as GIO, will the command be issued to the peripheral and then 2 cycles later the ESM error will occur or will the ESM error happen before the output is seen?
Thanks!
Thanks Charles,
If I understand correctly, the RM57 cannot be used to guarantee safe processor operations due to:
GPIO A has safety implications and should only be used in a certain system state.
CPU1 incorrectly issues a write to GPIO A, CPU2 correctly issues a write to GPIO B.
The CCM issues an error and asserts nERROR pin.
The external system receives GPIOA asserted followed by nERROR pin asserted.
GPIOA asserted causes the system to fail before nERROR can be detected to "safe" the system.
Is my understanding correct or will nERROR be asserted before GPIOA is asserted so that the system is "safe".
Could outputs be tied to nERROR system outputs so that if it is asserted all outputs are ignored?
Thanks Christian,
You mentioned ns timing, are there published worst case numbers available?
Anthony, Dmitri,
I looked into the safety manual and saw that we list the Error Reporting Time for the CCM to be <1us, but I think this is talking about the user defined ISR and not the nERROR pin. The nERROR pin will signal the fault much faster, however there are situations where you want to filter out short pluses, please let me explain this a bit more.
Most if not all of the self tests of the implemented diagnostics will trigger the nERROR pin. For example if you perform a self test of the CCM this will cause the whole MCU to react to this injected fault like it was a real one, the CCM will signal an error to the ESM, the ESM will send a FIQ to the CPU and trigger the nERROR pin. For that reason the TPS65381 companion chip can filter out what I call short pulse on the nERROR pin, which means that it wont react on those, whereas it would reset the MCU on longer pulses. This is described in SLVSBC4F Figure 5-11 on page 64.
So please keep in mind, that there might be situations where the nERROR pin is intentionally triggered during runtime. What I try to say is, that a simple AND conjunction with for example the GIO signal you mentioned might not be adequate depending on your system. If you plan to perform self tests not only during startup phase, but also during runtime you should consider to implement some sort of filter to mask these short intended pulses on the nERROR pin.
Best Regards,
Christian