ksz8851-mql Micrel Semiconductor, ksz8851-mql Datasheet - Page 35

no-image

ksz8851-mql

Manufacturer Part Number
ksz8851-mql
Description
Single-port Ethernet Mac Controller With 8/16-bit Or 32-bit Non-pci Interface
Manufacturer
Micrel Semiconductor
Datasheet
Driver Routine for Transmit Packet from Host Processor to KSZ8851M
The transmit routine is called by the upper layer to transmit a contiguous block of data through the Ethernet controller. It is
user’s choice to decide how the transmit routine is implemented. If the Ethernet controller encounters an error while
transmitting the frame, it’s the user’s choice to decide whether the driver should attempt to retransmit the same frame or
discard the data. The following Figures 8 and 9 shows the step-by-step for single and multiple transmit packets from host
processor to KSZ8851M.
February 2009
Register Name
[bit](offset)
RXQCR[3](0x82)
TXFDPR[14](0x84)
IER[14][6](0x90)
ISR[15:0](0x92)
TXNTFSR[15:0](0x9E)
Micrel, Inc.
Set bit 3 to start DMA access from host CPU either read (receive frame data) or write (transmit data frame)
Set bit 14 to enable TXQ transmit frame data pointer register increments automatically on accesses to the
data register.
Set bit 14 to enable transmit interrupt in Interrupt Enable Register
Set bit 6 to enable transmit space available interrupt in Interrupt Enable Register.
Write 1 (0xFFFF) to clear all interrupt status bits after interrupt occurred in Interrupt Status Register.
The host CPU is used to program the total amount of TXQ buffer space which is required for next total
transmit frames size in double-word count.
Table 8. Registers Setting for Transmit Function Block
35
Description
KSZ8851-16/32 MQL/MQLI
M9999-021309-1.1

Related parts for ksz8851-mql