Electronic Components Datasheet Search
  English  ▼

X  

MPC8540 Datasheet(PDF) 751 Page - Freescale Semiconductor, Inc

Part # MPC8540
Description  MPC8540 PowerQUICC III??Integrated Host Processor Reference Manual
PDF  1302 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8540 Datasheet(HTML) 751 Page - Freescale Semiconductor, Inc

Back Button MPC8540 Datasheet HTML 747Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 748Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 749Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 750Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 751Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 752Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 753Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 754Page - Freescale Semiconductor, Inc MPC8540 Datasheet HTML 755Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 751 / 1302 page
background image
Functional Description
MPC8540 PowerQUICC III Integrated Host Processor Reference Manual, Rev. 1
Freescale Semiconductor
14-125
14.6.3 Buffer Descriptors
The TSEC buffer descriptor (BD) is modeled after the MPC8260 Fast Ethernet controller BD for
ease of reuse. Drawing from the MPC8260 FEC BD programming model, the TSEC descriptor
base registers point to the beginning of BD rings. The 8-byte data BD format is similar to the
MPC8260 BD model.
Data buffers are used in the transmission and reception of Ethernet frames (see Figure 14-116).
Data BDs encapsulate all information necessary for the TSEC to transmit or receive an Ethernet
frame. Within each data BD there is a status field, a data length field, and a data pointer. The BD
completely describes an Ethernet packet by centralizing status information for the data packet in
the status field of the BD and by containing a data BD pointer to the location of the data buffer.
Software is responsible for setting up the BDs in memory. Because of pre-fetching, a minimum of
two buffer descriptors per ring are required. This applies to both the transmit and the receive
descriptor rings. Software also must have the data pointer pointing to memory. Within the status
field, there exists an ownership bit which defines the current state of the buffer (pointed to by the
data pointer). Other bits in the status field in the buffer descriptor are used to communicate
status/control information between the TSEC and the software driver.
The status field of the BD is 16-bit field, as is the length field. The data buffer pointer is a 32-bit
field. Therefore, the BDs should be accessed with the following C structure:
typedef unsigned short uint_16; /* choose 16-bit native type */
typedef unsigned int uint_32; /* choose 32-bit native type */
typedef struct bd_struct {
uint_16 flags;
uint_16 length;
uint_32 bufptr;
};
Because there is no next BD pointer in the transmit/receive BD (see Figure 14-117), all BDs must
reside sequentially in memory. The TSEC increments the current BD location appropriately to the
next BD location to be processed. There is a wrap bit in the last BD that informs the TSEC to loop
back to the beginning of the BD chain. Software must initialize TBASE and RBASE that point to
the beginning transmit and receive BDs for the TSEC.



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