KSZ8842-16MBL-EVAL MICREL [Micrel Semiconductor], KSZ8842-16MBL-EVAL Datasheet - Page 42

no-image

KSZ8842-16MBL-EVAL

Manufacturer Part Number
KSZ8842-16MBL-EVAL
Description
2-Port Ethernet Switch with Non-PCI Interface
Manufacturer
MICREL [Micrel Semiconductor]
Datasheet
The transmit Byte Count specifies the total number of bytes to be transmitted from the TXQ. Its format is given in Table 5.
The data area contains six bytes of Destination Address (DA) followed by six bytes of Source Address (SA), followed by a
variable-length number of bytes. On transmit, all bytes are provided by the CPU, including the source address. The
KSZ8842M does not insert its own source address. The 802.3 Frame Length word (Frame Type in Ethernet) is not
interpreted by the KSZ8842M. It is treated transparently as data for transmit operations.
Receive Queue (RXQ) Frame Format
The frame format for the receive queue is shown in Table 6. The first word contains the status information for the frame
received. The second word is the total number of bytes of the RX frame. Following that is the packet data area. The
packet data area holds the frame itself. It may or may not include the CRC checksum depending upon whether hardware
CRC stripping is enabled.
For receive, the packet receive status always reflects the receive status of the packet received in the current RX packet
memory (see Table 7). The RXSR register indicates the status of the current received frame.
Micrel, Inc.
October 2007
Bit
15
14-10
9-8
7-6
5-0
Bit
15-11
10-0
Description
TXIC Transmit Interrupt on Completion
When bit is set, the KSZ8842M sets the transmit interrupt after the present frame has been
transmitted.
Reserved
TXDPN Transmit Destination Port Number
When bit is set, this field indicates the destination port(s) where the packet is forwarded
from host system. Set bit 8 to indicate that port 1 is the destination port. Set bit 9 to
indicate that port 2 is the destination port.
Setting all ports to 1 causes the switch engine to broadcast the packet to both ports.
Setting all bits to 0 has no effect. The internal switch engine forwards the packets
according to the switching algorithm in its MAC lookup table.
Reserved
TXFID Transmit Frame ID
This field specifies the frame ID that is used to identify the frame and its associated status
information in the transmit status register TXSR[5:0].
Description
Reserved
TXBC Transmit Byte Count
Transmit Byte Count. Hardware uses the byte count information to conserve the TX buffer
memory for better utilization of the packet memory.
Note: The hardware behavior is unknown if an incorrect byte count information is written to
this field. Writing a 0 value to this field is not permitted.
Packet Memory
Address Offset
0
2
4 - up
Table 4. Transmit Control Word Bit Fields
Table 6. Receive Queue Frame Format
Table 5. Transmit Byte Count Format
Bit 15
2
Status Word
Byte Count
Packet Data
(maximum size is 1916)
nd
42
Byte
1
st
Bit 0
Byte
KSZ8842-16/32 MQL/MVL/MVLI/MBL
M9999-102207-1.9

Related parts for KSZ8842-16MBL-EVAL