Ready
Set Ack, Ready = 0
Opcode Decode
Opcode Execute
Macro Interrupt
Set Ack = 1
Set Ready = 1
Opcode error
Design Details
76
SBAU337 – May 2020
Copyright © 2020, Texas Instruments Incorporated
Macro
Figure 1-10. Macro interface handling state diagram
1.1.1.4.3 Macro Error Status and Error Opcode
Any error encountered in the Macro is indicated through Error-Status register. The error could be because
of one of the following:
[Bit 0] Value of '1' indicates that MACRO_ERROR was set due to an invalid MACRO_OPCODE.
[Bit 1] Value of '1' indicates that MACRO_ERROR was set due to a MACRO_OPCODE that is not allowed
in the current state of the device.
[Bit 2] Value of '1' indicates that MACRO_ERROR was set due to errors in the operands of the macro
command. More information on the nature of operand error is present in subsequent fields.
[Bit 3] Value of '1' indicates that MACRO_ERROR was set due to an error in the execution of the macro
command. More information on the nature of execution error is present in Error Code fields.
The macro opcode which caused the error is written into ‘Error Opcode’ field.
1.1.1.4.4 Macro Error Code Fields
The two error code fields give further information on the cause of macro error. The interpretation of these
error codes is specific to each macro.