English
Language : 

XR20V2170 Datasheet, PDF (6/52 Pages) Exar Corporation – I2C/SPI UART WITH 64-BYTE FIFO AND RS232 TRANSCEIVER
XR20V2170
I2C/SPI UART WITH 64-BYTE FIFO AND RS232 TRANSCEIVER
REV. 1.0.0
2.0 FUNCTIONAL DESCRIPTIONS
2.1 CPU Interface
The V2170 can operate with either an I2C-bus interface or an SPI interface. The CPU interface is selected via
the I2C/SPI# input pin. The V2170 can operate with either an I2C-bus interface or an SPI interface. The CPU
interface is selected via the I2C/SPI# input pin.
2.1.1 I2C-bus Interface
The I2C-bus interface is compliant with the Standard-mode and Fast-mode I2C-bus specifications. The I2C-
bus 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 kbps. The first byte sent by an I2C-bus master contains a start bit (SDA transition from HIGH to LOW
when SCL is HIGH), 7-bit slave address and whether it is a read or write transaction. The next byte is the sub-
address that contains the address of the register to access. The V2170 responds to each write with an
acknowledge (SDA driven LOW by V2170 for one clock cycle when SCL is HIGH). If the TX FIFO is full, the
V2170 will respond with a negative acknowledge (SDA driven HIGH by V2170 for one clock cycle when SCL is
HIGH) when the CPU tries to write to the TX FIFO. The last byte sent by an I2C-bus master is a stop bit (SDA
transition from LOW to HIGH when SCL is HIGH). See Figures 3 - 5 below. For complete details, see the
I2C-bus specifications.
FIGURE 3. I2C START AND STOP CONDITIONS
SDA
SCL
S
START condition
P
STOP condition
FIGURE 4. MASTER WRITES TO SLAVE (V2170)
S
SLAVE
ADDRESS
WA
REGISTER
ADDRESS
A
White block: host to UART
Grey block: UART to host
nDATA
AP
FIGURE 5. MASTER READS FROM SLAVE (V2170)
S
SLAVE
ADDRESS
WA
White block: host to UART
Grey block: UART to host
REGISTER
ADDRESS
AS
SLAVE
ADDRESS
RA
nDATA
A
LAST DATA NA P
6