New 12-Bit Data Acquisition Systems Communicate with Microprocessors Over 4 Wires – Design Note 22 As board space and semiconductor package pins become more valuable, serial data transfer methods between microprocessors (MPUs) and their peripherals become more and more attractive. Not only does this save lines in the transmission medium, but, because of the savings in the package pins, more function can be packed into both the MPU and the peripheral. Users are increasingly able to take advantage of these savings as more MPU manufacturers develop serial ports for their products (1-3). However, peripherals which are able to communicate with these MPUs must be available in order for users to take full advantage. Also, MPU serial formats are not standardized so not all peripherals can talk to all MPUs. The LTC®1290 Family A new family of 12-bit data acquisition circuits has been developed to communicate over just 4 wires to the recently developed MPU synchronous serial formats as well as to MPUs which do not have serial ports. These circuits feature software configurable analog circuitry including analog multiplexers, sample and holds, bipolar and unipolar conversion modes and the ability to shut power completely off. They also have serial ports which can be software configured to communicate with virtually any MPU. Even the lowest grade device features guaranteed ±0.5LSB linearity over the full operating temperature range. Reduced span operation, accuracy over a wide temperature range and low power single supply operation make it possible to locate these circuits near remote sensors and transmit digital data back through noisy media to the MPU. Figure 1 shows a typical hookup of the LTC1290, the first member of this data acquisition family. For more detail, refer to the LTC1290 data sheet. Included are eight analog inputs which can common-mode to both supply rails. Each can be configured for unipolar or bipolar conversions and for single-ended or differential inputs by sending a data input (DIN) word from the MPU to the LTC1290 (Figure 1). Both the power supplies are bypassed to analog ground. The V– supply allows the device to operate with inputs which swing below ground. In single supply applications it can be tied to ground. 05/89/22_conv

The span of the A/D converter is set by the reference inputs which, in this case, are driven by a 2.5V LT1009 which gives an LSB step size of 0.61mV. However, any reference voltage within the power supply range can be used. The 4-wire serial interface consists of an active low chip select pin (CS), a shift clock (SCLK) for synchronizing the data bits, a data input (DIN) and a data output (DOUT ). Data is transmitted and received simultaneously (full duplex), minimizing the transfer time required. The external ACLK input controls the conversion rate and can be tied to SCLK as in Figure 1. Alternatively, it can be derived from the MPU system clock (e.g., the 8051 ALE pin) or run asynchronously. When the ACLK pin is driven at 4MHz, the conversion time is 13µs. The LTC1290 can be located near the sensors and serial data can be transmitted back from remote locations through isolation barriers or through noisy media. Using fewer pins for communication makes it possible to pack more function into a smaller package. LTC1290 family members are complete systems being offered in packages ranging from 20 pins to 8 pins (e.g., LTC1291, LTC1292, LTC1293, LTC1294). 5V

8 ANALOG INPUTS

CHO

VCC

CH1

ACLK

CH2

SCLK

CH3 CH4

LTC1290

INTEL 8051 P1.3

DIN

P1.2 P1.1

CS

CH6

REF+

CH7

REF–

DGND

SERIAL DATA LINE

DOUT

CH5

COM

2.7kΩ

4.7µF

V–

P1.4 DN022 F01

LT1009 2.5V

DIN WORD SENT FROM 8051 TO LTC1290

AGND

MUX ADDRESS

0.1 –5V

ANALOG CONFIGURATION

UN1 MSBF WL1 WL0 SERIAL PORT CONFIGURATION

Figure 1. A Typical Hookup of the LTC1290

L, LT, LTC, LTM, Linear Technology and the Linear logo are registered trademarks of Linear Technology Corporation. All other trademarks are the property of their respective owners.

3-WIRE SERIAL INTERFACE TO OTHER PERIPHERALS OR LTC1290s

2 1 0 OUTPUT PORT SERIAL DATA

3 3

MPU

3 LTC1290

8 CHANNELS

CS

LTC1290

8 CHANNELS

CS

DN022 F02

Figure 2. Several LTC1290s Sharing One 3-Wire Serial Interface

Speed is Usually Limited by the MPU A perceived disadvantage of the serial approach is speed. However, the LTC1290 can transfer a 12-bit A/D result in 6µs when clocked at its maximum rate of 2MHz. With the minimum conversion time of 13µs, throughput rates of 50kHz are possible. In practice, the serial transfer rate is usually limited by the MPU, not the LTC1290. Even so, throughput rates of 20kHz are not uncommon when serial port MPUs are used. For MPUs without serial ports, the transfer time is somewhat longer because the serial signals are generated with software. For example, with the Intel 8051 running at 12MHz, a complete transfer takes 96µs. This makes possible throughput rates of approximately 10kHz. Talking to Serial Port MPUs By accommodating a wide variety of transfer protocols, the LTC1290 is able to talk directly to almost all synchronous serial formats. The last 3 bits of the LTC1290 data input (DIN) word define the serial format and power shutdown (see Figure 3). The MSBF bit determines the sequence in which the A/D conversion result is sent to the processor (MSB or LSB first). Figure 4 shows several popular serial formats and the appropriate DIN word for each. Typically a complete data transfer cycle takes only about 15 lines of processor code. WL1

WL2

Output Word Length

0

0

8 Bits

0

1

Power Shut Down

1

0

12 Bits

1

1

16 Bits

Talking to MPUs without Serial Ports The LTC1290 talks to serial port processors but works equally well with MPUs which do not have serial ports. In these cases, CS, SCLK and DIN are generated with software on 3 port lines. DOUT is read on a fourth. Figure 4 shows the appropriate DIN word for communicating with MPU parallel ports. Figure 1 shows a 4-wire interface to the popular Intel 8051. A complete transfer takes only 33 lines of code. Sharing the Serial Interface No matter what processor is used, the serial port can be shared by several LTC1290s or other peripherals (see Figure 2). A separate CS line for each peripheral determines which is being addressed. Conclusions The LTC1290 family provides data acquisition systems which communicate via simple 4-wire serial interface to virtually any microprocessor. By eliminating the parallel data bus they are able to provide more function in smaller packages, right down to 8-pin DIPs. Because of the serial approach, remote location of the A/D circuitry is possible and digital transmission through noisy media isolation boundaries is made easier without a great loss in speed. LTC1290 DIN Word LTC1290 Data Format

Type of Interface

Analog Configuration MSBF WL1 WL0

All Parallel Port MPUs

MSB First 12 Bits X

X

X

X

X

1

1

0

National MICROWIRE MICROWIRE/PLUS

MSB First 12 Bits X

X

X

X

X

1

1

0

MSB First 16 Bits X

X

X

X

X

1

1

1

LSB First 16 Bits

X

X

X

X

0

1

Morotola SPI Hitachi Synchronous SCI TI

TMS7000 Serial Port

X

1 DN022 F03

Figure 4. The LTC1290 Accommodates Both Parallel and Serial Ports

Bibliography (1) Aleaf, Adbul, and Richard Lazovick, “Microwire/Plus,” National Semiconductor, Santa Clara, CA, Wescon ’86, Session 21. (2) (2) Derkach, Donald J., “Serial Data Transmission in MCU Systems,” RCA Solid State, Somerville, NJ, Wescon ’86, Session 21. (3) (3) Kalinka, Theodore J., “Versatile Serial Peripheral Interface (SOI),” RCA Solid State, Somerville, NJ, Wescon ’86, Session 21

Figure 3. Word Length and Power Shutdown

Data Sheet Download

www.linear.com/LTC1290

Linear Technology Corporation

For applications help, call (408) 432-1900 dn22f_conv IM/GP 0489 165K • PRINTED IN THE USA

1630 McCarthy Blvd., Milpitas, CA 95035-7417 (408) 432-1900



FAX: (408) 434-0507 ● www.linear.com

 LINEAR TECHNOLOGY CORPORATION 1989

New 12-Bit Data Acquisition Systems ... - Linear Technology

New 12-Bit Data Acquisition Systems Communicate with. Microprocessors Over 4 Wires – Design Note 22. 05/89/22_conv. L, LT, LTC, LTM, Linear Technology ...

234KB Sizes 1 Downloads 212 Views

Recommend Documents

New 12-Bit Data Acquisition Systems ... - Linear Technology
New 12-Bit Data Acquisition Systems Communicate with. Microprocessors Over 4 Wires – Design Note 22. 05/89/22_conv. L, LT, LTC, LTM, Linear Technology ...

DN553 - Electrolytic Capacitor-Based Data ... - Linear Technology
Introduction. Data loss is a concern in telecom, industrial and automotive applications where embedded systems depend on a consistent supply of power.

New Comparators Feature Micropower Operation ... - Linear Technology
the inputs are nearly balanced, as in battery monitoring applications. Figure 1 shows ... 1630 McCarthy Blvd., Milpitas, CA 95035-7417. (408) 432-1900 ○ FAX: ...

New Comparators Feature Micropower Operation ... - Linear Technology
New Comparators Feature Micropower Operation. Under All Conditions – Design Note 137. Jim Williams. 09/96/137_conv. L, LT, LTC, LTM, Linear Technology ...

Multimedia Systems: Acquisition
Eye and sight. Color-detecting equipment inside an eye is called a "cone." (The rods are for night vision.) 17 ... humans, that have poor color vision!

Fiber Optic Communication Systems Benefit from ... - Linear Technology
Noise Avalanche Photodiode Bias Supply – Design Note 273. Michael Negrete. 12/01/273_conv ... optic applications. The LT1930A, a capacitor-diode tripler ...

LTC1560-1 - Linear Technology
Gain vs Frequency of the 1MHz and 500kHz. Figure 1. A Typical ... 6. 5. GND. VIN. GND. V–. VOUT. SHDN. V+. 0.5fC/fC. 5V. 3. 1k. 2. 4. VOUT. 7. LT®1360. 5V. – 5V. 8 ... DC offset of the 1/2 LT1364 plus its offset current times the 10k resistor ..

DN172 - Linear Technology
response is excellent, with less than 5μs recovery time from a ±400mA ... Data Sheet Download ... LTC1504 is the best solution where efficiency, especially.

DN518 - Linear Technology
possible to produce a low noise supply in this way, it requires careful ... typical switching regulator, and (3) the LTM8028 low ... call (408) 432-1900, Ext. 3747.

DN375 - Linear Technology
call (408) 432-1900. RF FREQUENCY (GHz) ... For ACPR/AltCPR, center the measurement band 5MHz/10MHz above the center of the highest carrier. To find ...

Powering Complex FPGA-Based Systems Using ... - Linear Technology
Application Note 119A. AN119A- ... The design regulates 1.5V output while delivering. 40A (up ... output capacitors and resistors, the design using these. DC/DC ...

DN531 - Linear Technology
SiR664DP. M2. SiR664DP. L1. 5.6µH. WÜRTH 7443556560. M3. SiR422DP. M5. SiR422DP. D6. B360A. C19. 0.22µF. 25V. 0603. C20. 0.22µF. 25V. 0603. C21.

eterna1 - Linear Technology
Dec 16, 2015 - ... If testing encompasses measuring ETERNA1's output power or PSD, ..... go to: http://csrc.nist.gov/groups/STM/cavp/documents/aes/aesval.html.

RF Input Impedance Matching Data for the ... - Linear Technology
In a real world application, a. DC block function must be included as part of the matching network design. The measured LTC5564 input impedance is shown in ...

Designing with a New Family of Instrumentation ... - Linear Technology
Designing with a New Family of Instrumental Amplifiers. Design Note 40. Jim Williams ... The classic application for these devices is bridge mea- surement.

Linear Systems
in which a desk calculator may be used. By a ...... that are of significance in application to linear systems ..... (ro, 1p,) + 2 (App)a = (h,Ap) = (1h,p) = (k,p). OI".

ETERNA2 User's Guide - Linear Technology
Sep 30, 2016 - Radiotest commands use the parameter to define which channel or channels the radio ... Earlier versions of software should omit.

ETERNA2 User's Guide - Linear Technology
Sep 30, 2016 - SmartMesh Industrial and Eterna are trademarks of Dust Networks, Inc. The ..... Transmit: 128 bytes of data maximum + 5 bytes preamble/SFD ..... found to comply with the limits for a Class B digital device, pursuant to Part 15.

Market Requirements Template - Linear Technology
Dec 16, 2015 - Low-Rate Wireless Personal Area Networks (LR-WPANs) ..... See the R&TTE Directive, Article 12 and Annex VII for more information.

Design Note 1035 - Linear Technology
Design Note 1035. Tom Domanski. 10/15/1035. Introduction. A single LTC®2983temperature measurement device can support up to 18 2-wire RTD probes, ...

Monolithic Linear Battery Charger Operates from ... - Linear Technology
lead acid battery stack from a solar panel, though any combination of input and battery voltages are possible. The LTC4079's differential voltage regulation is.

Data enriched linear regression - arXiv
big data set is thought to have similar but not identical statistical characteris- tics to the small one. ... using the big data set at the risk of introducing some bias. Our goal is to glean ...... Stanford University Press,. Stanford, CA. Stein, C.

7-3 Solving Linear Systems by Linear Combinations
Alcantara/ Maule. 7-3 Solving Linear Systems by Linear Combinations. (Elimination). Linear Combination is… Example 1: Solve the system of equations by linear combination. An electronics warehouse ships televisions and DVD players in certain combina