LM12434CIWM NSC [National Semiconductor], LM12434CIWM Datasheet - Page 70

no-image

LM12434CIWM

Manufacturer Part Number
LM12434CIWM
Description
Sign Data Acquisition System with Serial I/O and Self-Calibration
Manufacturer
NSC [National Semiconductor]
Datasheet
Figure 17 shows the timing diagram for the read and write
7 0 Digital Interface
7 4 I
The I
multi-master bus which means that more than one device
capable of controlling the bus can be connected to it The
bus uses 2 wires serial data (SDA) and serial clock (SCL)
to carry information between the devices connected to the
bus Both data and clock lines are bidirectional and are con-
nected to the positive power supply via a pull-up resistor
Each device is identified by a unique address whether it is a
microprocessor controller or a peripheral such as memory
keyboard data-converter or display Each device can oper-
ate as either transmitter or receiver depending on the func-
tion of the device In addition to transmitters and receivers
devices can also be considered as masters and slaves
when performing data transfer A master is the device that
initiates a data transfer on the bus and generates the clock
signals to permit that transfer At that time any device ad-
dressed is considered slave It should be apparent that the
I
comprehensive formats and procedures for addressing
transfer cycles start and stop clock generation synchroni-
zation and bus arbitration The following discussion as-
sumes that the reader is familiar with the specification and
architecture of the I
The LM12434 and LM12 L 438’s I
lected when the MODESEL1 and MODESEL2 pins have the
logic state of ‘‘10’’ Figure 18 shows a typical connection
diagram for the LM12434 and LM12 L 438 to the I
As was mentioned communication on the I
formed on 2 lines SCL (serial clock) and SDA (serial data)
pins P5 and P4 are assigned to these lines The DAS oper-
ates as a slave on the I
an input (no clock is generated by the LM12434 and
LM12 L 438) and the SDA line is a bi-directional serial data
path According to I
7-bit slave address The four most significant bits of the
slave address are hard wired inside the LM12434 and
LM12 L 438 and are ‘‘0101’’ The three least significant
bits of the address are assigned to pins P3–P1 Therefore
the LM12434 and LM12 L 438 I
Tying the P3 –P1 pins to different logic levels allows up to
eight LM12434 and LM12 L 438’s to be addressed on a
single I
cycles for the LM12434 and LM12 L 438’s I
2
C bus is not merely an interconnecting wire it embodies
2
C BUS INTERFACE
2
C bus is a serial synchronous bus structure It is a
2
C bus
MSB
0
1
2
2
C bus
C bus specifications the DAS has a
0
2
C bus As a result the SCL line is
1
2
P3
(Continued)
C slave address is
2
C bus interface is se-
P2
2
C bus is per-
LSB
2
P1
C interface
2
C bus
70
This timing diagram depicts the general relationship be-
tween the serial clock edges and the data bits It is not
meant to show guaranteed timing performance (See speci-
fication tables for parametric switching characteristics ) The
DAS’s I
the I
byte oriented and the 16-bit data to be written to or read
from each register is transferred in two bytes
Write cycle A write cycle is illustrated in Figure 17a Com-
munication is initiated with a start condition generated by a
master (I
DAS’s slave address with the read write bit (8th bit) being
‘‘0’’ indicating a write cycle will follow At the 9th SCL clock
pulse of the first data packet the DAS pulls the SDA line
low (‘‘0’’) to acknowledge that it has been addressed The
next byte is the address of the DAS register to be accessed
The format of this byte is three ‘‘0’s’’ (MSBs) followed by
four bits of register address (MSB first as shown) and a ‘‘0’’
as the last bit (LSB) After the DAS acknowledges the ad-
dress byte the 16-bit data proceeds in two bytes beginning
with the high order byte (MSB first) The direction of the
data in a write cycle is from master to DAS with acknowl-
edgement given by the DAS at the end of each byte The
cycle is completed by a stop condition generated by the
master
Read burst read cycle The read and burst read cycles for
the I
cycle is shown in Figure 17b A read cycle starts the same
as a write with a slave address byte for write followed by a
register address byte After the register address byte is writ-
ten to the DAS the bus should be released without any stop
condition The master then applies a repeat start condition
followed by the DAS’s slave address but with the read
write bit being ‘‘1’’ indicating a read request from the mas-
ter The DAS (slave) acknowledges its address and begin-
ning with the next byte the direction of the data will be from
DAS to master The DAS starts to transmit the contents of
its register (addressed previously at second byte of the cy-
cle) synchronized with the clocks applied by the master An
even number of data bytes should be read from the DAS
(two bytes per register) At the end of each byte received
from the DAS the bus master generates an acknowledge
The DAS continues to repeat transmitting its register con-
tents as long as the master is transmitting clocks and ac-
knowledges at the end of each byte The DAS recognizes
the end of the transfer whenever the master does not ac-
knowledge at the end of an even numbered byte At this
point the master should generate a stop condition as re-
quired by the I
may read only one word (single read) or as many words (two
bytes each) as it needs using the read procedure
2
2
C interface are combined in a single format A read
C bus specification Data transfer on the I
2
C interface timing parameters fully meet or exceed
2
C bus specification) followed by a byte of the
2
C bus specification Notice that the master
2
C bus is

Related parts for LM12434CIWM