DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

TC1321EUA View Datasheet(PDF) - Microchip Technology

Part Name
Description
Manufacturer
TC1321EUA Datasheet PDF : 24 Pages
1 2 3 4 5 6 7 8 9 10 Next Last
4.0 SERIAL PORT OPERATION
The Serial Clock input (SCL) and bi-directional data
port (SDA) form a 2-wire bi-directional serial port for
programming and interrogating the TC1321. The
following conventions are used in this bus architecture.
TABLE 4-1: TC1321 SERIAL BUS
CONVENTIONS
Term
Explanation
Transmitter The device sending data to the bus.
Receiver The device receiving data from the bus.
Master
The device that controls the bus: initiating
transfers (START), generating the clock, and
terminating transfers (STOP)
Slave
The device addressed by the master.
START
A unique condition signaling the beginning of
a transfer, indicated by SDA falling (High -
Low) while SCL is high.
STOP
A unique condition signaling the end of a
transfer, indicated by SDA rising (Low - High)
while SCL is high.
ACK
A receiver acknowledges the receipt of each
byte with this unique condition. The receiver
drives SDA low during SCL, high of the ACK
clock pulse.The master provides the clock
pulse for the ACK cycle.
Busy
Communication is not possible because the
bus is in use.
Not Busy When the bus is IDLE, both SDA and SCL will
remain high.
Data Valid
The state of SDA must remain stable during
the High period of SCL in order for a data bit
to be considered valid. SDA only changes
state while SCL is low during normal data
transfers. See START and STOP conditions.
All transfers take place under control of a host, usually
a CPU or microcontroller, acting as the master, which
provides the clock signal for all transfers. The TC1321
always operates as a slave. The serial protocol is
illustrated in Figure 4-1. All data transfers have two
phases; all bytes are transferred MSB first. Accesses
are initiated by a START condition (START), followed
by a device-address byte and one or more data bytes.
The device-address byte includes a Read/Write
selection bit. Each access must be terminated by a
STOP Condition (STOP). A convention called
Acknowledge (ACK) confirms receipt of each byte.
Note that SDA can change only during periods when
SCL is LOW (SDA changes while SCL is HIGH are
reserved for START and STOP conditions).
TC1321
4.1 START Condition (START)
The TC1321 continuously monitors the SDA and SCL
lines for a START condition (a HIGH to LOW transition
of SDA while SCL is HIGH), and will not respond until
this condition is met.
4.2 Address Byte
Immediately following the START condition, the host
must transmit the address byte to the TC1321. The
7-bit SMBus address for the TC1321 is 1001000. The
7-bit address transmitted in the serial bit stream must
match for the TC1321 to respond with an Acknowledge
(indicating the TC1321 is on the bus and ready to
accept data). The eighth bit in the Address Byte is a
Read-Write bit. This bit is a 1 for a read operation or 0
for a write operation. During the first phase of any
transfer, this bit will be set = 0 to indicate that the
command byte is being written.
4.3 Acknowledge (ACK)
Acknowledge (ACK) provides a positive handshake
between the host and the TC1321. The host releases
SDA after transmitting eight bits, then generates a ninth
clock cycle to allow the TC1321 to pull the SDA line
LOW to Acknowledge that it successfully received the
previous eight bits of data or address.
4.4 Data Byte
After a successful ACK of the address byte, the host
must transmit the data byte to be written or clock out
the data to be read. (See the appropriate timing
diagrams.) ACK will be generated after a successful
write of a data byte into the TC1321.
4.5 Stop Condition (STOP)
Communications must be terminated by a STOP
condition (a LOW to HIGH transition of SDA while SCL
is HIGH). The STOP condition must be communicated
by the transmitter to the TC1321. Refer to Figure 4-1,
for serial bus timing.
2010 Microchip Technology Inc.
DS21387C-page 9

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]