Motorola MC68824 User Manual page 68

Token-passing bus controller
Table of Contents

Advertisement

Issue LOAD INITIALIZATION TABLE FC Command
Wait until Semaphore Register is 'FF'
Load the Init Table Pointer into DR
Issue INITIALIZE Command
HOST INTERFACE TEST
Issue SET MODE 3 Command to Set SWAP and HLEN Bits
Prepare First 3.4 Bytes of Test Buffer
Load CPA VALO with Function Code of Buffer if Needed
Load CPA VAL 1 and CPA VAL2 with Pointer to Buffer
Clear Done Bit in CPA Status Word
Issue HOST INTERFACE TEST (Code is BC)
Wait for Done Bit in Status Word
Compare Returned Data to Data which was given to the TBC
FULL DUPLEX LOOPBACK TEST
Issue SET MODE 3 Command to Set SWAP, HLEN, RCDS, and TCDS Bits if Needed
Prepare Test Buffer
Load CPA VALO with Function Code of Buffer if needed
Load CPA VAL 1 and CPA VAL2 with Pointer to Buffer
Issue SET INTERNAUEXTERNAL LOOPBACK MODE
Initialize Modem if in External Loopback Mode
Clear Done Bit in CPA Status Word
Issue FULL DUPLEX LOOPBACK MODE TEST (Code is B8)
Wait for Done Bit in Status Word
Read Indication 0 and 1 for Errors
Compare Returned Data to Data which was given to the TBC
TRANSMITIER TEST
Issue SET MODE 3 Command to set SWAP, HLEN, PS3, and TCDS Bits if Needed
Prepare Access Class 6 TX Queue
Issue SET ONE WORD Command to Set High_Priority_ Token_Hold Time if Different from
Value Set in Initialization Table
Issue SET FC BD, FD, and
RX/TX
Data Buffers if Needed
Issue SET INTERNAUEXTERNAL LOOPBACK MODE
Initialize Modem if in External Loopback Mode Needed
Issue START Command for Access Class 6
Clear Done Bit in CPA Status Word
Issue TRANSMITIER TEST (Code is B4 or B6)
Wait for Command Confirmation which Indicates Acceptance of the Test
Wait until Last Known TX Frame has been Confirmed or an Interrupt is Generated by the TBC
for TXQE
Issue the OFFLINE Command
MC68824 USER'S MANUAL
MOTOROLA
3-25
II

Advertisement

Table of Contents
loading

Table of Contents