![background image](http://html1.mh-extra.com/html/texas-instruments/thunderlan-tnete100a/thunderlan-tnete100a_programmers-manual_1097040168.webp)
100VG-AnyLAN Training
B-3
TNETE211 100VG-AnyLAN Demand Priority Physical Media Independent (PMI) Interface
The following describes what the driver must do to successfully train:
1) Assert the INTEN bit in the TLPHY_ctl register to enable MII interrupts to
ThunderLAN from the voice grade (VG) PHY
2) Ensure that ThunderLAN is not in copy all frames mode, copy short frames
mode, or broadcast mode (CAF, CSF, and NOBRX bits in the NetCmd reg-
ister)
3) Disable the multicast addresses contained in the HASH registers
4) Set the general purpose address register AREG0 to 0x000000000000h
so that ThunderLAN may receive the training frames. Note that the training
frame contains a destination address of 0.
5) Determine if ThunderLAN is currently transmitting as it enters the training
procedure. If so, stop the transmitter.
a) If transmitting:
i)
Set up a deadman timer before halting the transmitter (10 s)
ii)
Assert the Tx STOP interrupt by asserting the MASK5 bit in the
NetMask register
iii) Issue a Tx STOP command by setting the STOP bit in the
HOST_CMD register with the appropriate channel set
iv) Exit the routine and the service interrupt when the transmitter
stops
b) If not transmitting, do not use STOP
6) At this point, use the following steps to build the training frame in a buffer:
J
Read all the statistics registers to clear them
J
Move the pointer to the training frame buffer
J
Set the destination address to NULL as specified in 802.12
J
Set the source address to your adapter’s source address
J
Set the Req config field to the appropriate options
J
Fill in the rest of the training frame (two bytes in the Allow config field +
675 bytes of data) with NULLs
J
Setup the Tx list with the training buffer’s pointer and size in prepara-
tion for a Tx GO command
7) Request the beginning of the training period by clearing the TRFAIL bit and
asserting the TRIDL bit in the TLPHY_ctl register.
Summary of Contents for ThunderLAN TNETE100A
Page 2: ...Printed in U S A October 1996 L411001 9761 revisionA SPWU013A ...
Page 3: ......
Page 17: ...xiv ...
Page 23: ...1 6 ...
Page 67: ...3 10 ...
Page 81: ...4 14 ...
Page 113: ...7 10 ...
Page 165: ...A 52 ...
Page 179: ...C 2 ...