ZHCSGP5C August 2017 – February 2022 TIC12400-Q1
PRODUCTION DATA
When the TIC12400-Q1 is used to monitor safety-critical switches, it may be valuable for the microcontroller to have knowledge of the operating status of the wetting current sources and sinks. This can be achieved by activating the wetting current diagnostic feature provided for inputs IN0 to IN3. IN0 and IN1 can be diagnosed for defective wetting current sources, while IN2 and IN3 can be diagnosed for defective current sinks.
The wetting current diagnostic feature can be activated by setting the WET_D_INx_EN bits in the CONFIG register to 1 for the desired inputs, where x can be 0, 1, 2, or 3. If activated, the TIC12400-Q1 checks the status of the wetting current sources and sinks for the configured input periodically as part of the polling sequence. If the wetting current is determined to be flawed, the TIC12400-Q1 pulls the INT pin low to notify the host and flag the WET_DIAG bit in the INT_STAT register to logic 1. The OI bit in the SPI flag is also asserted during SPI transactions. The microcontroller can then read bits IN0_D to IN3_D in register IN_STAT_MISC to learn more information on which wetting current source/sink is defective.
The wetting current diagnostic is not performed for inputs that are disabled (IN_EN_x bit = 0 in the IN_EN register) from polling, even if the feature is activated for those inputs. Also, it is critical to configure the current source/sink appropriately (CSO for IN0 and IN1, and CSI for IN2 and IN3) and program the input to ADC input mode before activating the wetting current diagnostic feature to prevent false interrupts from being generated. The wetting current diagnostic feature can be performed regardless of the states of external switches, and it is available in both continuous mode and polling mode.
Figure 8-21 shows an example of the feature carried out in a typical polling sequence. In this example, it can be observed that the wetting current is activated for duration of tPOLL_ACT+ tADC for each input diagnosed (IN0 or IN2). Normal polling sequence resumes with IN4 and the wetting current is activated for tPOLL_ACT for the rest of the inputs. The diagnostic is not executed on inputs IN1 and IN3 in this example since they are disabled.