Can the "Re-exec" State Exit When the If Condition Evaluates to FALSE? | Cypress Semiconductor
Support & Community
Can the "Re-exec" State Exit When the If Condition Evaluates to FALSE?
The GPIF tool utility documentation says that for a state to be "Re-execute" it should be set up to the state when the If clause evaluates to TRUE. Is this necessary? Can I have it exit when it evaluates to FALSE?
It is unnecessary to exit the state when the If clause evaluates to TRUE. Because there are two branches, you can have full control over the branch condition. Typically though, the re-execute feature is used with the transaction count status (by enabling GPIFREADYCFG.5) used as RDY5 in a decision point state. When the transaction count expires, the branch condition is set up to exit the state.