SPI Transfer Formats
The
bit defines when the receive buffer can be read. The
RXS
defines when the transmit buffer can be filled. The end of a single word
transfer occurs when the
been received and latched into the receive buffer,
shortly after the last sampling edge of
few core clock cycles and is independent of
rate. If configured to generate an interrupt when
(
= 00), the interrupt becomes active one core clock cycle after
TIMOD
set. When not relying on this interrupt, the end of a transfer can be
detected by polling the
To maintain software compatibility with other SPI devices, the SPI trans-
fer finished bit (
slightly different behavior from that of other commercially available
devices. For a slave device,
device,
is set one-half of the
SPIF
regardless of
CPHASE
The baud rate determines when the
(
< 4)
SPIBAUD
SPIF
set, and consequently before new data has been latched into the
buffer. Therefore, for
for the
bit to be set (after
RXS
For larger
SPIBAUD
6-30
bit is set. This indicates that a new word has
RXS
bit.
RXS
) is also available for polling. This bit may have
SPIF
is set at the same time as
SPIF
SPICLK
or
.
CLKPL
is set after
. The
RXS
= 2 or
SPIBAUD
SPIF
settings (
SPIBAUD
ADSP-21368 SHARC Processor Hardware Reference
RXSPI
. The latency is typically a
SPICLK
,
CPHASE
TIMOD
RXSPI
period after the last
bit is set. In general, when
SPIF
bit is set before the
SPIF
= 3, the processor must wait
SPIBAUD
is set) before reading the
> 4),
is set before
RXS
bit
TXS
. The
bit is set
RXS
, and the baud
is full
is
RXS
. For a master
RXS
edge,
SPICLK
bit is
RXS
RXSPI
buffer.
RXSPI
is set.
SPIF
Need help?
Do you have a question about the SHARC ADSP-21368 and is the answer not in the manual?