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.

TMS570LC4357: What should be the value of STCSEGPLR when STCSCSCR is active within STC1?

Part Number: TMS570LC4357

Hello Support,

When STCSCSCR is used to perform Self Test in STC1 by setting SELF_CHECK_KEY = 0x0A, then what should be the contents of  STCSEGPLR register?

Should Segment 0 or Segment 1 be selected?

Thank you.

Regards

Pashan

  • Hi Pashan,

    The signature compare selfcheck is recommended at application startup only. The selfcheck can be done for either segment 0/1 only or both.

    1. Segment 0 

    a. Enable the SELF_CHECK_KEY and FAULT_INS in STCSCSCR register

    b. Configure the STCSEGPLR to 1st interval of segment 0

    c. Configure the RS_CNT bit 1 to 1

    d. Check STC global status register and STCFSTAT register 

    e. Disable either or both the SELF_CHECK_KEY and FAULT_INS in STCSCSCR register

    2. Segment 1

    a. Enable the SELF_CHECK_KEY and FAULT_INS in STCSCSCR register

    b. Configure the STCSEGPLR to 1st interval of segment 1

    c. Configure the RS_CNT bit 1 to 1

    d. Check STC global status register and STCFSTAT register 

    e. Disable either or both the SELF_CHECK_KEY and FAULT_INS in STCSCSCR register