I/O Interrupt Mode - Analog Devices SHARC ADSP-214 Series Hardware Reference Manual

Table of Contents

Advertisement

Programming Model
Loop-Back Test Mode
Loop-back test mode is used for debug operations and is enabled by set-
ting the
bit in the
LBM
capabilities for the MediaLB pads, physical layer, link layer, channel pro-
tocol and the local channel buffer by enabling a single receive channel and
a single transmit channel. When loop-back test mode is enabled, a data
path is enabled which allows receive data from even channel N to be sent
out as transmit data on channel N + 1, where N = {0, 2, 4 ...30}.
Programming Model
The following sections provide procedures that are helpful when program-
ming media local bus interface.

I/O Interrupt Mode

To configure the MLB interface for I/O mode using interrupts, use the
following procedure.
1. Reset the MLB device.
2. Program the appropriate bits in the
interrupt.
3. Unmask the appropriate bits in
tor the MLB network.
4. Configure the MLB control register (
ate settings and enable the MediaLB device.
5. Check for MLB lock using the status bit in the
using polling or interrupt.
6. Configure the
depth and start address.
8-16
www.BDTIC.com/ADI
register. This mode provides basic testing
MLB_DCCR
MLB_SSCR
register for channel buffer threshold,
MLB_LCBCRx
ADSP-214xx SHARC Processor Hardware Reference
register to generate MLB
PICRx
register inorder to moni-
) with the appropri-
MLB_DCCR
MLB_SSCR
register

Advertisement

Table of Contents
loading

Table of Contents