The reads to the ECC control and
status registers are triggered by writing a 'read message' to the ECC Vector
Register as:
- Software writes value (the ECC
RAM ID) to the MCANERR_VECTOR.ECC_VECTOR field to select the ECC RAM for control
or status.
- Software writes 1 to the
MCANERR_VECTOR.RD_SVBUS bit to trigger a read.
- Software writes read address to
the MCANERR_VECTOR.RD_SVBUS_ADDRESS field.
- Software then polls the
MCANERR_VECTOR.RD_SVBUS_DONE bit to check if the bit is 1. This bit indicates
that the read operation has completed.
- Software reads the data from the
ECC control or status register. The following clock cycle (MCAN_ICLK) returns
the read data.