ZHCSLE3 June 2023 OPT4060
PRODUCTION DATA
Threshold result registers THRESHOLD_H_RESULT and THRESHOLD_H_RESULT are 12 bits, while threshold exponent registers THRESHOLD_H_EXPONENT and THRESHOLD_L_EXPONENT are four bits. The threshold is compared at linear ADC_CODES_CHx, therefore the threshold registers are padded with zeros internally as shown to compare with the ADC_CODES_CHx
or
and
or
Threshold are then compared as shown to detect Fault events.
and
Based on the FAULT_COUNT register setting, with consecutive Fault High or Fault Low events, respective FLAG_H and FLAG_L registers are set. Clearly understanding the difference between THRESHOLD_H_EXPONENT, THRESHOLD_H_RESULT, THRESHOLD_L_EXPONENT, THRESHOLD_L_RESULT and the output registers is important to be able to set appropriate threshold based on application needs. See Interrupt Modes of Operation for more information.