English
Language : 

XR20M1280 Datasheet, PDF (9/63 Pages) Exar Corporation – I2C/SPI UART WITH 128-BYTE FIFO AND INTEGRATED LEVEL SHIFTERS
XR20M1280
REV. 1.0.0
I2C/SPI UART WITH 128-BYTE FIFO AND INTEGRATED LEVEL SHIFTERS
1.1.3 SPI Bus Interface
The SPI interface consists of four lines: serial clock (SCL), chip select (CS#), slave output (SO) and slave input
(SI). The serial clock, slave output and slave input can be as fast as 26 Mbps. To access the device in the SPI
mode, the CS# signal for the XR20M1280 is asserted by the SPI master, then the SPI master starts toggling
the SCL signal with the appropriate transaction information. The first bit sent by the SPI master includes
whether it is a read or write transaction and the UART register being accessed. See Table 3 below.
TABLE 3: SPI FIRST BYTE FORMAT
BIT
FUNCTION
7 Read/Write#
Logic 1 = Read
Logic 0 = Write
6 Reserved
5:3 UART Internal Register Address A2:A0
2:1 UART Channel Select
’00’ = UART Channel, other values are reserved
0 Reserved
FIGURE 6. SPI WRITE
SCL
SI
R /W ‘0 ’ A 2 A 1 A 0 ‘0 ’ ‘0 ’ X D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0
FIGURE 7. SPI READ
SCL
S I R/W ‘0’ A2 A1 A0 ‘0’ ‘0’ X
SO
D7 D6 D5 D4 D3 D2 D1 D0
9