English
Language : 

AMC7823_15 Datasheet, PDF (37/55 Pages) Texas Instruments – ANALOG MONITORING AND CONTROL CIRCUIT
AMC7823
www.ti.com
SLAS453F – APRIL 2005 – REVISED MARCH 2012
The value in the Threshold-Hi-n Register defines the upper bound threshold of the nth analog input, while the
value in Threshold-Low-n defines the lower bound. These two bounds specify a window for the out-of-range
detection. The out-of-range condition occurs when the input is set outside the window defined by these
boundaries. To implement single upper-bound threshold detection, the host processor can set the upper bound
to the desired value and the lower bound to zero. For lower-bound detection, the host can set the lower bound to
the desired value and the upper bound to the full-scale input.
To deactivate the alarm function (ALR-n always '0'), set the threshold registers to their default values as specified
in Table 2.
Note: The value of Threshold-Hi-n must not be less than the value of Threshold-Low-n; otherwise, ALR-n is
always set to '1' and the alarm indicator is always active.
If any out-of-range alarm occurs, the Global Alarm pin (GALR, pin 1) goes logic low. This function provides an
interrupt to the host so that it may query the ALR Register (alarm register) to determine which channels are out-
of-range.
The general-purpose I/O pins, GPIO-0, GPIO-1, GPIO-2 and GPIO-3, are dual-purpose and can be configured
as individual out-of-range alarm indicators denoted as ALR-0, ALR-1, ALR-2 and ALR-3 as discussed previously.
Each ALR-n pin displays the logical complement of of each corresponding ALR-n bit. For example, when an
alarm condition occurs, bit ALR-n is set to '1' and pin ALR-n goes logic low. For each GPIO-n pin configured as
an alarm, its corresponding IOST-n bit in the GPIO Register displays the complement of bit ALR-n. For example,
when bit ALR-n is set to '1', bit IOST-n is cleared to '0'. (Note that pins GPIO-4 and GPIO-5 are not dual-purpose,
and are general digital I/O pins only.)
CLEARING ALARM INDICATORS
In summary, the alarm condition would have pin GALR (pin 1) and one or more pins ALR-n at logic low, one or
more bits IOST-n cleared to '0', and one or more bits ALR-n set to '1'. All of these remain in alarm status until the
alarm-causing conditions are removed and a new conversion is completed. When the ADC is operating in auto-
mode, the alarm indicators are displayed after the first 2μs pulse on pin DAV following detection of one or more
of the first four input channels out-of-range. The selected group of input channels is converted repeatedly and
the alarm indicators remain constant until the offending inputs are corrected or until the threshold window levels
are adjusted. When the alarm-causing conditions are removed, the alarm indicators are cleared after the first 2μs
pulse on DAV following removal.
When the ADC is operating in direct-mode, the alarm indicators are displayed after the first data valid signal
(DAV, pin 2, at logic low) following an out-of-range condition. The alarm indicators remain constant until either
the inputs are corrected or the threshold windows adjusted, and another convert command is issued and
completed.
In either operating mode, the alarm indicators may be cleared if a new conversion command is issued identifying
a subset of input channels not containing the channel or channels out of range.
The alarm indicators may also be cleared by a general hardware or software reset, or a power-on reset.
POWER-ON RESET AND POWER-SUPPLY SEQUENCE
After power-on or reset, all registers are reset to the default values (see Table 2). In order for the device to work
properly, BVDD must not be applied before DVDD and AVDD are applied, and DVDD must not be applied before
AVDD is applied. All three supplies must power up before the external reference voltage (if any) is applied.
Additionally, because the DAC input shift register is not reset during a power-on reset (or during a hardware
reset or software reset), the SS pin must not be unintentionally asserted during power-up of the device. It is
recommended that the SS pin be connected to BVDD through a pull-up resistor to avoid improper power-up.
Likewise, the state of the ELDAC pin must be maintained at ground potential during power-up. To ensure that the
ESD protection circuitry of this device is not activated, all other digital pins must remain at ground potential until
BVDD is applied.
Copyright © 2005–2012, Texas Instruments Incorporated
Product Folder Link(s): AMC7823
Submit Documentation Feedback
37