Perform the following procedure to disable the SCTM:
- When periodic STM export is enabled:
- Disable periodic export by writing 0000 0000h to the SCTM_CTSTMINTVL register.
- Test for completion of the CCM export through the SCTM_CTSTMCNTL[5] XPORTACT bit.
- Disable the STM function by writing 0 to the SCTM_CTSTMCNTL[0]ENBL bit.
- Disable all counters by setting the SCTM_CTGNBL0 register to 0000 0000h.
- Disable the SCTM by setting the SCTM_CTCNTL[0] ENBL bit to 0.