Freescale Semiconductor MPC8260 PowerQUICC II Family Reference Manual page 818

Table of Contents

Advertisement

Serial Management Controllers (SMCs)
Table 27-2. SMC UART and Transparent Parameter RAM Memory Map
Offset
Name
1
0x00
RBASE
0x02
TBASE
0x04
RFCR
0x05
TFCR
0x06
MRBLR
0x08
RSTATE
0x0C
0x10
RBPTR
0x12
0x14
0x18
TSTATE
0x1C
0x20
TBPTR
0x22
27-6
Width
Hword RxBDs and TxBDs base address. (BD table pointer) Define starting points in the
dual-port RAM of the set of BDs for the SMC send and receive functions. They allow
Hword
flexible partitioning of the BDs. By selecting RBASE and TBASE entries for all SMCs
and by setting W in the last BD in each list, BDs are allocated for the send and receive
side of every SMC. Initialize these entries before enabling the corresponding channel.
Configuring BD tables of two enabled SMCs to overlap causes erratic operation.
RBASE and TBASE should be a multiple of eight.
Byte
Rx/Tx function code. See
(RFCR/TFCR)."
Byte
Hword Maximum receive buffer length. The most bytes the PowerQUICC II writes to a receive
buffer before moving to the next buffer. It can write fewer bytes than MRBLR if a
condition like an error or end-of-frame occurs, but it cannot exceed MRBLR.
PowerQUICC II buffers should not be smaller than MRBLR. SMC transmit buffers are
unaffected by MRBLR.
Transmit buffers can be individually given varying lengths through the data length field.
MRBLR can be changed while an SMC is operating only if it is done in a single bus
cycle with one 16-bit move (not two 8-bit bus cycles back-to-back). This occurs when
the CP shifts control to the next RxBD, so the change does not take effect immediately.
To guarantee the exact RxBD on which the change occurs, change MRBLR only while
the SMC receiver is disabled. MRBLR should be greater than zero and should be even
if character length exceeds 8 bits.
2
Word
Rx internal state.
Word
Rx internal data pointer.
the buffer to be accessed.
Hword RxBD pointer. Points to the next BD for each SMC channel that the receiver transfers
data to when it is in idle state, or to the current BD during frame processing. After a
reset or when the end of the BD table is reached, the CP initializes RBPTR to the value
in RBASE. Most applications never need to write RBPTR, but it can be written when
the receiver is disabled or when no receive buffer is in use.
Hword Rx internal byte count.
decremented with every byte the SDMA channels write.
2
Word
Rx temp
Can be used only by the CP.
2
Word
Tx internal state.
Word
Tx internal data pointer.
the buffer to be accessed.
Hword TxBD pointer. Points to the next BD for each SMC channel the transmitter transfers
data from when it is in idle state or to the current BD during frame transmission. After
reset or when the end of the table is reached, the CP initializes TBPTR to the TBASE
value. Most applications never need to write TBPTR, but it can be written when the
transmitter is disabled or when no transmit buffer is in use. For instance, after a
or
TRANSMIT
GRACEFUL STOP TRANSMIT
transmission.
Hword Tx internal byte count.
decremented with every byte the SDMA channels read.
MPC8260 PowerQUICC II Family Reference Manual, Rev. 2
Description
Section 27.2.3.1, "SMC Function Code Registers
Can be used only by the CP.
2
Updated by the SDMA channels to show the next address in
2
A down-count value initialized with the MRBLR value and
Can be used only by the CP.
2
Updated by the SDMA channels to show the next address in
command is issued and the frame completes its
2
A down-count value initialized with the TxBD data length and
STOP
Freescale Semiconductor

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpc8250Mpc8255Mpc8264Mpc8265Mpc8266

Table of Contents