TMC22052KHC Fairchild Semiconductor, TMC22052KHC Datasheet - Page 68

no-image

TMC22052KHC

Manufacturer Part Number
TMC22052KHC
Description
Manufacturer
Fairchild Semiconductor
Datasheet

Specifications of TMC22052KHC

Screening Level
Commercial
Package Type
MQFP
Pin Count
100
Lead Free Status / RoHS Status
Compliant
TMC22x5y
Table 25. Serial Port Addresses
Data Transfer via Serial Interface
For each byte of data read or written, the MSB is the first bit
of the sequence.
If the TMC22x5y does not acknowledge the master device
during a write sequence, the SDA remains HIGH so the mas-
ter can generate a stop signal. If the master device does not
acknowledge the TMC22x5y during a read sequence, the
Decoder interprets this as “end of data.” The SDA remains
HIGH so the master can generate a stop signal.
Writing data to specific control registers of the TMC22x5y
requires that the 8-bit address of the control register of inter-
est be written after the slave address has been established.
This control register address is the base address for subse-
quent write operations. The base address autoincrements by
one for each byte of data written after the data byte intended
for the base address. If more bytes are transferred than there
are available addresses, the address will not increment and
remain at its maximum value of 3Fh. Any base address
higher than 3Fh will not produce an ACKnowledge signal.
Data are read from the control registers of the TMC22x5y in
a similar manner. Reading requires two data transfer opera-
tions:
The base address must be written with the R/W\ bit of the
slave address byte LOW to set up a sequential read opera-
tion.
68
SDA
(MSB)
SCL
1
1
1
1
1
1
1
1
bit 7
A
6
t
0
0
0
0
0
0
0
0
STAH
bit 6
t
A
BUFF
5
1
1
1
1
1
1
1
1
bit 5
A
4
t
bit 4
DHO
A
1
1
1
1
1
1
1
1
3
(SA
bit 3
A
0
0
0
0
1
1
1
1
2
t
2 )
DAL
Figure 35. Serial Port Read/Write Timing
(SA
bit 2
A
0
0
1
1
0
0
1
1
1
1 )
t
DSU
(SA
bit 1
A
0
1
0
1
0
1
0
1
t
0
BAH
0 )
Reading (the R/W bit of the slave address byte HIGH)
begins at the previously established base address. The
address of the read register autoincrements after each byte is
transferred.
To terminate a read/write sequence to the TMC22x5y, a stop
signal must be sent. A stop signal comprises a LOW-to-
HIGH transition of SDA while SCL is HIGH.
A repeated start signal occurs when the master device driv-
ing the serial interface generates a start signal without first
generating a stop signal to terminate the current communica-
tion. This is used to change the mode of communication
(read, write) between the slave and master without releasing
the serial interface lines.
Serial Interface Read/Write Examples
Write to one control register
• Start signal
• Slave Address byte (R/W bit = LOW)
• Block Pointer (00)
• Base Address byte
• Data byte to base address
• Stop signal
Write to four consecutive XLUT locations
• Start signal
• Slave Address byte (R/W bit = LOW)
• Block Pointer (01)
• Base Address byte
• Data byte to base address
• Data byte to (base address + 1)
• Data byte to (base address + 2)
• Data byte to (base address + 3)
• Stop signal
Read from one XLUT location
• Start signal
• Slave Address byte (R/W bit = LOW)
• Block Pointer (01)
• Base Address byte
• Stop signal
t
STASU
PRODUCT SPECIFICATION
t
STOSU
65-22x5y-18

Related parts for TMC22052KHC