Hi Mank,
You have explained in accurately. I have been working on programing it now and seems not getting any right output. The following sequences are done in my program.
- 1) To power up the both DAC write (24 bit) 0x100005 to the DAC
- 2) To set output voltage to -+5v write (24 bit) 0x0C0003 to DAC
- 3) Now write 24 bit full scale data to DAC-B (0x020000 + 0xFFFF =) 0x2FFFF
When writing to the DAC 1ns delay has been placed for every sequence and the following logical sequence are followed
Start the program
1) Ensure /LDAC is high
2) Ensure /SYNC is high
3) Ensure clock is LOW
4) Ensure /SYNC low
5) For (i=1; i<= 24; i++)
{
/* First bit out = MSB first*/
Set data bit
Clock it high then low
}
7) Release /SYNC high
8) Release /LDAC low
END of program
I am not getting any voltage changes at the output. Please let me know if anything wrong in my program sequence.
Many thanks for your assistance on this.
Kind regards
Moynul