
ADSP-214xx SHARC Processor Hardware Reference
15-37
Serial Peripheral Interface Ports
5. Reconfigure the
SPICTLx
registers to remove the clear condition on
the
TXSPIx
/
RXSPIx
registers.
6. Configure DMA by writing to the DMA parameter registers and
the
SPIDMACx
registers using the
SPIDEN
bit (bit 0).
DMA Error Interrupts
The
SPIUNF
and
SPIOVF
bits of the
SPIDMACx
registers indicate transmission
errors during a DMA operation in slave mode. When one of the bits is set,
an SPI interrupt occurs. The following sequence details the steps to
respond to this interrupt.
With SPI disabled:
1. Disable the SPI port by writing 0x00 to the
SPICTLx
registers.
2. Disable DMA and clear the DMA FIFO by
FIFOFLSH
bit in the
SPIDMACx
register. This ensures that any data from a previous DMA
operation is cleared before configuring a new DMA operation.
3. Clear all errors by writing to the W1C-type bits in the
SPISTATx
registers. This ensures that the error bits
SPIOVF
and
SPIUNF
(in the
SPIDMACx
registers) are cleared when a new DMA is configured.
4. Reconfigure the
SPICTLx
registers and enable the SPI using the
SPIEN
bit.
5. Configure DMA by writing to the DMA parameter registers and
the
SPIDMACx
registers.
www.BDTIC.com/ADI
Summary of Contents for SHARC ADSP-214 Series
Page 60: ...Contents lx ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 72: ...Notation Conventions lxxii ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 130: ...Programming Model 2 52 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 264: ...Programming Models 3 134 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 290: ...Programming Model 4 26 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 296: ...Programming Model 5 6 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 396: ...Effect Latency 7 28 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 520: ...Programming Model 10 62 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 616: ...Debug Features 14 22 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 656: ...Programming Model 15 40 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 714: ...Programming Model 19 10 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1132: ...Register Listing A 306 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...
Page 1192: ...Index I 34 ADSP 214xx SHARC Processor Hardware Reference www BDTIC com ADI...