Help with AD5669 I2C DAC module

Hi everyone,

Did someone ever worked with a similar module? If so can you post here the code ? I'm having problems understanding how to work with more than one ports simultaneously and i would like to understand how it operates.

If someone could help me i would really appreciate it.

Best regards

Give a link to its pdf version of data sheets.

Any help would be appreciated.

1. This is an untested proposed connection diagram between the AD5669-R3 and Arduino UNO using I2C Bus.
dac5669.png

2. Connect a DVM between VOUTA-pin and GND.

3. Upload the following sketch into UNO. Check that the DVM reads about 1.70V.

#include<Wire.h>     //this file is needed for the I2C Bus operation

void setup()
{
   Serial.begin(9600);        //enable serial interface with PC
   Wire.begin();                 //create I2C Bus

   //----check that the device is present at address ob1010111
   Wire.beginTransmission(0b1010111);
   byte busStatus = Wire.endTransmission();
   if(bustatus != 0)
   {
      Serial.print("Device is not found...!");
      while(1);     //wait for ever
   }
 
   //---set internal reference voltage for DAC-A
   Wire.beginTransmission(0b1010111);
   Wire.write(0b10000000);
   Wire.write(0b00000000);
   Wire.endTransmission();

   //--- write 0x570A into the device to get 1.70V at VOUTA pin
   Wire.beginTransmission(0b1010111);
   Wire.write(0b00000000);
   Wire.write(0b00000000);
   Wire.write(0x57);
   Wire.write(0x0A);
   Wire.endTransmission();
   
   //--update DAC A Register------- 
   Wire.beginTransmission(0b1010111);
   Wire.write(0b00000001);
   Wire.write(0b00000000);
   Wire.endTransmission();
}

void loop()
{

}

Please, report the result.

dac5669.png