LM3S1138 Luminary Micro, Inc, LM3S1138 Datasheet - Page 378

no-image

LM3S1138

Manufacturer Part Number
LM3S1138
Description
Lm3s1138 Arm Microcontroller
Manufacturer
Luminary Micro, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
LM3S1138
Manufacturer:
DSP
Quantity:
490
Part Number:
LM3S1138-EQC50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S1138-EQC50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S1138-IBZ50-A2
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S1138-IBZ50-A2T
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S1138-IQC50
Manufacturer:
Texas Instruments
Quantity:
10 000
Part Number:
LM3S1138-IQC50-A2
Manufacturer:
Texas Instruments
Quantity:
135
Part Number:
LM3S1138-IQC50-A2
Manufacturer:
TI/德州仪器
Quantity:
20 000
Part Number:
LM3S1138-IQC50-A2T
Manufacturer:
TI/德州仪器
Quantity:
20 000
Inter-Integrated Circuit (I
15.2.1.3 Data Validity
15.2.1.4 Acknowledge
378
Figure 15-4. Complete Data Transfer with a 7-Bit Address
The first seven bits of the first byte make up the slave address (see Figure 15-5 on page 378). The
eighth bit determines the direction of the message. A zero in the R/S position of the first byte means
that the master will write (send) data to the selected slave, and a one in this position means that
the master will receive data from the slave.
Figure 15-5. R/S Bit in First Byte
The data on the SDA line must be stable during the high period of the clock, and the data line can
only change when SCL is low (see Figure 15-6 on page 378).
Figure 15-6. Data Validity During Bit Transfer on the I
All bus transactions have a required acknowledge clock cycle that is generated by the master. During
the acknowledge cycle, the transmitter (which can be the master or slave) releases the SDA line.
To acknowledge the transaction, the receiver must pull down SDA during the acknowledge clock
cycle. The data sent out by the receiver during the acknowledge cycle must comply with the data
validity requirements described in “Data Validity” on page 378.
When a slave receiver does not acknowledge the slave address, SDA must be left high by the slave
so that the master can generate a STOP condition and abort the current transfer. If the master
device is acting as a receiver during a transfer, it is responsible for acknowledging each transfer
made by the slave. Since the master controls the number of bytes in the transfer, it signals the end
of data to the slave transmitter by not generating an acknowledge on the last data byte. The slave
transmitter must then release SDA to allow the master to generate the STOP or a repeated START
condition.
MSB
SDA
SCL
SDA
SCL
Slave address
2
C) Interface
MSB
1
Data line
Slave address
stable
2
allowed
Chan ge
of data
LSB
7
LSB
R/S
R/S
8
Preliminary
ACK
9
MSB
1
2
2
C Bus
Data
7
LSB
8
ACK
9
July 26, 2008

Related parts for LM3S1138