SPI Data Transfer Operations
3. 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.
4. Reconfigure the
5. Configure DMA by writing to the DMA parameter registers and
enable DMA.
Without disabling the SPI:
1. Clear
RXSPI
ORing 0xc0000 with the present value in the
example programs can use the
/
TXSPI
RXSPI
2. Disable DMA by writing 0x00 to the
3. Clear all errors by writing to the
ister. This ensures that no interrupts occur due to errors from a
previous DMA operation.
4. Reconfigure the
values.
5. Configure DMA by writing to the DMA parameter registers and
enabling DMA.
Switching From Receive to Transmit DMA
Use the following sequence to switch from receive to transmit DMA. Note
that
and
TXSPI
address information.
10-22
register and enable the SPI port.
SPICTL
/
without disabling SPI. This can be done by
TXSPI
.
register to clear the
SPICTL
are registers but they may not contain any bits, only
RXSPI
ADSP-2126x SHARC Processor Hardware Reference
SPICTL
and
RXFLSH
TXFLSH
register.
SPIDMAC
bit (bit 1) in the
MME
TXSPI
reg-
SPISTAT
register. For
bits to clear
reg-
SPISTAT
/
register
RXSPI
Need help?
Do you have a question about the ADSP-21261 SHARC and is the answer not in the manual?