MOTOROLA
Chapter 31. Serial Peripheral Interface
31-9
Part V. The Communications Processor Module
31.4.1.2 SPI Examples with Different SPMODE[LEN] Values
The examples below show how SPMODE[LEN] is used to determine character length. To
help map the process, the conventions shown in Table 31-2 are used in the examples.
For all examples below, assume the memory contains the following binary image:
msb
ghij_klmn__opqr_stuv
lsb
Example 1
with LEN=4 (data size=5), the following data is selected:
msb
xxxj_klmn__xxxr_stuv
lsb
with REV=0, the order of the string appearing on the line is:
first
nmlk_j__vuts_r
last
with REV=1, the order of the string appearing on the line is:
first
j_klmn__r_stuv
last
Example 2
with LEN=7 (data size=8), the following data is selected:
msb
ghij_klmn__opqr_stuv
lsb
with REV=0, the string transmitted is:
first
nmlk_jihg__vuts_rqpo
last
with REV=1, the string is transmitted:
first
ghij_klmn__opqr_stuv
last
Example 3
with LEN=0xC (data size=13), the following data is selected:
msb
ghij_klmn__xxxr_stuv
lsb
with REV=0, the string transmitted:
first
nmlk_jihg__vuts_r
last
with REV=1, the string is transmitted:
first
ghij_klmn__r_stuv
last
1
Both __ and _ are used to aid readability.
Table 31-2. Example Conventions
Convention
Description
g
Ð
v
Binary
symbols
x
Deleted
bit
__
1
Original byte boundary
_
Original 4-bit boundary.
Summary of Contents for MPC860 PowerQUICC
Page 3: ...MPC860UM AD 07 98 REV 1 MPC860 PowerQUICC ª UserÕs Manual ...
Page 36: ...xxxvi MPC860 PowerQUICC UserÕs Manual MOTOROLA CONTENTS Paragraph Number Title Page Number ...
Page 78: ...I iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 88: ...1 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 114: ...3 16 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part I Overview ...
Page 226: ...8 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 262: ...9 36 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part II PowerPC Microprocessor Module ...
Page 274: ...III iv MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 320: ...12 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part III Configuration ...
Page 325: ...MOTOROLA Part IV Hardware Interface IV v Part IV Hardware Interface ...
Page 326: ...IV vi MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 352: ...13 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 394: ...14 42 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 426: ...15 32 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 530: ...17 26 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part IV Hardware Interface ...
Page 632: ...21 44 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 660: ...22 28 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 708: ...24 24 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 748: ...27 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 846: ...31 20 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 914: ...35 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 948: ...36 34 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part V The Communications Processor Module ...
Page 998: ...37 48 MPC860 PowerQUICC UserÕs Manual MOTOROLA Part VI Debug and Test ...
Page 1016: ...A 10 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1024: ...B 8 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1030: ...C 6 MPC860 PowerQUICC UserÕs Manual MOTOROLA Appendixes ...
Page 1086: ...Glossary 12 MPC860 PowerQUICC UserÕs Manual MOTOROLA ...
Page 1106: ......