AD5421
Data Sheet
CONTROL REGISTER
The control register is a read/write register and is addressed as described in Table 12. The data programmed to the control register
determines the mode of operation of the AD5421.
Table 17. Control Register Bit Map
MSB
D15 D14 D13 D12
D11
SPI watchdog timeout
T0 T1 T2
SPI
watchdog
timer
Auto fault
readback
D10
Alarm on
SPI fault
D9
Set min
loop
current
D8
Select
ADC
input
D7
On-chip
ADC
D6
Power down
internal
reference
D5
VLOOP
fault
alert
LSB
D4 D3 D2 D1 D0
Reserved
Table 18. Control Register Bit Descriptions
Control Bits Description
SPI watchdog The T0, T1, and T2 bits allow the user to program the watchdog timeout period. The watchdog timer is reset when a valid
timeout
write to any AD5421 register occurs or when a NOP command is written.
T0
T1
T2
Timeout Period
0
0
0
50 ms
0
0
1
100 ms
0
1
0
500 ms
0
1
1
1 sec (default)
1
0
0
2 sec
1
0
1
3 sec
1
1
0
4 sec
1
1
1
5 sec
SPI watchdog 0 = SPI watchdog timer is enabled (default).
timer
1 = SPI watchdog timer is disabled.
Auto fault
readback
This bit specifies whether the fault register contents are automatically clocked out on the SDO pin on each write operation.
(The fault register can always be addressed for readback.)
0 = fault register contents are clocked out on the SDO pin (default).
1 = fault register contents are not clocked out on the SDO pin.
Alarm on SPI This bit specifies whether the loop current is forced to the alarm value when an SPI fault is detected (that is, the watchdog
fault
timer times out). When an SPI fault is detected, the SPI fault bit of the fault register and the FAULT pin are always set.
0 = loop current is forced to the alarm value when an SPI fault is detected (default).
1 = loop current is not forced to the alarm value when an SPI fault is detected.
Set min loop
current
0 = normal operation (default).
1 = loop current is set to its minimum value so that the total current flowing in the loop consists only of the operating
current of the AD5421 and its associated circuitry.
Select ADC
input
0 = on-chip ADC measures the voltage between the VLOOP and COM pins (default).
1 = on-chip ADC measures the temperature of the AD5421 die.
On-chip ADC 0 = on-chip ADC is disabled (default).
1 = on-chip ADC is enabled.
Power down
internal
reference
0 = internal voltage reference is powered up (default).
1 = internal voltage reference is powered down and an external voltage reference source is required.
VLOOP fault
alert
This bit specifies whether the FAULT pin is set when the voltage between the VLOOP and COM pins falls to approximately 0.3 V.
(The VLOOP 6V bit of the fault register is always set.)
0 = FAULT pin is not set when the VLOOP − COM voltage falls to approximately 0.3 V.
1 = FAULT pin is set when the VLOOP − COM voltage falls to approximately 0.3 V.
Rev. H | Page 28 of 36