English
Language : 

XRT8000_06 Datasheet, PDF (15/24 Pages) Exar Corporation – Clock Synchronizer/Adapter for Communications
XRT8000
Using the Serial Interface
The following instructions, for using the serial interface,
are best understood by referring to the diagram in
Figure 4.
In order to use the serial interface the user must first
provide a clock signal to the SCLK input pin. Afterwards,
the user will initiates a “Read” or “Write” operation by
asserting the active low Chip Select Input pin (CSB). It is
important to note that the user assert CSB low coincident
with the falling edge of SCLK.
Once the CSB input has been asserted the type of
operation and the target register address must be
provided by the user. The user will provide this
information to the serial interface by writing four serial bits
of data to the SDI input. Note: Each of these bits will be
“clocked” into the SDI input, on the rising edge of SCLK.
These four bits are identified and described below.
Bit 1: The R/W (Read/Write) Bit
This bit will be clocked into the SDI input, on the first rising
edge of SCLK (after CSB has been asserted). This bit
indicates whether the current operation is a read or a write
operation. A “1” in this bit will cause a “Read” operation;
whereas a “0” in this bit will cause a “Write” operation.
Bits 2 through 4: The three (3) bit address value (A0,
A1, A2)
These next three rising edges of the SCLK signal will
clock in the 3-bit address value for this particular read (or
write) operation. This address selects the command
register within XRT8000 device that the user will either be
reading data from, or writing data to. The user must
supply the address bits to the SDI input pin, in ascending
order with the LSB first. (A3 to A5 must be low A6 is a
“don’t care”).
Once the “Read/Write” and Address bits have been
written, the subsequent action depends upon whether the
current operation is a “Read” or “Write” operation.
Read Operation
Once the last address bit (A2) has been clocked into the
SDI input, the read operation will proceed through an idle
period, lasting four SCLK periods. On the falling edge of
SCLK Cycle “8” (See Figure 4) the serial output signal
(SDO) becomes active. At this point the user can begin
reading the data contents of the addressed command
register (at Address A2, A1, A0) via the SDO pin. The
SDO pin will output this five bit data word (D0 through D4)
in ascending order, with the LSB first, on the rising edges
of the SCLK pin.
Write Operation
Once the last address bit (A2) has been clocked into the
SDI input, the write operation will proceed through an idle
period, lasting four SCLK periods. Prior to the rising edge
of SCLK Cycle #9 (See Figure 4) the user must begin to
apply the eight-bit data word, that he/she wishes to write
to the serial input interface onto the SDI input pin. The
microprocessor serial interface will catch the value on the
SDI pin on the rising edge of the SCLK. The user must
apply this word (D0 through D7), serially, in ascending
order with the LSB first.
Simplified Interface Option
The user can simplify the design of the circuitry
connecting to the serial interface by tying both the SDO
and SDI pins together, and reading data from and/or
writing data to this “combined” signal. This simplification
is possible because only one of these signals are active at
any given time. The inactive signal will be tri-stated.
Notes:
1. Prior to reading data from (or writing data to) the Serial Inter-
face, the user is not required to provide a clock signal at the
SCLK. However, shortly before performing any read or write
operations with the Serial Interface, the user must supply the
clock signal to the SCLK input pin.
2. Each Read or Write operation, with the Serial Interface, will
require 16 SCLK periods, as depicted in Figure 4.
3. Upon completion of a Read or Write cycle, the user must ne-
gate CSB for at least 250ns (see timing parameter T29 in the
AC Characteristics), before asserting it again for the next
Read or Write operation.
Rev. 1.11
15