SPRUJ17I March 2022 – August 2025 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
The following sequence describes the step-by-step guide to trigger a logic Self-Test operation the device cores.
| Step No. | Steps | Register/Bit Field/Programming (For R5SS0/R5SS1/HSM) |
Value |
| 1 | Configure the number of intervals to be run | STC.STCGCR0.INTCOUNT_B16 | 0x1 |
| 2 | Configure both cores for Logic Self-Test. | STC.STCGCR1.SEG0_CORE_SEL | 0x1 |
| 3 | Scan mode configuration. Fixed Configuration – Only this configuration value is supported. | STC.STCGCR1.LP_SCAN_MODE | 0x0 |
| 4 | Scan mode configuration. Fixed Configuration – Only this configuration value is supported. | STC.STCGCR1.CODEC_SPREAD_MODE | 0x1 |
| 5 | Scan mode configuration. Fixed Configuration – Only this configuration value is supported. | STC.STCGCR0.CAP_IDLE_CYCLE | 0x3 |
| 6 | Scan mode configuration. Fixed Configuration – Only this configuration value is supported. | STC.STCGCR0.SCANEN_HIGH_CAP_IDLE_CYCLE | 0x3 |
| 7 | Program the Timer Register for max run time | STC.STCTPR | 0x18E2E |
|
8 |
Program the Clock Divider Register – Maximum frequency of STC – 200MHz | STC.STC_CLKDIV. CLKDIV0 | 0x1 |
| 9 | Program the STC ROM start address | STC.SEG0_START_ADDR.SEG_START_ADDR | 0x0 |
| 10 | Configure the pointer for STC ROM start address | STC.STCGCR0.RS_CNT_B1 | 0x1 |
| 11 | Configure this register to disable STC diagnostic check | STC.STCSCSCR.FAULT_INS_B1 | 0x0 |
| 12 | Disable the key for STC diagnostic check | STC.STCSCSCR. SELF_CHECK_KEY_B4 | 0x0 |
| 13 | Kick off the test | STC.STCGCR1.ST_ENA_B4 | 0xA |
| 14 | Wait for standby – WFI signal from UUT (idle) | ||
| 15 | Wait for Test done Interrupt or ESM error (Test done interrupt for R5SS0 is routed to R5SS1 and vice versa) |
||
| 16 | Read the status register to check the STC test completion. | STC.STCGSTAT.TEST_DONE | 0x1(READ) |
| 17 | Read the register to check the failure status of the STC test. | STC.STCGSTAT.TEST_FAIL |
(READ) 0x0 - No failure |
| Step No. | Steps | Register/Bit Field/Programming (For R5SS0/R5SS1/HSM) |
Value |
| 1 | Configure the number of intervals to be run | STC.STCGCR0.INTCOUNT_B16 | 0x1 |
| 2 | Configure both/single core(s) for Logic Self-Test. | STC.STCGCR1.SEG0_CORE_SEL | 0x1 |
| 3 | Scan mode configuration. Fixed Configuration – Only this configuration value is supported. | STC.STCGCR1.LP_SCAN_MODE | 0x0 |
| 4 | Scan mode configuration. Fixed Configuration – Only this configuration value is supported. | STC.STCGCR1.CODEC_SPREAD_MODE | 0x1 |
| 5 | Scan mode configuration. Fixed Configuration – Only this configuration value is supported. | STC.STCGCR0.CAP_IDLE_DELAY_CYCLE | 0x3 |
| 6 | Scan mode configuration. Fixed Configuration – Only this configuration value is supported. | STC.STCGCR0.SCANEN_HIGH_CAP_IDLE_DELAY_CYCLE | 0x3 |
| 7 | Program the timer register for max run time | STC.STCTPR | 0x18E2E |
|
8 |
Program the Clock Divider Register – Maximum frequency of STC – 200MHz | STC.STC_CLKDIV. CLKDIV0 | 0x1 |
| 9 | Program the STC ROM start address | STC.SEG0_START_ADD.SEG_START_ADDR | 0x0 |
| 10 | Configure the pointer for STC ROM start address | STC.STCGCR0.RS_CNT_B1 | 0x1 |
| 11 | Configure this register to disable STC diagnostic check | STC.STCSCSCR.FAULT_INS_B1 | 0x0 |
| 12 | Disable the key for STC diagnostic check | STC.STCSCSCR.SELF_CHECK_KEY_B4 | 0x0 |
| 13 | Kick off the test | STC.STCGCR1.ST_ENA_B4 | 0xA |
| 14 | Provide override WFI signal to STC indicating processor idle state | MSS_CTRL.R5SS*_FORCE_WFI.CR5_WFI_OVERIDE | 0x7 |
| 15 | Wait for Test done Interrupt or ESM error (Test done interrupt for R5SS0 is routed to R5SS1 and vice versa) | ||
| 16 | Read the status register to check the STC test completion. | STC.STCGSTAT.TEST_DONE | 0x1(READ) |
| 17 | Read the register to check the failure status of the STC test. | STC.STCGSTAT.TEST_FAIL |
(READ) 0x0 - No failure |