SLAAE22A June   2021  – April 2024 DAC43204 , DAC53001 , DAC53002 , DAC53202 , DAC53204 , DAC53204W , DAC63001 , DAC63002 , DAC63202 , DAC63204 , TPS7A57 , TPS7A94

 

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

Design Notes

  1. The DACx3204 12-Bit, 10-Bit, and 8-Bit, Quad Voltage and Current Output Smart DACs With Auto-Detected I2C, PMBus™, or SPI Interface Data Sheet recommends using a 100nF 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. There are three reference options for the DAC53204:
    1. An external reference of 1.7V to VDD can be applied to the VREF pin of the device. Connect a 100nF capacitor between the VREF pin and the AGND pin when using the external reference. Use a pullup resistor to VDD when the external reference is not used.
    2. There is a precision 1.21V reference with ×1.5, ×2, ×3, and ×4 gain options.
    3. VDD can be used as a reference.
  3. The nominal voltage of the SMPS is set by resistors R1 and R2. The SMPS uses an internal 600mV reference voltage at the FB pin to determine the voltage at the output. Calculate R1 and R2 using the following equations:
    R 1 = V N O M I N A L - V F B I N O M I N A L
    R 2 = R 1 × V F B V N O M I N A L - V F B
    A nominal current of 100µA through R1 and R2 and 3.3V nominal output voltage is used. With these values the equations become:
    R 1 = 3.3 V - 0.6 V 100 μ A = 27 k Ω
    R 2 = 27 k Ω × 0.6 V 3.3 V - 0.6 V = 6 k Ω
  4. To achieve the desired margin, the DAC53204 must sink or source additional current through R1. This current (IMARGIN) is calculated by:
    I M A R G I N = V N O M I N A L × 1 + M A R G I N - V F B R 1 - I N O M I N A L
    For a ±10% margin, the equation becomes:
    I M A R G I N = 3.3 V × 1 + 0.10 - 0.6 V 27 k Ω - 100 μ A = 12 μ A
  5. The voltage output of the DAC53204 is turned into a current through the series resistor R3. R3 is calculated by:
    R 3 = V D A C - V F B I M A R G I N
    Avoid DAC codes near zero- and full-scale when determining the DAC output voltage range to avoid the zero- and full-scale errors at these codes. This design uses the internal 1.21V reference with a gain of ×1.5 giving a full-scale voltage of 1.82V. The DAC53204 has a max zero-code error of 15mV, so a 20mV minimum output is a safe choice. IMARGIN is considered positive and is being sourced from the DAC when VDAC > VFB. IMARGIN is considered negative and is being sunk by the DAC53204 when VDAC < VFB. R3 is calculated to be 48.3kΩ:
    R 3 = 20 m V - 0.6 V - 12 μ A = 48.3 k Ω
    The maximum output becomes:
    V D A C , M A X = R 3 × I M A R G I N + V F B
    V D A C , M A X = 48.3 k Ω × 12 μ A + 0.6 V = 1.18 V
  6. The DAC codes for VDAC,MAX and VDAC,MIN are stored in the DAC-MARGIN-HIGH and DAC-MARGIN-LOW registers. The codes programmed to these registers, in decimal, is calculated using:
    D A C _ M A R G I N _ H I G H = V D A C , M A X V R E F × G A I N × 1024
    D A C _ M A R G I N _ L O W = V D A C , M I N V R E F × G A I N × 1024
    The equations become:
    D A C _ M A R G I N _ H I G H = 1.18 V 1.21 V × 1.5 × 1024 = 665.7 d
    D A C _ M A R G I N _ L O W = 20 m V 1.21 V × 1.5 × 1024 = 11.2 d

    This is rounded to 666d and 11d to give a VDAC,MAX of 1.18V and a VDAC,MIN of 19.5mV.

  7. Using a 1.21V reference with a ×1.5 gain and the 10-bit DAC53204, the LSB size, or step size between each code, is about 1.8mV. Using lower reference voltages decreases the LSB size and thus increases the resolution of VDAC,MAX and VDAC,MIN.
  8. In this design, GPI is used for Margin High, Low function. A high on GPI sets the DAC output to VDAC,MAX and the SMPS VOUT to margin low, or 2.97V. A low on GPI sets the DAC output to VDAC,MIN and the SMPS VOUT to margin high, or 3.63V.
  9. The DAC53204 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.