English
Language : 

XR18910 Datasheet, PDF (13/19 Pages) Exar Corporation – 8:1 Sensor Interface Analog Front End
REV. 1.0.0
XR20M1280
I2C/SPI UART WITH 128-BYTE FIFO AND INTEGRATED LEVEL SHIFTERS
1.0 FUNCTIONAL DESCRIPTIONS
1A.1 ppCPlUiIcntearfatcieon Information (Continued)
The XR20M1280 can operate with either an I2C-bus interface or an SPI interface. The CPU interface is
selected via the I2C/SPI# input pin.
I C 2
1.1.1
BIu2Cs-buIsnIntteerfrafcae ce
ThTehI2Ce-bIu2sCint-ebrfaucesisicnomteplirafnat wciteh thceoStnansdairsd-tmsodoefantdwFaost-lminodeesI2C: -sbues rspiaeclifidcaatiotnas. T(hSe DI2CA-bu)s
and serial clock (SCL). The XR18910 works as a slave and interface consists of two lines: serial data (SDA) and serial clock (SCL). In the Standard-mode, the serial clock
and serial data can go up to 100 kbps and in the Fast-mode, the serial clock and serial data can go up to 400
kbspus. pThpeofirrsttsbytebsoentthbysatnaI2nC-dbuasrmdasmter ocodntaeinstraastnartsbfite(SrDrAatrtaenssitio(n1fr0om0HIkGbH ptosLO) Wawnhden
fast mode transfer rates (400 kbps) as defined in the I C- SCL is HIGH), 7-bit slave address and whether it is a read or write transaction. The next byte is the2 sub-
address that contains the address of the register to access. The XR20M1280 responds to each write with an
Bus specification. The I C-bus interface follows all standard acknowledge (SDA driven LOW by XR20M12280 for one clock cycle when SCL is HIGH). If the TX FIFO is full,
the XR20M1280 will respond with a negative acknowledge (SDA driven HIGH by XR20M1280 for one clock
cyIc2lCe whepnrSoCLtoiscHoIGlHs) .whenStheoCmPUetriesintofworirtemto athetiToXnFIFOis. Thperlaostvbyidteesednt bybaen Il2oC-wbu,s mfaostrer
contains a stop bit (SDA transition from LOW to HIGH when SCL is HIGH). See Figures 3 - 5 below. For
coamdpldeteitdieotanilsa, sleeinthfeoI2rCm-buas stpioecnific,atrioensf.er to the I2C-bus specifications.
FIGURE 3. I2C START AND STOP CONDITIONS
SDA
SCL
S
START condition
P
STOP condition
Figure 21. I2C Start and Stop Conditions
FIGURE 4. MASTER WRITES TO SLAVE (XR20M1280)
The
basic
I2SC
SLAVE
aADcDRcEeSSss
cycle for the W A
REGISTER
ADDRESS
A
nDATA
XR18910
AP
consists
of:
White block: host to UART
■■ A start condition Grey block: UART to host
■■ A slave address cycle
FIGUR■E■ 5Z. MeArSoT,ERoRnEeAD,SoFRrOtMwSLoAVdE a(XtRa20cMy1c28l0e)s - depending on the XR18910
S
register accessed SLAVE
ADDRESS
WA
REGISTER
ADDRESS
AS
SLAVE
ADDRESS
RA
nDATA
A
LAST DATA NA P
A stop condition Wh■ite■ block: host to UART
Grey block: UART to host
Start Condition
The master initiates data transfer by generating a start
condition. The start condition is when a high-to-low transition
occurs on the SDA line whi7le SCL is high, as shown in
Figure 21.
Slave Address Cycle
After the start condition, the first byte sent by the master
is the 7-bit address and the read/write direction bit R/W
on the SDA line. If the address matches the XR18910’s
internal fixed address, the XR18910 will respond with an
acknowledge by pulling the SDA line low for one clock cycle
while SCL is high.
Data Cycle
After the master detects this acknowledge, the next byte
transmitted by the master is the sub-address. This 8-bit
sub-address contains the address of the register to access.
The XR18910 Register List is shown in Table 1. Depending
on the register accessed, there will be up to two additional
data bytes transmitted by the master. Refer to the “Byte of
Parameter” column in the Register Table. The XR18910 will
respond to each write with an acknowledge.
XR18910
Stop Condition
To signal the end of the data transfer, the master generates
a stop condition by pulling the SDA line from low to high
while the SCL line is high, as shown in Figure 21.
Figures 22 and 23 illustrate a write and a read cycle. For
complete details, see the I2C-bus specifications.
S
SLAVE
ADDRESS
W
A
REGISTER
ADDRESS
A nDATA A
P
NOTES:
White Block = host to XR18910, Orange Block = XR18910 to host.
Figure 22. Master Writes to Slave (XR18910)
S
SLAVE
ADDRESS
W
A
REGISTER
ADDRESS
A
S
SLAVE
ADDRESS
R
A
nDATA
A
LAST
DATA
NA
P
NOTES:
White Block = host to XR18910, Orange Block = XR18910 to host.
Figure 23. Master Reads from Slave (XR18910)
I2C Bus Addressing
The XR18910 uses a 7-bit address space. For the standard
XR18910, the default address is 0x67 (0110 111). There
are three alternative addresses available to help insure that
the XR18910 can be identified from the other devices on
the I2C-bus. Table 4 shows the different addresses that are
available.
Table 4. XR18910 I2C Address Map
I2C Address
Orderable Part Number
0x67 (0110 111x)
0x66 (0110 110x)
0x65 (0110 101x)
0x64 (0110 100x)
XR18910IL-67
XR18910IL-66
XR18910IL-65
XR18910IL-64
A read or write transaction is determined by bit-0 of the
slave address, (shown as an “x” in the table above). If bit-0
is ’0’, then it is a write transaction. If bit-0 is ’1’, then it is a
read transaction.
An I2C sub-address is sent by the I2C master following the
slave address. The sub-address contains the XR18910
register address being accessed. Table 1 illustrates the
available XR18910 register addresses.
After the last read or write transaction, the I2C-bus master
will set the SCL signal back to its idle state (HIGH).
REV1A
13/19