SLAAED9 November 2023 TAA5412-Q1 , TAC5311-Q1 , TAC5312-Q1 , TAC5411-Q1 , TAC5412-Q1
By default, once a fault is detected, an internal interrupt request (IRQ) is generated. The user can control which faults generate interrupts using the INT_MASKx registers. Setting a mask bit to 1 means the corresponding fault is masked and no longer triggers an interrupt, though the fault is still recorded in the latched registers as long as the LTCH_READ_CFG bit in the INT_CFG register is set to 0. Settings in INT_CFG apply to faults for all channels.
The internal IRQ signal can be an output on any of the GPIO pins and used to alert the host processor to a fault condition. If the GPIO pins on the TAx5xxx-Q1 are used for another function or there is not an available GPI pin on the host processor, then the user can also choose to periodically poll the fault registers.
The settings in the INT_CFG, P0_R66 register dictate how the device handles interrupts. The user can program the polarity of the interrupt for output on a GPIO with the INT_POL bit. The INT_EVENT bits set how often an interrupt asserts for a given event. The PD_ON_FLT_CFG bits control whether faults automatically power down MICBIAS and the affected ADC channels. The user can choose to power down from unmasked faults only, or from any detected fault regardless of mask settings. The PD_ON_FLT_RCV_CFG bit sets whether the device automatically re-powers once the interrupt is no longer asserted, or waits for manual programming from the host. For more information on manual recovery mode, see Section 7.2. Note, that ASI bus clock errors always power down the ADC channels and the device recovers as soon as the error is resolved.