Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

LAN9250 Datasheet(PDF) 170 Page - Microchip Technology

Part # LAN9250
Description  Integrated Ethernet PHY with HP Auto-MDIX
PDF  421 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

LAN9250 Datasheet(HTML) 170 Page - Microchip Technology

Back Button LAN9250 Datasheet HTML 166Page - Microchip Technology LAN9250 Datasheet HTML 167Page - Microchip Technology LAN9250 Datasheet HTML 168Page - Microchip Technology LAN9250 Datasheet HTML 169Page - Microchip Technology LAN9250 Datasheet HTML 170Page - Microchip Technology LAN9250 Datasheet HTML 171Page - Microchip Technology LAN9250 Datasheet HTML 172Page - Microchip Technology LAN9250 Datasheet HTML 173Page - Microchip Technology LAN9250 Datasheet HTML 174Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 170 / 421 page
background image
LAN9250
DS00001913A-page 170
 2015 Microchip Technology Inc.
11.11.7
TRANSMITTER ERRORS
If the Transmitter Error (TXE) flag is asserted for any reason, the transmitter will continue operation. TX Error (TXE) will
be asserted under the following conditions:
• If the actual packet length count does not match the Packet Length field as defined in the TX command.
• Both TX command ‘A’ and TX command ‘B’ are required for each buffer in a given packet. TX command ‘B’ must
be identical for every buffer in a given packet. If the TX command ‘B’ words do not match, the Ethernet controller
will assert the Transmitter Error (TXE) flag.
• Host overrun of the TX Data FIFO.
11.11.8
STOPPING AND STARTING THE TRANSMITTER
To halt the transmitter, the host must set the STOP_TX bit in the Transmit Configuration Register (TX_CFG). The trans-
mitter will finish sending the current frame (if there is a frame transmission in progress). When the transmitter has
received the TX status for this frame, it will clear the STOP_TX and TX_ON bits, and will pulse the TXSTOP_INT in the
Interrupt Status Register (INT_STS).
Once stopped, the host can optionally clear the TX Status and TX Data FIFOs. The host must re-enable the transmitter
by setting the TX_ON bit. If the there are frames pending in the TX Data FIFO (i.e., TX Data FIFO was not purged), the
transmission will resume with this data.
11.12 RX Data Path Operation
When an Ethernet Packet is received, the Host MAC Interface Layer (MIL) first begins to transfer the RX data. This data
is loaded into the RX Data FIFO. The RX Data FIFO pointers are updated as data is written into the FIFO.
The last transfer from the MIL is the RX status word. The device implements a separate FIFO for the RX status words.
The total available RX data and status queued in the RX FIFO can be read from the RX FIFO Information Register
(RX_FIFO_INF). The host may read any number of available RX status words before reading the RX Data FIFO.
The host must use caution when reading the RX data and status. The host must never read more data than what is
available in the FIFO’s. If this is attempted an underrun condition will occur. If this error occurs, the Ethernet controller
will assert the Receiver Error (RXE) interrupt. If an underrun condition occurs, a soft reset is required to regain host
synchronization.
A configurable beginning offset is supported in the device. The RX data Offset field in the Receive Configuration Reg-
ister (RX_CFG) controls the number of bytes that the beginning of the RX data buffer is shifted. The host can set an
offset from 0-31 bytes. The offset may be changed in between RX packets, but it must not be changed during an RX
packet read.
The device can be programmed to add padding at the end of a receive packet in the event that the end of the packet
does not align with the host burst boundary. This feature is necessary when the device is operating in a system that
always performs multi-DWORD bursts. In such cases the device must guarantee that it can transfer data in multiples of
the Burst length regardless of the actual packet length. When configured to do so, the device will add extra data at the
end of the packet to allow the host to perform the necessary number of reads so that the Burst length is not cut short.
Once a packet has been padded by the H/W, it is the responsibility of the host to interrogate the packet length field in
the RX status and determine how much padding to discard at the end of the packet.
It is possible to read multiple packets out of the RX Data FIFO in one continuous stream. It should be noted that the
programmed Offset and Padding will be added to each individual packet in the stream, since packet boundaries are
maintained.
11.12.1
RX SLAVE PIO OPERATION
Using PIO mode, the host can either implement a polling or interrupt scheme to empty the received packet out of the
RX Data FIFO. The host will remain in the idle state until it receives an indication (interrupt or polling) that data is avail-
able in the RX Data FIFO. The host will then read the RX Status FIFO to get the packet status, which will contain the
packet length and any other status information. The host should perform the proper number of reads, as indicated by
the packet length plus the start offset and the amount of optional padding added to the end of the frame, from the RX
Data FIFO. A typical host receive routine using interrupts can be seen in Figure 11-15, while a typical host receive rou-
tine using polling can be seen in Figure 11-16.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com