31-12
MPC860 PowerQUICC UserÕs Manual
MOTOROLA
Part V. The Communications Processor Module
31.5.1 Receive/Transmit Function Code Registers (RFCR/TFCR)
Figure 31-9 shows the Þelds in the receive/transmit function code registers (RFCR/TFCR)
Table 31-6 describes the RFCR/TFCR Þelds.
1
From SPI base. SPI base = IMMR + 0x3D80.
2
Normally, these parameters need not be accessed. They are listed to help experienced users in debugging.
0x12
Ñ
Hword The Rx internal byte count
2
is a down-count value that is initialized with the MRBLR value
and decremented with every byte the SDMA channels write.
0x14
Ñ
Word
Rx temp. Reserved for CPM use.
0x18
TSTATE Word
Tx internal state. Reserved for CPM use.
0x1C
Ñ
Word
The Tx internal data pointer
2
is updated by the SDMA channels to show the next address
in the buffer to be accessed.
0x20
TBPTR
Hword TxBD pointer. Points to the current Tx BD during frame transmission or the next BD to be
processed when idle. After reset or when the end of the Tx BD table is reached, the CPM
initializes TBPTR to the TBASE value. Most applications do not need to modify TBPTR,
but it can be updated when the transmitter is disabled or when no Tx buffer is in use.
0x22
Ñ
Hword The Tx internal byte count
2
is a down-count value initialized with TxBD[Data Length]and
decremented with every byte read by the SDMA channels.
0x24
Ñ
Word
Tx temp. Reserved for CPM use.
Note
: The user must initialize only items in bold.
Bit
0
1
2
3
4
5
6
7
Field
Ñ
BO
AT[1Ð3]
Reset
0000_0000
R/W
R/W
Addr
SPI Base + 04 (RFCR)/SPI Base + 05 (TFCR)
Figure 31-9. Receive/Transmit Function Code Registers (RFCR/TFCR)
Table 31-6. RFCR/TFCR Field Descriptions
Bits
Name
Description
0Ð2
Ñ
Reserved, should be cleared.
3Ð4
BO
Byte ordering. Set BO to select the required byte ordering for the buffer. If BO is changed on-the-ßy, it
takes effect at the beginning of the next frame or BD. See Appendix A, ÒByte Ordering.Ó
00 Reserved
01 PowerPC little-endian.
1x Big-endian or true little-endian.
5Ð7
AT[1Ð3]
Address type 1Ð3. Contains the user-deÞned function code value used during the SDMA channel
memory access. AT0 is always driven high to identify this channel access as a DMA-type access.
Table 31-5. SPI Parameter RAM Memory Map (Continued)
Offset
1
Name
Width
Description
Содержание MPC860 PowerQUICC
Страница 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Страница 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Страница 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Страница 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Страница 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Страница 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Страница 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Страница 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Страница 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Страница 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Страница 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Страница 1106: ......