SDAA106 June   2026 TXE8116-Q1 , TXE8124-Q1 , TXE8148

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Introduction
  5. 2Overview of the Fail-Safe Register Set
  6. 3How to Write to a Fail-Safe Register
  7. 4Fail-Safe Use Case #1 - MCU Communication Loss- Limp Home Mode
  8. 5Fail-Safe Use Case #2 - MCU Software Update / Reboot
  9. 6Summary
  10. 7References

Overview of the Fail-Safe Register Set

The TXE81xx-Q1 series of I/O expanders implements fail-safe registers. A fault flag from an external device can be relayed to the TXE81xx-Q1 in order to put the I/O expander into a known state.

The fail-safe feature is configured through 4 registers, each of which has a copy for redundancy. This includes:

  1. Fail-safe Enable Registers
  2. Fail-safe Direction Configuration Registers
  3. Fail-safe Output Registers
  4. Fail-safe Redundancy Check Register

There are two identical registers (1 & 2) of each of the four types. For example, there exists "Fail-safe Output Register 1" and "Fail-safe Output Register 2." This is to verify software redundancy between fail-safe registers. If register 1 contains different data than register 2, then bit B1 of the fault status register will be set, alerting the user that there was a data write error.

The fault status register is used to determine if there is a register mismatch which indicates one of the fail-safe registers is out of sync. The fault status register also indicates when the device fault status is active, or a power on reset has occurred. These flags are not cleared even if the fault condition goes away, but they are cleared only by a read operation.

Table 2-1 Fail-Safe Register Map and Fault Status Register
Register NameOffset Function
Fail-safe Enable Register-1120hConfigures the RESET pin to a FAIL-SAFE pin.
Fail-safe Enable Register-2130hConfigures the RESET pin to a FAIL-SAFE pin.
Fail-safe Direction Configuration Register-1140h + (y * 1h)
Where y = 0h to 2h
Configures the direction of each I/O
Input = 0
Output = 1
Fail-safe Direction Configuration Register-2150h + (y * 1h);
Where y =0h to 2h
Configures the direction of each I/O
Input = 0
Output = 1
Fail-safe Output Register-1160h + (y * 1h)
Where y = 0h to 2h

Configures the logic output of each I/O configured as an OUTPUT through the Fail-safe Direction Configuration Registers

Fail-safe Output Register-2170h + (y * 1h);
Where y = 0h to 2h
Configures the logic output of each I/O configured as an OUTPUT through the Fail-safe Direction Configuration Registers
Fail-safe Redundancy Check Register180hAfter writing all fail-safe registers (enable, configuration, output), enables redundancy checks on these registers. If fail-safe registers are mismatched, a flag will be set in the fault status register.
Fault Status Register190hBit 0 - Power-on Reset Recovery Status
Bit 1 - Fail-safe function cleared due to register mismatch
Bit 2 - Fail-safe function is Active