LAN91C96I_07 SMSC [SMSC Corporation], LAN91C96I_07 Datasheet - Page 60

no-image

LAN91C96I_07

Manufacturer Part Number
LAN91C96I_07
Description
Non-PCI Single-Chip Full Duplex Ethernet Controller
Manufacturer
SMSC [SMSC Corporation]
Datasheet
8.1
Rev. 03-28-07
1 ISSUE ALLOCATE MEMORY FOR TX - N
2 WAIT
3 LOAD TRANSMIT DATA - Copy the TX packet
4 ISSUE "ENQUEUE PACKET NUMBER TO TX
5
6
7 a)
BYTES - the MMU attempts to allocate N bytes
of RAM.
CODE - Poll until the ALLOC INT bit is set or
enable its mask bit and wait for the interrupt.
The TX packet number is now at the Allocation
Result Register.
number into the Packet Number Register. Write
the Pointer Register, then use a block move
operation from the upper layer transmit queue
into the Data Register.
FIFO" - This command writes the number
present in the Packet Number Register into the
TX FIFO. The transmission is now enqueued.
No further CPU intervention is needed until a
transmit interrupt is generated.
b)
Typical Flow Of Events For Transmit (Auto Release =0)
SERVICE INTERRUPT - Read Interrupt
Status Register. If it is a transmit interrupt,
read the TX FIFO Packet Number from the
FIFO Ports Register. Write the packet
number into the Packet Number Register.
The corresponding status word is now
readable from memory.
shows
RELEASE packet number command to free
up the memory used by this packet.
Remove packet number from completion
FIFO by writing TX INT Acknowledge
Register.
Option 1) Release the packet.
Option 2) Check the transmit status in the
EPH STATUS Register, write the packet
number of the current packet to the Packet
Number Register, re-enable TXENA, then
go to step 4 to start the TX sequence again.
FOR
successful
SUCCESSFUL
S/W DRIVER
transmission,
If status word
COMPLETION
DATASHEET
issue
Page 60
The enqueued packet will be transferred to the
MAC block as a function of TXENA (nTCR) bit
and of the deferral process (1/2 duplex mode
only) state.
a)
b)
Upon transmit completion the first word in
memory is written with the status word. The
packet number is moved from the TX FIFO
into the TX completion FIFO. Interrupt is
generated by the TX completion FIFO being
not empty.
f a TX failure occurs on any packets, TX
INT is generated and TXENA is cleared,
transmission sequence stops. The packet
number of the failure packet is presented at
the TX FIFO PORTS Register.
Non-PCI Single-Chip Full Duplex Ethernet Controller
MAC SIDE
SMSC DS – LAN91C96I

Related parts for LAN91C96I_07