Buffer Descriptors and Connection Tables
MPC885 PowerQUICC Family Reference Manual, Rev. 2
37-2
Freescale Semiconductor
Figure 37-1. Transmit Buffer and TxBD Table Example
In the example of
Figure 37-1
, when the transmitter encounters channel number 1 in the transmit queue, it
sends a cell using transmit buffer 4 because TxBD 4 is the active BD in channel number 1’s TxBD table.
As the cell is sent, the transmit buffer pointer TB_PTR tracks the current data position. After the cell is
sent, the transmitter advances the channel’s TBD_PTR to the next BD in the table (unless the current buffer
is a multiple-cell AAL5 frame in which case TBD_PTR is not advanced and the current data position is
kept in TB_PTR) and moves on to the next channel in the transmit queue. When the end of the BD table
is reached (TxBD[W] = 1), the transmitter returns to the head of the table by re-initializing TBD_PTR to
the channel’s TBASE address.
37.1.1
AAL5 Buffers
Each AAL5 buffer can hold either a whole frame or part of it. During transmit or receive operations,
interrupts are optionally generated at the closing of each buffer or at the end of a frame.
The last buffer of a frame is padded automatically by the transmitter to fit an AAL5 cell payload according
to ITU specification I.363. The transmit buffer data length for AAL5 transmit buffers must be greater than
or equal to 48 bytes for all buffers except the first and last buffer of a frame; the first and last buffers of a
frame must have a data length greater than zero. Note that AAL5 transmit buffers have no alignment
restrictions.
Receive buffers, however, must start on a burst-aligned address (divisible by 16) and their lengths should
be a multiple of 48 bytes (that is, the value of SMRBLR in the SCC parameter RAM should be a multiple
of 48). The buffers are filled with multiples of 48 bytes, except for the last buffer in a frame from which
the AAL5 pads are removed.
BD Memory Space (up to 256 KByte)
TBASE
Pointers from
Ch1 TCT
Tx BD Table
of Ch1
Tx BD Table
of Ch4
Buffer Memory Space (4 Gbyte)
Ch1TB_PTR
TBD_PTR
TBD_BASE
TBASE
TBD_PTR
Pointers from
Ch4 TCT
Tx BD 1
Tx BD 2
Tx BD 3
Tx BD 4
Tx BD 5
Tx BD 6
Tx BD 7
Tx BD 8
Tx BD 9
Tx BD 1
Tx BD 2
Tx BD 3
Tx BD 4
Tx BD 5
Tx BD 6
Tx Buffer3 of
Channel1
Tx Buffer4 of
Channel1
Tx Buffer1 of
Channel4
Tx Buffer2 of
Channel4
Tx Buffer3 of
Channel4
Ch4TB_PTR
Tx Buffer2 of
Channel1
Tx Buffer8 of
Channel4
Tx Buffer1 of
Channel1
Pointer from
Parameter RAM
Содержание PowerQUICC MPC870
Страница 1: ...MPC885 PowerQUICC Family Reference Manual Supports MPC885 MPC880 MPC875 MPC870 MPC885RM Rev 2 04 2006 ...
Страница 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Страница 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Страница 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Страница 192: ...MPC885 Instruction Set MPC885 PowerQUICC Family Reference Manual Rev 2 5 22 Freescale Semiconductor ...
Страница 242: ...Instruction and Data Caches MPC885 PowerQUICC Family Reference Manual Rev 2 7 30 Freescale Semiconductor ...
Страница 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Страница 416: ...External Bus Interface MPC885 PowerQUICC Family Reference Manual Rev 2 13 42 Freescale Semiconductor ...
Страница 440: ...Clocks and Power Control MPC885 PowerQUICC Family Reference Manual Rev 2 14 24 Freescale Semiconductor ...
Страница 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Страница 606: ...SDMA Channels and IDMA Emulation MPC885 PowerQUICC Family Reference Manual Rev 2 19 20 Freescale Semiconductor ...
Страница 738: ...SCC Asynchronous HDLC Mode and IrDA MPC885 PowerQUICC Family Reference Manual Rev 2 25 16 Freescale Semiconductor ...
Страница 780: ...SCC Ethernet Mode MPC885 PowerQUICC Family Reference Manual Rev 2 27 24 Freescale Semiconductor ...
Страница 794: ...SCC Transparent Mode MPC885 PowerQUICC Family Reference Manual Rev 2 28 14 Freescale Semiconductor ...
Страница 848: ...Serial Peripheral Interface SPI MPC885 PowerQUICC Family Reference Manual Rev 2 30 18 Freescale Semiconductor ...
Страница 882: ...Universal Serial Bus USB MPC885 PowerQUICC Family Reference Manual Rev 2 31 34 Freescale Semiconductor ...
Страница 944: ...Parallel I O Ports MPC885 PowerQUICC Family Reference Manual Rev 2 34 26 Freescale Semiconductor ...
Страница 956: ...CPM Interrupt Controller MPC885 PowerQUICC Family Reference Manual Rev 2 35 12 Freescale Semiconductor ...
Страница 1004: ...Buffer Descriptors and Connection Tables MPC885 PowerQUICC Family Reference Manual Rev 2 37 30 Freescale Semiconductor ...
Страница 1022: ...ATM Parameter RAM MPC885 PowerQUICC Family Reference Manual Rev 2 38 18 Freescale Semiconductor ...
Страница 1068: ...ATM Pace Control MPC885 PowerQUICC Family Reference Manual Rev 2 40 22 Freescale Semiconductor ...
Страница 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Страница 1120: ...AAL2 Implementation MPC885 PowerQUICC Family Reference Manual Rev 2 44 30 Freescale Semiconductor ...
Страница 1162: ...Fast Ethernet Controller FEC MPC885 PowerQUICC Family Reference Manual Rev 2 45 40 Freescale Semiconductor ...
Страница 1172: ...SEC Lite Overview MPC885 PowerQUICC Family Reference Manual Rev 2 46 8 Freescale Semiconductor ...
Страница 1176: ...SEC Lite Address Map MPC885 PowerQUICC Family Reference Manual Rev 2 47 4 Freescale Semiconductor ...
Страница 1214: ...SEC Lite Execution Units MPC885 PowerQUICC Family Reference Manual Rev 2 48 38 Freescale Semiconductor ...
Страница 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Страница 1313: ...MPC885 PowerQUICC Family Reference Manual Rev 2 Freescale Semiconductor B 1 Appendix B Serial Communications Performance TBD ...
Страница 1314: ...Serial Communications Performance MPC885 PowerQUICC Family Reference Manual Rev 2 B 2 Freescale Semiconductor ...
Страница 1320: ...Register Quick Reference Guide MPC885 PowerQUICC Family Reference Manual Rev 2 C 6 Freescale Semiconductor ...
Страница 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Страница 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Страница 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Страница 1384: ...Serial ATM Scrambling Reception and SI Programming MPC885 PowerQUICC Family Reference Manual Rev 2 H 6 Freescale Semiconductor ...
Страница 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...