TLV 5616
TLV 5616
                                                                                 AVAILABLE OPTIONS
                                                                                                        PACKAGE
                                               TA                       SMALL OUTLINE†                    MSOP                  PLASTIC DIP
                                                                              (D)                         (DGK)                     (P)
                                         0°C to 70°C                      TLV5616CD                   TLV5616CDGK                TLV5616CP
                                     – 40°C to 85°C            TLV5616ID              TLV5616IDGK                                TLV5616IP
                                  † Available in tape and reel as the TLV5616CDR and the TLV5616IDR
                    Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
                    Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
PRODUCTION DATA information is current as of publication date.                                                              Copyright  2002, Texas Instruments Incorporated
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
                                _
              6
    REFIN                       +
              1            Serial Input               14            12
       DIN                  Register                                              12-Bit
                                                                                                12                         7
                                                                                   Data                         x2             OUT
              2                                                                   Latch
     SCLK
              3              16 Cycle              Update
       CS                     Timer
              4
        FS
                            Power-On                                     2
                              Reset                                                Speed/Power-Down
                                                                                         Logic
                                                        Terminal Functions
              TERMINAL
                           I/O                                                DESCRIPTION
             NAME   NO.
         AGND         5             Analog ground
         CS           3     I       Chip select. Digital input used to enable and disable inputs, active low.
         DIN          1     I       Serial digital data input
         FS           4     I       Frame sync. Digital input used for 4-wire serial interfaces such as the TMS320 DSP interface.
         OUT          7     O       DAC analog output
         REFIN        6     I       Reference analog input voltage
         SCLK         2     I       Serial digital clock input
         VDD          8             Positive power supply
absolute maximum ratings over operating free-air temperature range (unless otherwise noted)†
       Supply voltage (VDD to AGND) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 V
       Reference input voltage range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 0.3 V to VDD + 0.3 V
       Digital input voltage range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 0.3 V to VDD + 0.3 V
       Operating free-air temperature range, TA: TLV5616C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0°C to 70°C
                                                           TLV5616I . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 40°C to 85°C
       Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 65°C to 150°C
       Lead temperature 1,6 mm (1/16 inch) from case for 10 seconds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260°C
† Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and
  functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not
  implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
power supply
                            PARAMETER                                                 TEST CONDITIONS                            MIN    TYP        MAX     UNIT
                                                                           VDD = 5 V, VREF = 2.048 V,
                                                                                                                  Fast                      0.9     1.35     mA
                                                                           No load,
                                                                           All inputs = AGND or VDD,
                                                                           DAC latch = 0x800                      Slow                      0.4      0.6     mA
 IDD        Power supply current
                                                                           VDD = 3 V, VREF = 1.024 V
                                                                                                                  Fast                      0.7      1.1     mA
                                                                           No load,
                                                                           All inputs = AGND or VDD,
                                                                           DAC latch = 0x800                      Slow                      0.3     0.45     mA
output specifications
                  PARAMETER                                        TEST CONDITIONS                        MIN     TYP                MAX       UNIT
 VO              Voltage output range                RL = 10 kΩ                                              0                 AVDD–0.1         V
                                                                                                                                              % of FS
                 Output load regulation accuracy     RL = 2 kΩ, vs 10 kΩ                                           0.1               ±0.25
                                                                                                                                              voltage
digital inputs
                       PARAMETER                                             TEST CONDITIONS                     MIN         TYP      MAX      UNIT
 IIH       High-level digital input current                  VI = VDD                                                                   ±1      µA
 IIL       Low-level digital input current                   VI = 0 V                                                                   ±1      µA
 CI        Input capacitance                                                                                                    3               pF
twL twH
       ÎÎÎÎÎ                                                                                                               ÎÎÎ
       ÎÎÎÎÎ
    SCLK                1               2                 3                  4                5   15           16
                                                                                                                           ÎÎÎ
       ÎÎÎÎ                                                                                                               ÎÎÎÎ
              tsu(D)                    th(D)
       ÎÎÎÎ
      DIN                   D15
                                  tsu(FS-CK)
                                             D14              D13                D12                   D1            D0
                                                                                                                          ÎÎÎÎ
                                                                                                              tsu(C16-CS)
                         tsu(CS-FS)
CS
twH(FS) tsu(C16-FS)
FS
TYPICAL CHARACTERISTICS
                                                                                                        VO – Output Voltage – V
                                                                                                                                                         5 V Fast Mode, SOURCE
1.998 3.995
1.996 3.99
1.994 3.985
1.992 3.98
                            1.990                                                                                                           3.975
                                       0   0.01 0.02 0.05 0.1        0.2   0.5    1     2      4                                                    0    0.02 0.04 0.1 0.2 0.4      1        2     4
                                                          Load Current – mA                                                                                         Load Current – mA
Figure 2 Figure 3
                                0.14                                                                                                         0.25
      VO – Output Voltage – V
VO – Output Voltage – V
                                  0                                                                                                             0
                                       0   0.01 0.02 0.05 0.1 0.2 0.5              1     2                                                          0    0.02 0.04 0.1 0.2 0.4     1         2     4
                                                      Load Current – mA                                                                                            Load Current – mA
                                                          Figure 4                                                                                                     Figure 5
TYPICAL CHARACTERISTICS
                                                                                                                                     I DD – Supply Current – mA
                                               0.8                                                                                                                  0.8
Fast Mode
0.6 0.6
                                               0.4                                                                                                                  0.4
                                                                                                                                                                                                      Slow Mode
                                                                             Slow Mode
                                               0.2                                                                                                                  0.2
                                                 –55 –40        –25    0   25 40      70    85     125                                                                –55 –40 –25    0    25 40     70    85           125
                                                                TA – Free-Air Temperature – C°                                                                                TA – Free-Air Temperature – C°
Figure 6 Figure 7
–20 –20
–30 –30
––40 ––40
–50 –50
                                               –60                                                                                                                –60
                                                                             Fast Mode
                                                                                                                                                                                                 Slow Mode
                                               –70                                                                                                                –70
                                               –80                                                                                                                –80
                                                      0        5        10      20       30      50      100                                                             0       5          10      20       30   50         100
                                                                        f – Frequency – kHz                                                                                                 f – Frequency – kHz
                                                                         Figure 8                                                                                                             Figure 9
TYPICAL CHARACTERISTICS
                                                        TOTAL HARMONIC DISTORTION AND NOISE                                                                                                                    TOTAL HARMONIC DISTORTION AND NOISE
                                                                        vs                                                                                                                                                     vs
                                                                   FREQUENCY                                                                                                                                              FREQUENCY
                                                   0                                                                                                                                                      0
–20 –20
–30 –30
––40 ––40
                                                 –50                                                                                                                                                    –50
                                                                                      Fast Mode                                                                                                                                       Slow Mode
                                                 –60                                                                                                                                                    –60
–70 –70
                                                 –80                                                                                                                                                    –80
                                                        0       5       10                                 20           30        50       100                                                                 0       5       10       20      30     50   100
                                                                        f – Frequency – kHz                                                                                                                                    f – Frequency – kHz
Figure 10 Figure 11
                                                                                                                            SUPPLY CURRENT
                                                                                                                                  vs
                                                                                                                TIME (WHEN ENTERING POWER-DOWN MODE)
                                                                                                           900
800
                                                                                                           700
                                                                             I DD – Supply Current – µ A
600
500
400
300
200
100
                                                                                                                0
                                                                                                                    0   100 200 300 400 500 600 700 800 900 1000
                                                                                                                                          T – Time – ns
Figure 12
                                                                                                                                TYPICAL CHARACTERISTICS
                                                                                                                                       INTEGRAL NONLINEARITY ERROR
                                                           INL – Integral Nonlinearity Error – LSB      2
                                                                                                      1.5
                                                                                                        1
                                                                                                      0.5
                                                                                                        0
                                                                                                     –0.5
                                                                                                      –1
                                                                                                     –1.5
                                                                                                      –2
                                                                                                     –2.5
                                                                                                      –3
                                                                                                     –3.5
                                                                                                            0     256   515 768 1024 1280 1536 1792 2048 2304 2560 2816 3072 3328 3584 3840
                                                                                                                                                         Digital Code
                                                                                                                                                Figure 13
             DNL – Differential Nonlinearity Error – LSB
Figure 14
APPLICATION INFORMATION
general function
    The TLV5616 is a 12-bit single supply DAC based on a resistor string architecture. The device consists of a serial
    interface, speed and power-down control logic, a reference input buffer, a resistor string, and a rail-to-rail output
    buffer.
    The output voltage (full scale determined by external reference) is given by:
    where REF is the reference voltage and CODE is the digital input value within the range of 010 to 2n–1, where
    n = 12 (bits). The 16-bit data word, consisting of control bits and the new DAC value, is illustrated in the data
    format section. A power-on reset initially resets the internal latches to a defined state (all bits zero).
serial interface
    Explanation of data transfer: First, the device has to be enabled with CS set to low. Then, a falling edge of FS
    starts shifting the data bit-per-bit (starting with the MSB) to the internal register on the falling edges of SCLK.
    After 16 bits have been transferred or FS rises, the content of the shift register is moved to the DAC latch which
    updates the voltage output to the new level.
    The serial interface of the TLV5616 can be used in two basic modes:
    D   Four wire (with chip select)
    D   Three wire (without chip select)
    Using chip select (four wire mode), it is possible to have more than one device connected to the serial port of
    the data source (DSP or microcontroller). The interface is compatible with the TMS320 family. Figure 15 shows
    an example with two TLV5616s connected directly to a TMS320 DSP.
TLV5616 TLV5616
                          TMS320
                           DSP
                                XF0
                                XF1
                                FSX
                                 DX
                               CLKX
APPLICATION INFORMATION
         Notes on SPI and Microwire: Before the controller starts the data transfer, the software has to generate a falling
         edge on the I/O pin connected to FS. If the word width is 8 bits (SPI and Microwire), two write operations must
         be performed to program the TLV5616. After the write operation(s), the DAC output is updated automatically
         on the next positive clock edge following the sixteenth falling clock edge.
              f
                  SCLKmax
                            +t            ) twL(min) + 20 MHz
                                                 1
                                  wH(min)
              f
                  UPDATEmax
                                  +
                                      16   ǒ t
                                                 wH(min)
                                                           1
                                                               ) twL(min)      Ǔ   + 1.25 MHz
         The maximum update rate is a theoretical value for the serial interface, since the settling time of the TLV5616
         has to be considered also.
data format
         The 16-bit data word for the TLV5616 consists of two parts:
         D   Control bits                  (D15 . . . D12)
         D   New DAC value                 (D11 . . . D0)
APPLICATION INFORMATION
                                             FS                       FS
                                            DX                        DIN
                                       CLKX                           SCLK
                                                                           OUT
                                                     REF              REFIN
                                                                                            RLOAD
                                                                      CS AGND
                                          APPLICATION INFORMATION
     ;***************************************************************************************
     ;* Main Program
     ;***************************************************************************************
            .ps       1000h
            .entry
     start:
     ; disable interrupts
            setc      INTM         ; disable maskable interrupts
            splk      #0ffffh, IFR
            splk      #0004h, IMR
     ; set up the timer to interrupt ever 205uS
            splk      #0000h, 60h
            splk      #00FFh, 61h
            out       61h, PRD
            out       60h, TIM
            splk      #0c2fh, 62h
            out       62h, TCR
     ; Configure SSP to use internal clock, internal frame sync and burst mode
            splk      #0CC0Eh, 63h
            out       63h, SSPCR
            splk      #0CC3Eh, 63h
            out       63h, SSPCR
              splk         #0000h, 64h ; set initial DAC value
     ; enable interrupts
            clrc      INTM                 ; enable maskable interrupts
     ; loop forever!
     next:     idle                        ;wait for interrupt
               b     next
     ; all else fails stop here
     done:     b      done                 ;hang there
     ;***************************************************************************************
     ;* Interrupt Service Routines
     ;***************************************************************************************
     INT1:     ret                ;do nothing and return
     INT23:        ret                     ;do nothing and return
     TIM_ISR:
                   lacl    64h             ;   restore counter value to ACC
                   add     #1h             ;   increment DAC value
                   and     #0FFFh          ;   mask 4 MSBs
                   sacl    64h             ;   store 12 bit counter value
                   or      #4000h          ;   set DAC control bits
                   sacl    65h             ;   store DAC value
                   out     65h, SDTR       ;   send data
APPLICATION INFORMATION
                                                     RxD                       SDIN
                                                     TxD                       SCLK
                                                     P3.4                      CS
                                                     P3.5                      FS
                                                                                      OUT
                                                              REF              REFIN                   RLOAD
                                                                                    AGND
software
     The example program puts out a sine wave on the OUT pin.
     The on-chip timer is used to generate interrupts at a fixed frequency. The related interrupt service routine fetches
     and writes the next sample to the DAC. The samples are stored in a lookup table, which describes one full period
     of a sine wave.
     The serial port of the controller is used in mode 0, which transmits 8 bits of data on RxD, accompanied by a
     synchronous clock on TxD. Two writes concatenated together are required to write a complete word to the
     TLV5616. The CS and FS signals are provided in the required fashion through control of I/O port 3, which has
     bit addressable outputs.
     ;***************************************************************************************
     ;* Title   : Ramp generation with TLV5616                                              *
     ;* Version : 1.0                                                                       *
     ;* MCU     : INTEL MCS51                                                              *
     ;*  (1998) Texas Instruments Incorporated                                             *
     ;***************************************************************************************
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
     ; Program function declaration
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
     NAME      GENSINE
     MAIN      SEGMENT              CODE
     ISR       SEGMENT              CODE
     SINTBL    SEGMENT              CODE
     VAR1      SEGMENT              DATA
     STACK     SEGMENT              IDATA
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
     ; Code start at address 0, jump to start
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
           CSEG AT      0
MCS is a registered trademark of Intel Corporation
                                          APPLICATION INFORMATION
        LJMP      start     ; Execution starts at address 0 on power–up.
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
     ; Code in the timer0 interrupt vector
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
        CSEG AT 0BH
        LJMP      timer0isr ; Jump vector for timer 0 interrupt is 000Bh
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
     ; Define program variables
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
        RSEG      VAR1
     rolling_ptr: DS 1
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
     ; Interrupt service routine for timer 0 interrupts
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
          RSEG           ISR
     timer0isr:
          PUSH           PSW
          PUSH           ACC
          CLR            T0                ; set CSB low
          CLR                  T1          ; set FS low
          ;   The signal to be output on the dac is a sine function. One cycle of a sine wave is
          ;   held in a table @ sinevals as 32 samples of msb, lsb pairs (64 bytes). The pointer,
          ;   rolling_ptr, rolls round the table of samples incrementing by 2 bytes (1 sample) on
          ;   each interrupt (at the end of this routine).
          MOV            DPTR,#sinevals ; set DPTR to the start of the table of sine signal values
          MOV            A,rolling_ptr ; ACC loaded with the pointer into the sine table
          MOVC           A,@A+DPTR         ; get msb from the table
          ORL            A, #00H           ; set control bits
          MOV            SBUF,A            ; send out msb of data word
          MOV A,rolling_ptr ; move rolling pointer in to ACC
          INC        A               ; increment ACC holding the rolling pointer
          MOVC       A,@A+DPTR       ; which is the lsb of this sample, now in ACC
     MSB_TX:
        JNB              TI, MSB_TX        ; wait for transmit to complete
        CLR              TI                ; clear for new transmit
        MOV              SBUF,A            ; and send out the lsb
     LSB_TX:
        JNB              TI, LSB_TX        ; wait for lsb transmit to complete
        SETB             T1                ; set FS = 1
        CLR              TI                ; clear for new transmit
          MOV      A,rolling_ptr           ; load ACC with rolling pointer
          INC      A                       ; increment the ACC twice, to get next sample
          INC      A
          ANL      A,#03FH                 ; wrap back round to 0 if >64
          MOV      rolling_ptr,A           ; move value held in ACC back to the rolling pointer
          SETB     T0                      ; CSB high
          POP      ACC
          POP      PSW
        RETI
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
     ; Set up stack
     ;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
                                APPLICATION INFORMATION
   RSEG   STACK
   DS     10h                ; 16 Byte Stack!
;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
; Main Program
;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
   RSEG   MAIN
start:
   MOV    SP,#STACK–1     ; first set Stack Pointer
   CLR    A
   MOV    SCON,A          ;   set   serial port 0 to mode 0
   MOV    TMOD,#02H       ;   set   timer 0 to mode 2 – auto–reload
   MOV    TH0,#0C8H       ;   set   TH0 for 16.67 kHs interrupts
   SETB   T1              ;   set   FS = 1
   SETB   T0              ;   set   CSB = 1
   SETB   ET0             ; enable timer 0 interrupts
   SETB   EA              ; enable all interrupts
   MOV    rolling_ptr,A             ; set rolling pointer to 0
   SETB   TR0                       ; start timer 0
always:
    SJMP  always             ; while(1) !
    RET
;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
; Table of 32 sine wave samples used as DAC data
;–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
    RSEG  SINTBL
sinevals:
    DW    01000H
    DW    0903EH
    DW    05097H
    DW    0305CH
    DW    0B086H
    DW    070CAH
    DW    0F0E0H
    DW    0F06EH
    DW    0F039H
    DW    0F06EH
    DW    0F0E0H
    DW    070CAH
    DW    0B086H
    DW    0305CH
    DW    05097H
    DW    0903EH
    DW    01000H
    DW    06021H
    DW    0A0E8H
    DW    0C063H
    DW    040F9H
    DW    080B5H
    DW    0009FH
    DW    00051H
    DW    00026H
    DW    00051H
    DW    0009FH
    DW    080B5H
    DW    040F9H
    DW    0C063H
    DW    0A0E8H
    DW    06021H
END
APPLICATION INFORMATION
                                   Output
                                   Voltage
                                         0V
                                                                     DAC Code
                              Negative
                                Offset
                                                          1           8
                                                          2           7           0.1 µF
                                                          3           6
                                                          4           5
APPLICATION INFORMATION
                                                         MECHANICAL DATA
D (R-PDSO-G**)                                                                                   PLASTIC SMALL-OUTLINE PACKAGE
14 PIN SHOWN
0.050 (1,27)
                                        0.020 (0,51)
                                                             0.010 (0,25) M
                                        0.014 (0,35)
         14                                       8
                                                                                                                       0.010 (0,25)
              1                                   7
                                                                                                     0°– 8°
                                                                                                                       0.044 (1,12)
                               A                                                                                       0.016 (0,40)
Seating Plane
                                                       PINS **
                                                                    8           14          16
                                              DIM
                                                        MECHANICAL DATA
DGK (R-PDSO-G8)                                                                               PLASTIC SMALL-OUTLINE PACKAGE
                                                0,38
       0,65                                                 0,25 M
                                                0,25
                8                        5
                                                                                             0,15 NOM
                                                  3,05     4,98
                                                  2,95     4,78
Gage Plane
0,25
                    1                4                                                      0°– 6°
                                                                                                                      0,69
                          3,05                                                                                        0,41
                          2,95
Seating Plane
                                         0,15
            1,07 MAX                                               0,10
                                         0,05
4073329/B 04/98
                                                        MECHANICAL DATA
P (R-PDIP-T8)                                                                                    PLASTIC DUAL-IN-LINE PACKAGE
                                          0.400 (10,60)
                                          0.355 (9,02)
8 5
                                         0.260 (6,60)
                                         0.240 (6,10)
1 4
                                                                                                                     0.310 (7,87)
                     0.020 (0,51) MIN
                                                                                                                     0.290 (7,37)
Seating Plane
                        0.021 (0,53)
                                          0.010 (0,25) M
                        0.015 (0,38)                                                              0.010 (0,25) NOM
4040082 / B 03/95
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,
enhancements, improvements, and other changes to its products and services at any time and to discontinue
any product or service without notice. Customers should obtain the latest relevant information before placing
orders and should verify that such information is current and complete. All products are sold subject to TI’s terms
and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in
accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI
deems necessary to support this warranty. Except where mandated by government requirements, testing of all
parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for
their products and applications using TI components. To minimize the risks associated with customer products
and applications, customers should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right,
copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process
in which TI products or services are used. Information published by TI regarding third–party products or services
does not constitute a license from TI to use such products or services or a warranty or endorsement thereof.
Use of such information may require a license from a third party under the patents or other intellectual property
of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without
alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction
of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for
such altered documentation.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that
product or service voids all express and any implied warranties for the associated TI product or service and
is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
Mailing Address:
                                             Texas Instruments
                                             Post Office Box 655303
                                             Dallas, Texas 75265