ADSP-2126x SHARC Processor Hardware Reference
10-5
Serial Peripheral Interface Port
The
SPICLK
signal is used to shift out the data driven onto the
MISO
lines
and shift in the data driven onto the
MOSI
lines. The data is always shifted
out on one edge of the clock (referred to as the active edge) and sampled
on the opposite edge of the clock (referred to as the sampling edge). Clock
polarity and clock phase relative to data are programmable via bit 11
(
CLKPL
) and bit 10 (
CPHASE
) in the
SPICTL
control register.
SPICLK Timing
When the processor is configured as an SPI-Slave, the SPI-master must
drive an
SPICLK
signal that conforms with
. For exact timing
parameters, please refer to the appropriate ADSP-2126x data sheet.
The
SPIDS
lead time (T1), the
SPIDS
lag time (T2), and the sequential
transfer delay time (T3) must always be greater than or equal to one-half
the
SPICLK
period. The minimum time between successive word transfers
(T4) is two
SPICLK
periods. This time period is measured from the last
active edge of
SPICLK
of one word to the first active edge of
SPICLK
of the
next word. This calculation is independent from the configuration of the
SPI (
CPHASE
,
SPIMS
, and so on).
SPI Slave Select Outputs (SPIDS0-3)
When
CPHASE
=0, the SPI port hardware controls the device-select signal
automatically (determined by
DSxEN
bits in
SPIFLG
). Setting
CPHASE
=1
Figure 10-3. SPICLK Timing
SPI CLK
CPHASE =0
T1
T2
T3
T4
SPIDS
TO SLAVE
Summary of Contents for ADSP-21261 SHARC
Page 30: ...Contents xxx ADSP 2126x SHARC Processor Hardware Reference ...
Page 40: ...Register Diagram Conventions xl ADSP 2126x SHARC Processor Hardware Reference ...
Page 58: ...Differences From Previous SHARCs 1 18 ADSP 2126x SHARC Processor Hardware Reference ...
Page 112: ...Secondary Processing Element PEy 2 54 ADSP 2126x SHARC Processor Hardware Reference ...
Page 178: ...Summary 3 66 ADSP 2126x SHARC Processor Hardware Reference ...
Page 204: ...DAG Instruction Summary 4 26 ADSP 2126x SHARC Processor Hardware Reference ...
Page 322: ...Setting Up DMA 7 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 436: ...SPORT Programming Examples 9 86 ADSP 2126x SHARC Processor Hardware Reference ...
Page 521: ...ADSP 2126x SHARC Processor Hardware Reference 11 31 Input Data Port rts IDP_ISR end ...
Page 522: ...Input Data Port Programming Example 11 32 ADSP 2126x SHARC Processor Hardware Reference ...
Page 590: ...Timer Programming Examples 14 20 ADSP 2126x SHARC Processor Hardware Reference ...
Page 796: ...I O Processor Registers A 174 ADSP 2126x SHARC Processor Hardware Reference ...
Page 800: ...B 4 ADSP 2126x SHARC Processor Core Manual ...
Page 846: ...Index I 36 ADSP 2126x SHARC Processor Hardware Reference ...