The safety aggregator generates the
non-correctable error interrupt where hardware cannot correct the error in case of
parity checker error.
The following is the sequence for
servicing interrupts:
- Software enables the
interrupts for a each edc_ctrl interface by writing 0x1 to the corresponding
bit of the interrupt enable register (DED_ENABLE_SET_REG0).
- On receiving an interrupt,
software checks which edc_ctrl interface has caused the error by reading the
interrupt status (using DED_STATUS_SET_REG0).
- Software writes the edc_ctrl
interface ID in the ECC vector field bits 10:0 along with the read message
that includes setting bit 15 to trigger the serial VBUS read and writing the
address to bits 23:16. The address corresponds to the register to read from
the EDC controller component. Refer to the EDC Controller Register for more
details.
- Software polls the read done
bit (bit 24) in the ECC vector register.
- To clear the interrupt
software does a write operation to Error Status 1 register to clear injected
error and writes 0x1 to the end of interrupt register to clear the interrupt
(using DED_EOI_REG).