64
Lucent Technologies Inc.
Preliminary Data Sheet
August 1998
H.100/H.110 Interface and Time-Slot Interchanger
Ambassador T8100
3 Using the T8100
(continued)
3.3 Using the LAR, AMR, and IDR for Connections
(continued)
3.3.3 Programming Examples
(continued)
;*******EXAMPLE #2 - Setting up Local Connections
;
;
Use 8 Mbits/s rate set up from Example #1...
;
Send data from Stream 7/Time Slot 60 to Stream 0/Time Slot 2
;
The data is coming from Data Location Stream 07h, Time Slot 3Ch, and is
;
being accessed by Connection Memory Location Stream 00h, Time Slot 02h
;
in the next frame (unframed operation).
;
MD,LAR,1Dh
;Set up lower address, i.e., Time Slot 29
MD,AMR,43h
;
Set up upper address bits (Stream 3), and
point to the
;
the Time Slot field of the connection memory
MI,IDR,07h
;Put a “7” in the Time Slot field of connection location
3,29
;
;Syntactically, “MI,IDR,data” is a special case since IDR is not the final recipient
of the data
;
MD,AMR,53h
;Maintain the same upper address, but get ready to load the
;
remaining connection info (upper bits +
control)
MI,IDR,0001_1110b
;This decodes as follows: XCS bit low, pattern mode off
;
(not set), frame bit low, time slot enabled,
and stream = 1110b (14)
;
;*******END OF EXAMPLE #2
;*******EXAMPLE #3 - Setting up H-Bus Connections
;
; Use rate set up from Example #1...
; Send data from Stream 14/Time Slot 7 of the H.100 bus to Stream 3/Time Slot 29
; on the Local side. The data is coming in at 4 Mbits/s from E-CAM, and is sent
; out at 8 Mbits/s to through L-CAM. We’re using Data Memory location 49 to hold
; the actual data. LAR is not used for the CAM connection setups; it is used for
; reading specific CAM locations or writing and reading the associated Data
; Memory Locations.
;
;******Set up the “from” connection
;
MD,AMR,0B0h
;Point to the Time-Slot holding register
MI,IDR,07h
;This is the Time-Slot value (7) for the H-Bus address
MD,AMR,0B1h
;Point to the upper bits of the connection
MI,IDR,000_01110b
:Set up a write into data memory from ECTF bus,
;
disable pattern mode, minimum delay,
;
and set stream number equal to 01110b (14).
MD,AMR,0B2h
;Point to tag field
MI,IDR,31h
;Use location 49 of the associated Data RAM to store the data
;
MD,AMR,0E0h
;Write to next free location in the Even CAM
MI,IDR,0E0h
;The command is executed with the indirect to IDR which
;uses the same command value as in the AMR.