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.

CCS/TMS570LC4357-EP: STC2 global control register state before starting self-test on HET modules

Part Number: TMS570LC4357-EP

Tool/software: Code Composer Studio

4857.The STC2 STCGCR1 register has been programmed to 0xA value.docx

The STC2 STCGCR1 register has been programmed to 0xA value. But when I check the registers, the value is not updated and stick to 0x5. Please refer to the above picture. And the GStat register is 0x00000501 before starting the test.

  • Please clear the status flags in the STCGSTAT register before enabling the self-test on HET modules. It is most likely the case that the self-test is already completed when you read the values in the debugger window.

    Note that STCGCR1 bitfields return to their default states after completion of self-test, as described in the TRM.

  • Hi Sunil,

    I have updated to clear the status flag before enabling the STC2 test. After enabling the STC test by programming the STCGCR1 register with 0xA, the STCGSTAT register value becomes 0x00000501 which means the test has been completed, but actually the test has not been triggered yet. And after i have measured the test time, the test time come out to be around 10usec. The actual test time should be in hundreds of usec.2318.STC2 Test not running .docx