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

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents