RETRIEVING DATA FROM THE DDC112



Similar documents
SN54165, SN54LS165A, SN74165, SN74LS165A PARALLEL-LOAD 8-BIT SHIFT REGISTERS

SDLS068A DECEMBER 1972 REVISED OCTOBER Copyright 2001, Texas Instruments Incorporated

SN54HC191, SN74HC191 4-BIT SYNCHRONOUS UP/DOWN BINARY COUNTERS

WHAT DESIGNERS SHOULD KNOW ABOUT DATA CONVERTER DRIFT

SN54HC157, SN74HC157 QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS

SN28838 PAL-COLOR SUBCARRIER GENERATOR

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

APPLICATION BULLETIN

High-Speed Gigabit Data Transmission Across Various Cable Media at Various Lengths and Data Rate

Motor Speed Measurement Considerations When Using TMS320C24x DSPs

SN54ALS191A, SN74ALS191A SYNCHRONOUS 4-BIT UP/DOWN BINARY COUNTERS

TSL INTEGRATED OPTO SENSOR

Signal Conditioning Wheatstone Resistive Bridge Sensors

Supply voltage Supervisor TL77xx Series. Author: Eilhard Haseloff

Designing Gain and Offset in Thirty Seconds

Controlling TAS5026 Volume After Error Recovery

SN54F157A, SN74F157A QUADRUPLE 2-LINE TO 1-LINE DATA SELECTORS/MULTIPLEXERS

TSL250, TSL251, TLS252 LIGHT-TO-VOLTAGE OPTICAL SENSORS

Wide Bandwidth, Fast Settling Difet OPERATIONAL AMPLIFIER

Theory of Operation. Figure 1 illustrates a fan motor circuit used in an automobile application. The TPIC kω AREF.

CMOS Power Consumption and C pd Calculation

IrDA Transceiver with Encoder/Decoder

Floating Point C Compiler: Tips and Tricks Part I

How To Close The Loop On A Fully Differential Op Amp

Analysis of Filter Coefficient Precision on LMS Algorithm Performance for G.165/G.168 Echo Cancellation

Wireless Subwoofer TI Design Tests

August 2001 PMP Low Power SLVU051

Smart Battery Module with LEDs and Pack Supervisor

EE 42/100 Lecture 24: Latches and Flip Flops. Rev B 4/21/2010 (2:04 PM) Prof. Ali M. Niknejad

APPLICATION BULLETIN

bq2114 NiCd or NiMH Gas Gauge Module with Charge-Control Output Features General Description Pin Descriptions

EDI s x32 MCM-L SRAM Family: Integrated Memory Solution for TMS320C4x DSPs

LM5030 LM5030 Application: DC - DC Converter Utilizing the Push-Pull Topology

Audio Tone Control Using The TLC074 Operational Amplifier

Filter Design in Thirty Seconds

Simplifying System Design Using the CS4350 PLL DAC

Multi-Transformer LED TV Power User Guide. Anderson Hsiao

DIGITAL COUNTERS. Q B Q A = 00 initially. Q B Q A = 01 after the first clock pulse.

How To Make A Two Series Cell Battery Pack Supervisor Module

MAX II ISP Update with I/O Control & Register Data Retention

EDI s x32 MCM-L SRAM Family: Integrated Memory Solution for TMS320C3x DSPs

Pressure Transducer to ADC Application

Texas Instruments. FB PS LLC Test Report HVPS SYSTEM AND APPLICATION TEAM REVA

Current-Transformer Phase-Shift Compensation and Calibration

Bi-directional level shifter for I²C-bus and other systems.

Using the Texas Instruments Filter Design Database

Dual Current Input 20-Bit ANALOG-TO-DIGITAL CONVERTER

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

Understanding the Terms and Definitions of LDO Voltage Regulators

Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs

Standard Linear & Logic Semiconductor Marking Guidelines

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

HEF4021B. 1. General description. 2. Features and benefits. 3. Ordering information. 8-bit static shift register

A Low-Cost, Single Coupling Capacitor Configuration for Stereo Headphone Amplifiers

Flip-Flops, Registers, Counters, and a Simple Processor

Binary Search Algorithm on the TMS320C5x

Designing With the SN54/74LS123. SDLA006A March 1997

Application Report. 1 Description of the Problem. Jeff Falin... PMP Portable Power Applications ABSTRACT

AMC1100: Replacement of Input Main Sensing Transformer in Inverters with Isolated Amplifier

AAT3520/2/4 MicroPower Microprocessor Reset Circuit

Signal Conditioning Piezoelectric Sensors

DS1821 Programmable Digital Thermostat and Thermometer

Allows the user to protect against inadvertent write operations. Device select and address bytes are Acknowledged Data Bytes are not Acknowledged

CUSTOM GOOGLE SEARCH PRO. User Guide. User Guide Page 1

24-Bit, 96kHz BiCMOS Sign-Magnitude DIGITAL-TO-ANALOG CONVERTER

DS1621 Digital Thermometer and Thermostat

DS1621 Digital Thermometer and Thermostat

ZL30136 GbE and Telecom Rate Network Interface Synchronizer

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

DM74LS112A Dual Negative-Edge-Triggered Master-Slave J-K Flip-Flop with Preset, Clear, and Complementary Outputs

Design Note DN004. Folded Dipole Antenna for CC25xx By Audun Andersen. Keywords. 1 Introduction CC2500 CC2550 CC2510 CC2511

PACKAGE OUTLINE DALLAS DS2434 DS2434 GND. PR 35 PACKAGE See Mech. Drawings Section

CHAPTER 11: Flip Flops

DS18B20 Programmable Resolution 1-Wire Digital Thermometer

Application Report SLVA051

Calculating Gain for Audio Amplifiers

Using Altera MAX Series as Microcontroller I/O Expanders

DM74LS169A Synchronous 4-Bit Up/Down Binary Counter

HEF4011B. 1. General description. 2. Features and benefits. 3. Ordering information. 4. Functional diagram. Quad 2-input NAND gate

APPLICATION NOTE BUILDING A QAM MODULATOR USING A GC2011 DIGITAL FILTER CHIP

HOW TO GET 23 BITS OF EFFECTIVE RESOLUTION FROM YOUR 24-BIT CONVERTER

DM7474 Dual Positive-Edge-Triggered D-Type Flip-Flops with Preset, Clear and Complementary Outputs

Contents COUNTER. Unit III- Counters

HEF4013B. 1. General description. 2. Features and benefits. 3. Applications. 4. Ordering information. Dual D-type flip-flop

Quad 2-input NAND Schmitt trigger

Application Report. 1 Introduction. 2 Resolution of an A-D Converter. 2.1 Signal-to-Noise Ratio (SNR) Harman Grewal... ABSTRACT

Fairchild Solutions for 133MHz Buffered Memory Modules

ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies

DS2401 Silicon Serial Number

DM Segment Decoder/Driver/Latch with Constant Current Source Outputs

Buffer Op Amp to ADC Circuit Collection

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

EMC6D103S. Fan Control Device with High Frequency PWM Support and Hardware Monitoring Features PRODUCT FEATURES ORDER NUMBERS: Data Brief

The Bergeron Method. A Graphic Method for Determining Line Reflections in Transient Phenomena

Experiment # 9. Clock generator circuits & Counters. Eng. Waleed Y. Mousa

74HC377; 74HCT General description. 2. Features and benefits. 3. Ordering information

Fast Logarithms on a Floating-Point Device

Sequential Logic Design Principles.Latches and Flip-Flops

. MEDIUM SPEED OPERATION - 8MHz . MULTI-PACKAGE PARALLEL CLOCKING FOR HCC4029B HCF4029B PRESETTABLE UP/DOWN COUNTER BINARY OR BCD DECADE

Transcription:

RETRIEVING DATA FROM THE by Jim Todsen This application bulletin explains how to retrieve data from the. It elaborates on the discussion given in the data sheet and provides additional information to allow you more flexibility during retrieval. It is assumed that you have a basic understanding of the s operation. For a good introduction to the, see the s data sheet. There are three main sections to this bulletin. First, the basic operation of data retrieval is explained for a single system. Next, a circuit and timing diagram are discussed that use additional logic circuits to convert the serial bitstream from the into multi-bit words for parallel readback. Finally, data retrieval considerations for multiple systems are covered. Sensor Sensor ADC Retrieval Inputs Holding Register 20 Bits 20 Bits Retrieval Outputs 40-Bit Shift Register FIGURE 1. Serial Interface Block Diagram. The information provided herein is believed to be reliable; however, BURR-BROWN assumes no responsibility for inaccuracies or omissions. BURR-BROWN assumes no responsibility for the use of this information, and all use of such information shall be entirely at the user s own risk. Prices and specifications are subject to change without notice. No patent rights or licenses to any of the circuits described herein are implied or granted to any third party. BURR-BROWN does not authorize or warrant any BURR-BROWN product for use in life support devices and/or systems. SBAA026 1998 Burr-Brown Corporation AB-136 Printed in U.S.A. August, 1998 1

BASIC OPERATION The uses the same serial interface as used in the DDC101. This interface uses five I/O pins and allows multiple s to be daisy-chained together in multisensor systems. Figure 1 shows a diagram of the data retrieval pins and internal registers. Figure 2 provides the accompanying timing diagram. The uses a single analog-to-digital converter (ADC) to measure both and. A holding register temporarily stores s data while s data is being generated. When is finished being measured, both and data are loaded into the s 40-bit shift register. You have until the next conversion completes to retrieve the data as the shift register is automatically updated when new data is ready. The indicates data is ready by taking LO (see Figure 2). When ready to retrieve the data, take LO to enable. now returns HI. The shifts data out on the falling edge of, therefore, read on the rising edge of. When finished retrieving the data, return HI. allows daisy-chaining of multiple s by feeding from one into the next s. When not used, should be tied to either ground or V DD. is completely independent of CLK and is used solely to retrieve data. When not retrieving data, freeze to reduce digital noise coupling into the front-end integrators. can be held either HI or LO when not in use. If held HI, it must be returned LO before goes LO (t 3 in Figure 2). If this condition is violated, bit 20 (MSB) will be lost and the first bit out will be bit 19. You can read the data before, after, or before and after CONV toggles as described in the last section on multiple systems. Never retrieve data while CONV toggles. That is, make sure the serial interface is inactive at the end and beginning of the integration period to prevent digital noise coupling into the front end. If you decide not to retrieve the data on a particular conversion, leave HI. will pulse HI for 1.2µs (for CLK = 10MHz) when the data is first ready and then stay LO the remainder of the time. Wait until the next pulse to begin retrieval when ready. CLK t 1 t 2 t 3 t 4 t 5 t 6 MSB LSB MSB LSB Output Enabled t 1 Propagation Delay from Rising Edge of CLK to LO 30 ns t 2 Propagation Delay from LO to HI 30 ns t 3 Setup Time for LO Before LO 20 ns t 4 Propagation Delay from LO to Enabled 30 ns t 5 Hold Time for After Falling Edge of 5 ns t 6 Propagation Delay from HI to Disabled 30 ns FIGURE 2. Timing Diagram for Retrieval. 2

EXAMPLE OF PARALLEL DATA RETRIEVAL Sometimes it is desirable to have a parallel interface for retrieving data from the. This is easy to accomplish with a few additional components. Figure 3 shows one possibility. The circuit loads the serial data from the into an 8-bit shift register for parallel retrieval. Five parallel retrievals are then needed to get all 40 bits from the. CLK is typically 10MHz and the signal DX is generated by the user. can be monitored to determine when data is ready (it is also possible to determine when data is ready from CONV s status as described in Application Bulletin AB-131). As shown in Figure 4, DX is taken HI by the user once goes LO. The negative edge of CLK triggers the D flip-flop which sets LO. The Q output of the flip-flop enables via the AND gate. The propagation delay of the inverter and D flip-flop insure that is LO and glitch-free when goes LO to meet setup time t 3 in Figure 2. clocks both the and the 8-bit shift register (a 74HC164 for example). After 8 s, DX is taken HI to pause the serial shifting. During this pause, the parallel data from the shift register is retrieved. Afterwards, DX is taken LO and another 8 bits are shifted into the register. The cycle continues until all 40 bits are retrieved. R P pulls up when disabled to keep it from floating. must be LO for to shift data in the s internal 40-bit shift register. If is HI, is then ignored by the. Though not the case in Figure 3, could have been left running during the pause used for reading the parallel data. Sensor Sensor CLK CLK R P = 100kΩ 8-Bit Word DX D Q Q D Flip-Flop Q 7 D Q 6 Q 5 Q 4 Q 3 Q 2 Q 1 Q 0 8-Bit Serial In/Parallel Out Shift Register FIGURE 3. Example Circuit for Parallel Retrieval. CLK DX 9 8 7 6 5 4 3 2 1 Output Enabled Read 8-Bit Word FIGURE 4. Timing Diagram for the Circuit in Figure 3. 3

MULTIPLE SYSTEMS The s serial interface allows daisy-chaining of multiple s. This is especially useful in systems with lots of sensors requiring lots of s. Figure 5 shows an example of a 3 system used to measure 6 sensors. from one is fed into of the next essentially creating a giant shift register with 120 bits. A pull-up resistor is used on to prevent it from floating when disabled. As can be seen from Figure 6, the timing diagram for a multiple system is very similar to that of a single system. All of the timing specifications in Figure 2 apply plus an additional specification: t 7. must be HI before new data is loaded. This condition also applies to a single system but, is much more likely to be violated in multiple systems where more time is needed for data retrieval. For very large systems, it is possible to have transmission line effects on the digital signals since the traces get lengthy and there is large capacitive loading from the multiple s. is particularly sensitive as reflections can cause glitches resulting in unwanted shifting of the data. Make sure to use good digital design techniques to avoid these problems. Consider using multiple lines to reduce the number of s connected to a particular line. Terminating the lines can also help. The data must not be retrieved while CONV toggles so as to prevent digital noise coupling to the front integrators. For very large systems, the time required can become large and care must be used in deciding when to retrieve. There is no absolute limit on the number of s that can be daisychained together. The maximum number of s is limited by the time available for data retrieval which depends on the integration time ( ). The different retrieval options for the continuous mode are discussed below, followed by some considerations for using the noncontinuous mode. Sensor F Sensor E Sensor D Sensor C Sensor B Sensor A F E R P R P R P D C B A Retrieval Outputs 40 Bits 40 Bits 40 Bits Retrievel Inputs FIGURE 5. Multiple Daisy Chain. t 7 A A B B C F F MSB LSB MSB LSB MSB MSB LSB Output Enabled t 7 Hold Time for HI Before Falling Edge of (CLK = 10MHz) 2 µs FIGURE 6. Timing Diagram for Multiple Retrieval. 4

RETRIEVAL BEFORE CONV TOGGLES (CONTINUOUS MODE) This is the most straightforward method. retrieval begins soon after goes LO and finishes before CONV toggles, see Figure 7. For best performance, data retrieval must stop t 9 before CONV toggles. This method is the most appropriate for longer integration times. The maximum time available for readback is t 8 t 9. For and CLK = 10MHz, the maximum number of s that can be daisy-chained together is: TINT 431. 2µ s 40τ Where τ is the period of the data clock. For example, if = 1000µs and = 10MHz, the maximum number of s is: RETRIEVAL AFTER CONV TOGGLES (CONTINUOUS MODE) For shorter integration times, more time is available if data retrieval begins after CONV toggles and ends before the new data is ready. retrieval must wait t 10 after CONV toggles before beginning. Figure 8 shows an example of this. The maximum time available for retrieval is t 8 t 10 t 7 (421.2µs 10µs 2µs for CLK = 10MHz), regardless of. The maximum number of s that can be daisychained together is: 409. 2µs 40 τ For = 10MHz, the maximum number of s is 102. 1000µ s 431. 2µ s = 142. 2 142 s ( 40)( 100ns) CONV t 8 t 9 Side B t 8 Cont Mode Ready (CLK = 10MHz, see AB-131) 421.2 µs t 9 Retrieval Shutdown before Edge of CONV 10 µs FIGURE 7. Readback Before CONV Toggles. 5

RETRIEVAL BEFORE AND AFTER CONV TOGGLES (CONTINUOUS MODE) For the absolute maximum time for data retrieval, data can be retrieved before and after CONV toggles. Nearly all of is available for data retrieval. Figure 9 illustrates how this is done by combining the two previous methods. You must pause the retrieval during CONV s toggling to prevent digital noise, as discussed previously, and finish before the next data is ready. The maximum number of s that can be daisy-chained together is: TINT 20µ s 2µ s 40τ For = 500µs and = 10MHz, the maximum number of s is 119. CONV t 8 t 10 t 7 Side B t 7 Hold Time for HI Before Falling Edge of (CLK = 10MHz) 2 µs t 8 Cont Mode Ready (CLK = 10MHz, see AB-131) 421.2 µs t 10 Retrieval Start-Up After Edge of CONV 10 µs FIGURE 8. Readback After CONV Toggles. CONV t 10 t 9 t 7 Side B t 7 Hold Time for HI Before Falling Edge of (CLK = 10MHz) 2 µs t 9 Retrieval Shutdown Before Edge of CONV 10 µs t 10 Retrieval Start-Up After Edge of CONV 10 µs FIGURE 9. Readback Before and After CONV Toggles. 6

RETRIEVAL: NONCONTINUOUS MODE Retrieving in noncontinuous mode is slightly different as compared with the continuous mode. As shown in Figure 10 and described in detail in Application Bulletin AB-131, goes LO in time t 11 after the first integration completes. If is shorter than this time, all of t 12 is available to retrieve data before the other side s data is ready. For > t 11, the first integration s data is ready before the second integration completes. retrieval must be delayed until the second integration completes leaving less time available for retrieval. The time available is t 12 ( t 11 ). The second integration s data must be retrieved before the next round of integrations begin. This time is highly dependent on the pattern used to generate CONV. As with the continuous mode, data retrieval must halt before and after CONV toggles (t 9, t 10 ) and be completed before new data is ready (t 7 ). CONV t 11 t 12 Side B t 11 1st Ncont Mode Ready (CLK = 10MHz, see AB-131) 421.2 ±0.3 µs t 12 2nd Ncont Mode Ready (CLK = 10MHz, see AB-131) 454.8 µs FIGURE 10. Readback in Noncontinuous Mode. 7

IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgment, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in accordance with TI s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. Customers are responsible for their applications using TI components. In order to minimize risks associated with the customer s applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. TI s publication of information regarding any third party s products or services does not constitute TI s approval, warranty or endorsement thereof. Copyright 2000, Texas Instruments Incorporated