Electronic Components Datasheet Search
  English  ▼

X  

LAN89218 Datasheet(PDF) 28 Page - Microchip Technology

Part # LAN89218
Description  High-Performance Single-Chip 10/100 Ethernet Controller for Automotive Applications
PDF  148 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

LAN89218 Datasheet(HTML) 28 Page - Microchip Technology

Back Button LAN89218 Datasheet HTML 24Page - Microchip Technology LAN89218 Datasheet HTML 25Page - Microchip Technology LAN89218 Datasheet HTML 26Page - Microchip Technology LAN89218 Datasheet HTML 27Page - Microchip Technology LAN89218 Datasheet HTML 28Page - Microchip Technology LAN89218 Datasheet HTML 29Page - Microchip Technology LAN89218 Datasheet HTML 30Page - Microchip Technology LAN89218 Datasheet HTML 31Page - Microchip Technology LAN89218 Datasheet HTML 32Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 28 / 148 page
background image
LAN89218
DS60001255B-page 28
 2008-2015 Microchip Technology Inc.
An example of a TX packet with a pre-pended TX checksum preamble can be found in Section 3.12.6.3. In this
example the host writes the packet data to the Ethernet controller in four fragments, the first containing the TX
Checksum Preamble. Figure 3-24 shows how these fragments are loaded into the TX Data FIFO. For more
information on the TX Command ‘A’ and TX Command ‘B’, refer to Section 3.12.2.
If the TX packet already includes a partial checksum calculation (perhaps inserted by an upper layer protocol), this
checksum can be included in the hardware checksum calculation by setting the TXCSSP field in the TX checksum
preamble to include the partial checksum. The partial checksum can be replaced by the completed checksum
calculation by setting the TXCSLOC pointer to point to the location of the partial checksum.
3.6.2.1
TX Checksum Calculation
The TX checksum calculation is performed using the same operation as the RX checksum shown in Section 3.6.1.1,
with the exception that the calculation starts as indicated by the preamble, and the transmitted checksum is the one’s-
compliment of the final calculation.
TABLE 3-7:
TX CHECKSUM PREAMBLE
Field
Description
31:28
Reserved
27:16
TXCSLOC - TX Checksum Location
This field specifies the byte offset where the TX checksum will be inserted in the TX packet. The
checksum will replace two bytes of data starting at this offset.
Note:
The TX checksum cannot be inserted in the MAC header (first 14 bytes) or in the last 4
bytes of the TX packet.
15:12
Reserved
11:0
TXCSSP - TX Checksum Start Pointer
This field indicates start offset, in bytes, where the checksum calculation will begin in the associated
TX packet.
Note:
The data checksum calculation must not begin in the MAC header (first 14 bytes) or in the
last 4 bytes of the TX packet.
Note:
When the TXCOE is enabled, the third DWORD of the pre-pended packet is not transmitted. However, 4
bytes must be added to the packet length field in TX Command ‘B’.
Note:
The TX checksum preamble must be DWORD-aligned (i.e., the two least significant bits of the Data Start
Offset fields in TX Command “A” must be zero). Any valid buffer end alignment setting can be used.
Note:
Software applications must stop the transmitter and flush the TX data path before changing the state of the
TXCOE_EN bit. However, the CK bit of TX Command ‘B’ can be set or cleared on a per-packet basis.
Note:
When the TX checksum offload feature is invoked, if the calculated checksum is 0000h, it is left unaltered.
UDP checksums are optional under IPv4, and a zero checksum calculated by the TX checksum offload
feature will erroneously indicate to the receiver that no checksum was calculated, however, the packet will
typically not be rejected by the receiver. Under IPv6, however, according to RFC 2460, the UDP checksum
is not optional. A calculated checksum that yields a result of zero must be changed to FFFFh for insertion
into the UDP header. IPv6 receivers discard UDP packets containing a zero checksum. Thus, this feature
must not be used for UDP checksum calculation under IPv6.



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