Programming Model
15-32
ADSP-214xx SHARC Processor Hardware Reference
Slave Mode Transfers
When the SPI is configured as a master, regardless of core or DMA the
SPI ports should be configured and transfers started using the following
steps.
1. Route all required signals (
MOSI
,
MISO
,
SPICLK
) for slave mode
including the
SPI_DS_I
as slave select input.
2. Write to the
SPICTLx
and keep the (
SPIMS
) cleared, enabling the
device as a slave and configuring the SPI system by specifying the
appropriate word length, transfer format and other necessary infor-
mation. For DMA operation set
TIMOD
= 10.
The next steps are dependant on whether the access is a core or a DMA
access.
Core Slave Transfers
The following steps illustrate SPI operation in slave mode.
1. Write the data to be transmitted into the
TXSPIx
buffer to prepare
for the data transfer.
2. When a device is enabled as a slave, the start of a transfer is trig-
gered by a transition of the
SPI_DS_I
select signal to the active state
(low) or by the first active edge of the clock (
SPICLK
), depending on
the state of
CPHASE
.
3. The reception or transmission continues until
SPI_DS_I
is released
or until the slave has received the proper number of clock cycles.
4. The slave device continues to receive or transmit with each new
falling-edge transition on
SPI_DS_I
or active
SPICLK
clock edge.
www.BDTIC.com/ADI
Содержание SHARC ADSP-214 Series
Страница 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Страница 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...