Other Parts Discussed in Thread: DAC8750
(In the following text, ALARM refers to ALARM_BAR pin of DAC7750)
I was experimenting with DAC7750 by noticing the behavior of ALARM pin. As per datasheet it should go low when there is an open circuit. That's what happens in practical too.
The thing which intrigued and confused me about how ALARM feature is that when I gave command to set 0mA current to DAC7750, and IOUT pin is floating in air, ALARM pin is LOW indicating open circuit. But when I shorted IOUT pin to ground pin, IOUT became HIGH. Then I attached an LED on IOUT pin (the current is still set to 0mA) thinking that LED will create a barrier of atleast 1.7V for it to switch on so it will be open circuit at 0mA. But the moment I connected LED, ALARM pin became logic HIGH. Instead of LED I even tried connecting a Voltmeter to see the IOUT voltage wrt gnd thinking that Violtmeter has significantly high input impedance and ALARM will remain LOW, but after connecting multimeter too, ALARM pin became HIGH indicating 'No Open Circuit'. !!!!
The thing I want to ask is that how does ALARM circuit inside is detecting even in 0mA current that if IOUT pin is open circuit or not. Why didn't it treat a Voltmeter or and LED to be an open circuit eben at 0mA current output/ In the datasheet, ALARM circuit is not given.
The registers I have set for the experiment are:
Reset= 0x0001 // Reset registers to default
DAC_NOP= 0x0000 // NOP operation
CONTROL= 0b0001000000000110 // o/p enable, o/p->0-20mA, current setting res enable
CONFIG= 0b0000000000100000 // disable HART, watchdog, error-check, calibration
GAIN = 0x8000 // Gain of 1, default is 0.5
DATA= 0x0000