Other Parts Discussed in Thread: DAC7750,
i am using DAC7750 for some testing and setting registers as follows (using SPI MODE 0):
send_tDCS(DAC_Reset, 0x0001); // Reset registers to default send_tDCS(DAC_NOP, 0x0000); // NOP operation delay(10); //milliseconds send_tDCS(DAC_Ctrl, 0b0001000000000110); // o/p enable, o/p->0-20mA, current setting res enable send_tDCS(DAC_Config, 0b0000000000100000); // disable HART, watchdog, error-check, calliberation send_tDCS(DAC_GAIN, 0x8000); // Gain of 1, default is 0.5
After setting these registers I am able to program the IC to whatever current I need by DAC data register.
I recently bought DAC7760 (which has voltage output in addition). I have crosschecked the address of the registers are same as DAC7750. After crosschecking in datasheet i kept the register values same as above in DAC7750. CLR-SEL and CLR pin are kept LOW, same SPI MODE 0, REFIN and REFOUT shorted.
But with these settings I am not able to get any current output.
Can someone please help me what register settings should I use to set any desired current I want using DAC data register?