Programming Model
8-18
ADSP-214xx SHARC Processor Hardware Reference
4. Configure the MLB control register (
MLB_DCCR
) with the appropri-
ate settings and enable the MediaLB device.
5. Configure the base address register (
MLB_SBCR
,
MLB_ABCR
or
MLB_CBCR
) based on the data type configured for the logical
channel.
6. Check for MLB lock using the status bit in the
MLB_SSCR
register
using polling or interrupt.
7. Configure the
MLB_LCBCRx
register for channel buffer threshold,
depth and start address.
8. Configure the logical channel using the
MLB_CECRx
register for
ping-pong or circular buffer DMA mode, transfer direction, chan-
nel type, channel address and also to generate appropriate
interrupts.
9. Configure the
MLB_CNBCRx
register with the buffer start and end
address.
10.Set the
RDY
bit in the
MLB_CSCRx
register to start the DMA.
Hardware automatically the clears the
RDY
bit ping-pong DMA but
not for circular buffer DMA. Therefore, for circular buffer DMA,
this bit should be cleared manually by the software to stop buffer
processing.
11.An interrupt is generated depending on the bit unmasked in the
MLB_CECRx
register. Within the ISR check that the appropriate sta-
tus bit (in the
MLB_CSCRx
register) is set.
12.Clear all interrupts by writing 0x0000FFFF to the
MLB_CSCRx
register.
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...