An config parity error occurs when a parity mismatch is detected in the HWA_CONFIG register. The procedure on how to inject the HWA_CONFIG parity error are listed in the following steps. All the FSM configurations (A,B,C,X FSM Configurations) are protected by the parity.
- The HWAOPEN instruction is used to write HWA_CONFIG and HWA_OFFSET with parity computation enabled and parity checking enabled (PARITYCTRL = NORMAL).
- The values in the vector registers are corrupted by software in the specific field to be tested.
- The HWAOPEN instruction is again used to write HWA_CONFIG and HWA_OFFSET using the corrupted data from that C7x vector register with the parity computation disabled and parity checking enabled (PARITYCTRL = PNCMCK). In this mode, the originally computed and saved parity value is checked against the parity computed on use in the affected register.
- Execute HWAXFER to transfer the content of HWA_CONFIG/HWA_OFFSET and so on to transfer the buffer.
- The HWARCV instruction is executed to observe the error