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.

CCM to ESM Signal selection w.r.t. ERROR Forcing Mode and SelfTest Error Forcing Mode

Other Parts Discussed in Thread: TMS570LS20216

Hello,

In the TRM for TMS570, it is mentioned that CCM can generate ERROR Signal to ESM module in "ERROR Forcing Mode [MKEY=1001]" and "SelfTest Error Forcing Mode[MKEY=1111]".

In the Device Data Sheet for TMS570LS20216 I find the following under section

3 Reset / Abort Sources

Error Source              System Mode         Error Response    ESM Hookup group channel

Self test failure            User/Privilege                ESM              1.31

Compare failure          User/Privilege             ESM => NMI      2.2

Now, which one of the above "RESET/ABORT Source" line is linked to MKEY=1001 and which one is for MKEY=1111?

I am assuming MKEY=1111 is only for "SELF TEST FAILURE" Line of RESET ABORT Source.

MKEY=1001 is only for "Compare Error" Line of RESET ABORT Source and in effect it is NMI.

Is the correct?

Thank you.

Regards

Pashan

 

  • As you mentioned, the CCM-R4 mode is controlled by the MKEY field, bits3:0, of the CCMKEYR register (0xFFFF_F604):

    Considering self test (MKEY=0110), error forcing (MKEY=1001)and self test error forcing (MKEY=1111) modes:
    - The CCM-R4 self test error output can be asserted/active in self test and self test error forcing modes.
    - The CCM-R4 compare error output can be asserted/active in error forcing mode.

    Once suspend mode is entered, the compare errors will not be generated, irrespective of the compare mode the CCM-R4 is in.