SLAAE28A November   2021  – March 2022 DAC43204 , DAC53004 , DAC53204 , DAC53204W , DAC63004 , DAC63204

 

  1.   Design Objective
  2.   Design Description
  3.   Design Notes
  4.   Design Simulations
    1.     Transient Simulation Results
  5.   Register Settings
  6.   Pseudo Code Example
  7.   Design Featured Devices
  8.   Design References

Design Notes

  1. The DACx3004 12-Bit and 10-Bit, Ultra-Low-Power, Quad Voltage and Current Output Smart DACs With Auto-Detected I2C, PMBus™, or SPI data sheet recommends using a 100-nF decoupling capacitor for the VDD pin and a 1.5-µF or greater bypass capacitor for the CAP pin. The CAP pin is connected to the internal LDO. Place these capacitors close to the device pins.
  2. When the external reference is not used, the VREF pin should be connected to VDD through a pullup resistor.
  3. The example circuit shows two methods for controlling the LED current. Current can be set via an RSET resistor and varying the gate voltage of an external MOSFET with the DACx3004 output, or the LED current can be set using the current output mode of the DACx3004.
    1. To adjust the LED current with the external MOSFET, select an RSET resistor and vary the gate voltage with the DAC output. RSET is calculated by:
      R S E T = V S E T I L E D
      If the DAC output voltage range is chosen to be 0 V to 2.5 V, and the required LED current range is 0 mA to 20 mA, RSET is calculated to be:
      R S E T = 2.5   V 20   m A   =   125   Ω

      The DAC codes can be calculated by:

      C o d e = V D A C V R E F × 1024  

      In this design, the internal reference is powered down to limit the power consumption. This configuration compensates the gate-source voltage drop caused by temperature, drain current, and aging of the MOSFET. Assuming a typical gate-source voltage of 1.2 V and a power supply headroom of 200 mV, the VDD for the DAC must be a minimum of (2.5 V + 1.2 V + 200 mV) = 3.9 V. If a 5-V VDD is used as the reference, the high and low DAC values for the 10-bit DAC53004 become:

      C o d e = 2.5   V 5   V × 1024 = 512   d
      C o d e = 0   V 5   V × 1024 = 0   d

      where

      • d = decimal

    2. The DAC can be used in current output mode to drive the LED directly with up to 250 µA. With the ±250 µA range selected, the 8-bit current DAC53004 codes are calculated by:
      C o d e = ( I D A C - I M I N ) × 256 I M A X - I M I N
      The high and low DAC53004 codes become:
      C o d e = ( 250   µ A + 250   µ A ) × 256 250   µ A + 250   µ A = 256   d
      C o d e = ( 0   µ A + 250   µ A ) × 256 250   µ A + 250   µ A = 128   d

      256 decimal (256 d) is rounded down to 255 d to give a high value of 248.04 µA.

  4. The power consumption of the DACx3004 will vary based on the configuration used, and the power down settings. The power consumption is given by:
    P = V D D × I D D S L E E P + x = 0 N - 1 V D D × I D D X

    where

    • IDDSLEEP is the quiescent current for the device in sleep mode
    • N is the number of channels powered on
    • IDDX­ is the quiescent current per channel powered on

    1. One DAC channel is powered on in voltage output mode in the voltage output configuration with the external MOSFET. The quiescent current in voltage output mode is 35 µA typical per channel. The quiescent current of the DAC in sleep mode is 21 µA maximum. With a VDD of 5 V, the power consumption equation becomes:
      P = 5   V × 21   µ A + 5   V × 35   µ A = 280   µ W
      This calculation does not include the load current sourced from VCC though RSET.
    2. One DAC channel is powered on in current output mode in the current output configuration. With a current output range of 0 µA to 250 µA, the quiescent current is 18 µA typical per channel. In this configuration, the load current sourced by the DAC output channel also needs to be added. The power consumption equation becomes:
      P = 5   V × 21   µ A + 5   V × ( 18   µ A   +   250   µ A ) = 1.445   m W
    3. All of the DAC channels are powered down and the device quiescent current is 3 µA maximum in deep-sleep mode. The power consumption equation becomes:
      P = 5   V × 3   µ A = 15   µ W
  5. The slew rate between the high and low DAC codes can be programmed if these two values are stored in the MARGIN-HIGH and MARGIN-LOW DAC registers. The slew time is determined by the settings in the SLEW-RATE and CODE-STEP fields in the DAC-X-FUNC-CONFIG register. The slew time is given by:
    Slew Time=(MARGIN_HIGH_CODE - MARGIN_LOW_CODE+1)CODE_STEP×SLEW_RATE
    If the CODE-STEP is set to 1 LSB, and the SLEW-RATE is set to 4 µs/step, the slew time for the voltage configuration becomes:
    Slew Time=(512-0+1)1×4 µs=2.05 ms
    The slew time for the current output configuration becomes:
    Slew Time=(255-128+1)1×4 µs=512 µs
  6. The GPIO pin is used as an input to enter and exit deep-sleep mode. A falling edge on the GPIO pin puts the device in deep-sleep mode. The LDO takes approximately 550 μs to switch off and the device remains in deep-sleep mode as long as the GPIO input is low. A rising edge brings the device out of deep-sleep mode. The digital circuitry and the LDO take approximately 550 μs to switch on. The register settings to enable the GPIO for this function are described in the Register Settings section.
  7. The DACx3004 can be programmed with the initial register settings described in the Register Settings section using I2C or SPI. The initial register settings can be saved in the NVM by writing a 1 to the NVM-PROG field of the COMMON-TRIGGER register. After programming the NVM, the device loads all registers with the values stored in the NVM after a reset or a power cycle.