SLAAEU3 June 2025 MSPM0C1104
This demo code can support fan fault detection. If the fan PWM duty cycle is not 0, but there is no TACH signal capture for configured overflow maximum value of the overflow event or zero event of the TACH capture timer, the fan is in fault status and is recorded in the 0x60 register. For this register, one bit equates to the status of one fan. The overflow maximum value also can be configured at register 0x50. The default value is 3. That means if fan 1 started but there is no TACH signal is captured in 3 × 600ms = 1.8s, fan 1 is recorded as fault. Every time the fault detection register fault is read, the event clears. TI does not recommend reading the value two times within 1.8s, or the second time read value is always 0.