MK50H28N ST Microelectronics, Inc., MK50H28N Datasheet - Page 45

no-image

MK50H28N

Manufacturer Part Number
MK50H28N
Description
Multi Logical Link Frame Relay Controller
Manufacturer
ST Microelectronics, Inc.
Datasheet
4.4 Detailed Programming Procedures
4.4.1 Initialization (Reading of Initialization Block)
The following procedure should be followed to initialize the MK50H28:
4.4.2 Link Setup
4.4.2.1 User Mode (Auto LMI Mode)
The following procedure should be followed for establishing a link.
By-Directional Recv Seq
By-Directional Xmit Seq
1. Setup bus control information in CSR4.
2. Setup the Initialization Block, Address Lookup Table, Context Table, and Descriptor Rings.
3. Load the address of the initialization block information into CSR’s 2 and 3.
4. Issue the INIT primitive through CSR1 (write 4200H to CSR1) instructing the MK50H28 to read
5. Wait for the INIT confirmation primitive (CSR1 = 0242H) from the MK50H28. Then clear the PAV
6. Issue the Start primitive through CSR1 (write 4300H to CSR1).
7. Enable interrupts in CSR0 if desired.
1. Make sure that the ACTIVE bit in the Address Lookup Table is set for the LMI channel.
2. Issue the Auto LMI Primitive 7 with UPARM = 0 through CSR1 (write 4700H) to place the device
RCTADR:<23:00>
Recv Seq Number
XCTADR:<23:00>
Xmit Seq Number
REV INDICATOR
PRMISA:<23:00>
PART NUMBER
the initialization block pointed to by CSR’s 2 and 3.
bit in CSR1 (write 0040H to CSR1).
INFORMATION TRANSFER phaseand the MK50H28 will begin to continuously transmit flags.
in Auto LMI User Mode.
PHASE
FIELD
Indicates the part number (28 Hex) for the MK50H28.
Indicates the current revision of the part.
Indicates the current phase of operation.
Current Transmit Context Table Address. This pointer indicates the address of the
entry in Context Table Memory Structure corresponding to the descriptor ring from
which frames are currently being transmitted.
Current Receive Context Table Address. This pointer indicates the address of the
entry in Context Table Memory Structure corresponding to the descriptor ring into
which received frames are currently being placed.
Transmit Sequence Number. The Current Sequence number used by the most
recently transmitted LMI frame.
Receive Sequence Number. The Current Sequence number used by the most
recently received LMI frame
By-Directional Transmit Sequence Number. The Current Sequence number used by
the most recently transmitted LMI frame using the Optional Bi-directional Procedures
By-Directional Receive Sequence Number. The Current Sequence number used by
the most recently received LMI frame using the Optional Bi-directional Procedures
Previous MISS Address. This pointer indicates the address in the Context Table for
the most current receive MISS. This value is updated by the MK50H28 whenever a
MISS condition occurs and does not require issuing a Status Request primitive to
update it, as do all the other fields in the Status Buffer.
0: Stopped, TD is held at 1’s, RD is ignored
10: Information Transfer Only
11: Information Transfer + Auto LMI Transmission - User Mode
12: Information Transfer + Auto LMI Transmission - Network Mode
13: Information Transfer + Auto LMI Transmission - Bi-directional Mode
20: Transparent Mode (all channels are treated as data channels)
30: Initialization Complete
DESCRIPTION
The MK50H28 will now be in
MK50H28
45/64

Related parts for MK50H28N