SLAAE22 June   2021 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 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 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. There are three reference options for the DAC53204:
    1. An external reference of 1.7 V to VDD can be applied to the VREF pin of the device. Connect a 100nF capacitor between VREF and AGND when using the external reference. Use a pullup resistor to VDD when the external reference is not used.
    2. There is a precision 1.21 V 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 600-mV 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 MathType@MTEF@5@5@+= feaahqart1ev3aaatCvAUfeBSjuyZL2yd9gzLbvyNv2CaerbbjxAHX garmWu51MyVXgatCvAUfKttLearyqqSDwzYLwyUbqefqvATv2CG4uz 3bIuV1wyUbqee0evGueE0jxyaibaieYdNuQ8A9xipEsP0dZdbbL8F4 rqqrFfpeea0xe9Lq=Jc9vqaqpepm0xbba9pwe9Q8fs0=yqaqpepae9 pg0FirpepeKkFr0xfr=xfr=xb9adbaqaaeaacaGaaiaadaqaaqaaei qbaaGcbaaeaaaaaaaaa8qacaWGsbWaaSbaaSqaaiaaigdaaeqaaOWd aiabg2da9maalaaabaGaamOvamaaBaaaleaacaWGobGaam4taiaad2 eacaWGjbGaamOtaiaadgeacaWGmbaabeaakiabgkHiTiaadAfadaWg aaWcbaGaamOraiaadkeaaeqaaaGcbaGaamysamaaBaaaleaacaWGob Gaam4taiaad2eacaWGjbGaamOtaiaadgeacaWGmbaabeaaaaaaaa@4F02@
    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.3 V nominal output voltage will be 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.21 V reference with a gain of ×1.5 giving a full-scale voltage of 1.82 V. The DAC53204 has a max zero-code error of 15mV, so a 20-mV minimum output is a safe choice. The maximum output becomes:
    V D A C , M A X = V R E F , D A C × G A I N - V F B - V D A C , M I N
    V D A C , M A X = 1.21 V × 1.5 - 0.6 - 20 m V = 1.2 V
    With this DAC range, R3 becomes:
    R 3 = 1.2 V - 0.6 V 12 µ A = 50 k Ω
  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 × 102 4
    The equations become:
    D A C _ M A R G I N _ H I G H = 1.2 V 1.21 V × 1.5 × 102 4 = 677 d
    D A C _ M A R G I N _ L O W = 20 m V 1.21 V × 1.5 × 102 4 = 11.2 d

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

  7. Using a 1.21-V 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.97 V. 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.