MOTOROLA
Chapter 31. Serial Peripheral Interface
31-13
Part V. The Communications Processor Module
31.6 SPI Commands
Table 31-7 lists transmit/receive commands sent to the CPM command register (CPCR).
31.7 The SPI Buffer Descriptor (BD) Table
As shown in Figure 31-10, buffer descriptors (BDs) are organized into separate Rx and Tx
BD tables in dual-port RAM. The tables have the same basic conÞguration as for the SCCs
and SMCs and form circular queues that determine the order buffers are transferred. The
CPM uses BDs to conÞrm reception and transmission or to indicate error conditions so that
the core knows buffers have been serviced. The buffers themselves can be placed in external
memory or in any unused parameter area of the dual-port RAM.
Figure 31-10. SPI Memory Structure
Table 31-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.
CLOSE
RXBD
Forces the SPI controller to close the current RxBD and use the next BD for subsequently received data.
If the controller is not receiving data, no action is taken. Use this command to extract data from a
partially full buffer.
INIT
RX
PARAMETERS
Initializes all receive parameters in the parameter RAM to their reset state. Should be issued only when
the receiver is disabled. The
INIT
TX
AND
RX
PARAMETERS
command can also be used to reset both the Tx
and Rx parameters.
Frame Status
Data Length
Buffer Pointer
Frame Status
Data Length
Buffer Pointer
Tx Buffer
Pointer to SPI
RxBD Table
Rx Buffer
Dual-Port RAM
External Memory
TxBD Table
RxBD Table
Tx Buffer
Pointer to SPI
TxBD Table
Содержание 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: ......