SPRUJ28E November 2021 – September 2024 AM68 , AM68A , TDA4AL-Q1 , TDA4VE-Q1 , TDA4VL-Q1
During compare match test, there are four different test patterns generated to stimulate the hardware. An identical vector is applied to both input ports (CPU0 and CPU1 output signals, which are inputs to the CCMR5 block) at the same time expecting a compare match. These patterns cause the self test logic to exercise every CPU output signal. This test can be independently enabled by programming the CCMR5 registers. If the compare unit produces a compare mismatch then the self test error flag is set and the self test error signal is generated. If an error is detected during compare match, then CCMR5 enters compare mismatch mode before terminating the test.
The four test patterns are:
These four test patterns will take four clock cycles to complete.
Table 6-16 illustrates the compare match test sequence. The core compare disabled signal is asserted on entry and de-asserted when complete.
CPU0 Signal Position | CPU1 Signal Position | Cycle | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
n:8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | n:8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
0x5 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0x5 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 |
0xA | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0xA | 1 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 1 |
0's | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0's | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
1's | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1's | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 3 |