Analog Devices SHARC ADSP-214 Series Hardware Reference Manual page 651

Table of Contents

Advertisement

With enabled SPI:
1. Poll the
buffer can be cleared.
2. Clear the
abling the SPI. This can be done by ORing 0xC0000 with the
present value in the
use the
RXFLSH
fer status.
3. Clear the
4. Clear all errors by writing to the W1C-type bits in the
ister. This ensures that no interrupts occur due to errors from a
previous DMA operation.
5. Reconfigure the
the
TXSPI
6. Configure DMA by writing to the DMA parameter registers and
the
SPIDMACx
Switching From Receive to a New DMA
Use the following sequence to switch from receive to transmit DMA. Note
that
and
TXSPIx
only address information.
With disabled SPI:
1. Poll the
be disabled.
2. Clear the
also clears the
status.
ADSP-214xx SHARC Processor Hardware Reference
www.BDTIC.com/ADI
bit in the
SPIFE
SPISTAT
/
buffers and the buffer status without dis-
RXSPIx
TXSPIx
SPICTLx
and
bits to clear
TXFLSH
register.
SPIDMAC
register to remove the clear condition on
SPICTL
/
registers.
RXSPI
registers using the
are registers but they may not contain any bits,
RXSPIx
bit in the
SPIFE
SPISTAT
registers to disable the SPI. Disabling the SPI
SPICTLx
/
RXSPIx
TXSPIx
Serial Peripheral Interface Ports
register. If this bit is high the SPI
register. For example, programs can
/
TXSPIx
RXSPIx
bit (bit 0).
SPIDEN
register. If this bit =1 the SPI can
register contents and the buffer
and the buf-
reg-
SPISTAT
15-35

Advertisement

Table of Contents
loading

Table of Contents