Programming Model
8-16
ADSP-214xx SHARC Processor Hardware Reference
Loop-Back Test Mode
Loop-back test mode is used for debug operations and is enabled by set-
ting the
LBM
bit in the
MLB_DCCR
register. This mode provides basic testing
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
PICRx
register to generate MLB
interrupt.
3. Unmask the appropriate bits in
MLB_SSCR
register inorder to moni-
tor the MLB network.
4. Configure the MLB control register (
MLB_DCCR
) with the appropri-
ate settings and enable the MediaLB device.
5. Check for MLB lock using the status bit in the
MLB_SSCR
register
using polling or interrupt.
6. Configure the
MLB_LCBCRx
register for channel buffer threshold,
depth and start address.
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...