Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 7/19/2024
Public
Document Table of Contents

5.3.6.9.8. Error Interrupt Generation

On an error condition in which the Fail flag is set in the last operation status register/descriptor, the controller can be configured to trigger an interrupt after an error condition to try to identify the cause of the error. To do this, the error interrupt must be unmasked in the trd_error_intr_en (0x0130) register. Then, the trd_error_intr_status (0x0128) register is set after the error detection. Each register has one bit for each thread in the command engine.

If the Fail bit is set in the last operation status register/descriptor, then the host can obtain information about which operation in command caused the issue by reading the Error Index field in the same register/descriptor. The Error Index indicates the operation number where the first error was detected.

Note: The Error Index field is not updated when source of error is a transfer on the system bus. In this case only, the Bus Error bit is set in the last operation status field/register.

For more information about interrupts refer to Interrupts Configuration section.