Serial Periph eral Inter face (SPI)
MPC8260 PowerQUICC II Family Reference Manual, Rev. 2
38-12 Freescale Semiconductor

38.5.1 Receive/Transmit Function Code Registers (RFCR /TFCR)

Figure 38-9 shows the fields in the receive/transmit function code registers (RFCR/TFCR).

Table38-6 describes the RFCR/TFCR fields.

38.6 SPI Commands

Table38-7 lists transmit/receive commands sent to the CP command register (CPCR).

2Normally, these parameters need not be accessed. They are listed to help experienced users in debugging.
01234567
Field — GBL BO TC2 DTB
Reset 0000_0000
R/W R/W
Addr SPI Base + 04 (RFCR)/SPI Base + 05 (TFCR)
Figure 38-9. RFCR/TFCR—Function Code Registers
Table38-6. RFCR/TFCR Field Descriptions
Bits Name Description
0–1 Reserved, should be cleared.
2GBL Global access bit
0 Disable memory snooping
1 Enable memory snooping
3–4 BO Byte ordering. Set BO to select the required byte ordering for the buffer. If BO is changed on-the-fly,
it takes effect at the beginning of the next frame or BD.
00 True little-endian. Note this mode can only be used with 32-bit port size memory.
01 Munged little-endian
1x Big-endian
5TC2 Transfer code 2. Contains the transfer code value of TC[2], used during this SDMA channel memory
access. TC[0–1] is driven with a 0b11 to identify this SDMA channel access as a DMA-type access.
6DTB Data bus indicator.
0 Use 60x bus for SDMA operation.
1 Use local bus for SDMA operation.
7Reserved, should be cleared.
Table38-7. SPI Commands
Command Description
INIT TX
PARAMETERS
Initializes all transmit parameters in the parameter RAM to their reset state and should be issued
only when the transmitter is disabled. The INIT TX AND RX PARAMETERS command can also be used
to reset both the Tx and Rx parameters.