
PIN FUNCTIONAL DESCRIPTIONS
SPI interface
Pins SPI-EN, SPI-DA, SPI-CK form the SPIinterface.The
enable, SPI-EN, is active low. Data is transmitted on
SPI-DA as a 72 bit word, there are 8 control bits and 64
data bits, SPI-CK provides the clock for the SPI
interface. The function of the control and data bits is
detailed in the Register Description section. The SPI
interface is also bi-directional with the read/write
function set in the first 8 control bits.
In write mode (figure 1) a full 72 bits is sent from the
hostcontrollerconsisting ofthe8preamblecontrolbits
with the R/W bit set low and the 64 SPI data bits. The
SPI-EN signal must be held low, enabled, for all 72
clocks and data bits as a validity check is run on the
incoming data string and any string not 72 bit long is
rejected. It is recommended to perform a read back of
the SPI data registers to validate the receipt of the
correct instruction.
In read mode (figure 2) the host controller sends the
first 8 preamble control bits with the R/W bit set high.
The SPI-DA pin of the ZXCW6100 device changes state
from being an input to being an output on the falling
edge following the R/W bit. The device then reads out
the data from the internal SPIregister onto the SPI-DA
wire.
Data can be sent to SPI interface using two methods -
burstmode orcontinuos mode. In burstmode data will
besentas asingle72bitSPIdatawordaccompaniedby
72 SPI-CK clock bits. This data would be sent as and
when operating parameters are required to be
changed.
In continuous mode the S PI-CK clock will run
continuously with the SPI-DA data being resent
regardless of whether operating parameters are
required to be changed or not. The only requirement
for this mode, or for burst mode, as regard the
frequency ofSPIupdate is thatthe SPI-EN enable line is
returned high for a minimum of 3 M-CK master clock
cycles between SPI data words.
The SPI interface can operate asynchronously to the
M-CK master clock and to any other data inputs. It can
run up to a maximum of40MHzhowever, itis expected
that one eighth the M-CK clock frequency would be
normal for most requirements.
ZXCW6100S28
S E M IC O N D U C T O R S
ISSUE 2 - FEBRUARY 2004
12
SPI Interface - Write Mode (figure 1)
SPI Interface - Read Mode (figure 2)