Serial Communications Controllers (SCCs)
MPC8260 PowerQUICC II Family Reference Manual, Rev. 2
Freescale Semiconductor
20-13
20.3
SCC Parameter RAM
Each SCC parameter RAM area begins at the same offset from each SCC base area.
Section 20.3.1, “SCC
Base Addresses,”
describes the SCC’s base addresses. The protocol-specific portions of the SCC
parameter RAM are discussed in the specific protocol descriptions and the part that is common to all SCC
protocols is shown in
Table 20-4
.
Some parameter RAM values must be initialized before the SCC can be enabled. Other values are
initialized or written by the CPM. Once initialized, most parameter RAM values do not need to be accessed
because most activity centers around the descriptors rather than the parameter RAM. However, if the
parameter RAM is accessed, note the following:
•
Parameter RAM can be read at any time.
•
Tx parameter RAM can be written only when the transmitter is disabled—after a
STOP
TRANSMIT
command and before a
RESTART
TRANSMIT
command or after the buffer/frame finishes
transmitting after a
GRACEFUL
STOP
TRANSMIT
command and before a
RESTART
TRANSMIT
command.
•
Rx parameter RAM can be written only when the receiver is disabled. Note the
CLOSE
RXBD
command does not stop reception, but it does allow the user to extract data from a partially full Rx
buffer.
•
See
Section 20.3.7, “Reconfiguring the SCCs.”
Table 20-4
shows the parameter RAM map for all SCC protocols. Boldfaced entries must be initialized by
the user.
Table 20-4. SCC Parameter RAM Map for All Protocols
Offset
1
Name
Width
Description
0x00
RBASE
Hword
Rx/TxBD table base address—offset from the beginning of dual-port RAM. The BD
tables can be placed in any unused portion of the dual-port RAM. The CPM starts BD
processing at the top of the table. (The user defines the end of the BD table by setting
the W bit in the last BD to be processed.) Initialize these entries before enabling the
corresponding channel. Erratic operations occur if BD tables of active SCCs overlap.
Values in RBASE and TBASE should be multiples of eight.
0x02
TBASE
Hword
0x04
RFCR
Byte
Rx function code. See
Section 20.3.2, “Function Code Registers (RFCR and TFCR)
.”
0x05
TFCR
Byte
Tx function code. See
Section 20.3.2, “Function Code Registers (RFCR and TFCR)
.”
0x06
MRBLR
Hword
Maximum receive buffer length. Defines the maximum number of bytes the
PowerQUICC II writes to a receive buffer before it goes to the next buffer. The
PowerQUICC II can write fewer bytes than MRBLR if a condition such as an error or
end-of-frame occurs. It never writes more bytes than the MRBLR value. Therefore,
user-supplied buffers should be no smaller than MRBLR. MRBLR should be greater than
zero for all modes. It should be a multiple of 4 for Ethernet and HDLC modes, and in
totally transparent mode unless the Rx FIFO is 8-bits wide (GSMR_H[RFW] = 1).
Note:
Although MRBLR is not intended to be changed while the SCC is operating, it can
be changed dynamically in a single-cycle, 16-bit move (not two 8-bit cycles).
Changing MRBLR has no immediate effect. To guarantee the exact Rx BD on
which the change occurs, change MRBLR only while the receiver is disabled.
Transmit buffer length is programmed in TxBD[Data Length] and is not affected by
MRBLR.
Содержание MPC8250
Страница 90: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 lxxxviii Freescale Semiconductor...
Страница 94: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 I 4 Freescale Semiconductor...
Страница 118: ...Overview MPC8260 PowerQUICC II Family Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 236: ...Reset MPC8260 PowerQUICC II Family Reference Manual Rev 2 5 14 Freescale Semiconductor...
Страница 274: ...60x Signals MPC8260 PowerQUICC II Family Reference Manual Rev 2 7 18 Freescale Semiconductor...
Страница 540: ...IEEE 1149 1 Test Access Port MPC8260 PowerQUICC II Family Reference Manual Rev 2 13 8 Freescale Semiconductor...
Страница 548: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 IV 8 Freescale Semiconductor...
Страница 704: ...Serial Communications Controllers SCCs MPC8260 PowerQUICC II Family Reference Manual Rev 2 20 26 Freescale Semiconductor...
Страница 770: ...SCC BISYNC Mode MPC8260 PowerQUICC II Family Reference Manual Rev 2 23 20 Freescale Semiconductor...
Страница 808: ...SCC Ethernet Mode MPC8260 PowerQUICC II Family Reference Manual Rev 2 25 24 Freescale Semiconductor...
Страница 848: ...Serial Management Controllers SMCs MPC8260 PowerQUICC II Family Reference Manual Rev 2 27 36 Freescale Semiconductor...
Страница 972: ...ATM Controller and AAL0 AAL1 and AAL5 MPC8260 PowerQUICC II Family Reference Manual Rev 2 30 52 Freescale Semiconductor...
Страница 1062: ...ATM AAL1 Circuit Emulation Service MPC8260 PowerQUICC II Family Reference Manual Rev 2 31 46 Freescale Semiconductor...
Страница 1072: ...ATM AAL2 MPC8260 PowerQUICC II Family Reference Manual Rev 2 32 10 Freescale Semiconductor...
Страница 1122: ...Inverse Multiplexing for ATM IMA MPC8260 PowerQUICC II Family Reference Manual Rev 2 33 20 Freescale Semiconductor...
Страница 1178: ...Inverse Multiplexing for ATM IMA MPC8260 PowerQUICC II Family Reference Manual Rev 2 33 76 Freescale Semiconductor...
Страница 1224: ...Fast Ethernet Controller MPC8260 PowerQUICC II Family Reference Manual Rev 2 35 28 Freescale Semiconductor...
Страница 1242: ...FCC HDLC Controller MPC8260 PowerQUICC II Family Reference Manual Rev 2 36 18 Freescale Semiconductor...
Страница 1302: ...Register Quick Reference Guide MPC8260 PowerQUICC II Family Reference Manual Rev 2 A 4 Freescale Semiconductor...
Страница 1318: ...Reference Manual Rev 1 Errata MPC8260 PowerQUICC II Family Reference Manual Rev 2 B 16 Freescale Semiconductor...
Страница 1356: ...MPC8260 PowerQUICC II Family Reference Manual Rev 2 Index 28 Freescale Semiconductor U U Index...