AD5592R - Unable to set DAC-register and the DAC Data analog output

Hi,

While writing DAC Data to DAC3, no change in voltage is obtained measuring the DAC 3 outlet.

Prior to this operation, the readback of the "Readback and LDAC" register gave no response on the SPI  MISO.

The initialization of the SPI is shown below.

Is there something wring or missing in the initialization or SPI session ?

Initialization:
===============
SOFTWARE_RESET_REG:          0b0111.1101.1010.1100
GENERAL_PURPOSE_CONTROL_REG: 0b0001.1000.0011.0000
DAC_PIN_CONFIG_REG:          0b0010.1000.0000.1000 // Select DAC3
ADC_PIN_CONFIG_REG:          0b0010.0000.1111.0100
GPIO_READ_CONFIG_REG:        0b0101.0000.0000.0010


SPI session: Setting of analog output with Readback of DAC register:
====================================================================
READBACK_AND_LDAC_MODE_REG: 0b0011.1000.0100.0100 = 0x3844 // D11-D14: Adress Register,
                                                           // D6: Enable Readback,
                                                           // D2-D5: Select DAC-Reg Readback
                                                           // D0-D1: Immediate copy to DAC-Reg and DAC Output

DAC_WRITE_REG: 0b1011.0001.1001.1001 = 0xB199              // DAC Write Reg.+ DAC Data

Regards.

Top Replies