English
Language : 

ADS7870_14 Datasheet, PDF (37/45 Pages) Texas Instruments – 12-BIT, 52-kSPS, DATA ACQUISITION SYSTEM WITH ANALOG-TO-DIGITAL CONVERTER, MUX, PGA, AND REFERENCE
www.ti.com
ADS7870
SBAS124C − DECEMBER 1999 − REVISED DECEMBER 2005
APPLICATION INFORMATION
MICROCONTROLLER CONNECTIONS
The ADS7870 is quite flexible in interfacing to various microcontrollers. Connections using the hardware mode
of two types of controllers (Motorola M68HC11, Intel 80C51) are described below.
Motorola M68HC11 (SPI)
The Motorola M68HC11 has a three-wire (four if you count the slave select) serial interface that is commonly
referred to as SPI (serial peripheral interface), where the data is transmitted MSB first. This interface is usually
described as the microcontroller and the peripheral each having two 8-bit shift registers (one for receiving and
one for transmitting).
The transmit shift register of the microcontroller and the receive shift register of the peripheral are connected
together and vice versa. SCK controls the shift registers. SPI is capable of full duplex operation (simultaneous
read and write). The ADS7870 does not support full duplex operation. The ADS7870 can only be written to
or read from. It cannot do both simultaneously.
Since the M68HC11 can configure SCK to have either rising or falling edge active, the RISE/FALL pin on the
ADS7870 can be in whichever state is appropriate for the desired mode of operation of the M68HC11 for
compatibility with other peripherals.
In the Interface Control register (see Figure 29), the 2W/3W bit should be cleared (default). The LSB bit should
be clear (default). The 8051 bit should also be clear (default). Since the ADS7870 defaults to SPI mode, the
M68HC11 should not need to initialize the ADS7870 Interface Configuration register after power-on or reset.
Figure 41 shows a typical physical connection between an M68HC11 and a ADS7870. A pull-up resister on
DOUT may be needed to keep DOUT from floating during write operations. CS may be permanently tied low
if desired, but then the ADS7870 must be the only peripheral.
M68HC11
MISO
MOSI
SCK
SS
VDD
10 kΩ typ
ADS7870
DIN
DOUT
SCLK
CS
Figure 41. Connection of a M68HC11 to an ADS7870
37