MOTOROLA
Chapter 32. I2C Controller
32-9
Part V. The Communications Processor Module
Table 32-5 describes I2COM Þelds.
32.5 I
2
C Parameter RAM
The I
2
C controller parameter RAM area, shown in Table 32-6, is used for the general I
2
C
parameters. It is similar to the SCC general-purpose parameter RAM. Certain parameter
RAM values, such as the maximum receive buffer length (MRBLR), must be initialized by
the user before the I
2
C is enabled, while other parameters, used by the CPM, do not need
initialization. Software usually does not access parameter RAM entries once they are
initialized; they should be changed only when the I
2
C is inactive.
Bit
0
1
2
3
4
5
6
7
Field
STR
Ñ
M/S
Reset
0000_0000
R/W
R/W
Addr
0x86C
Figure 32-10. I
2
C Command Register (I2COM)
Table 32-5. I2COM Field Descriptions
Bits
Name Description
0
STR
Start transmit. In master mode, setting STR causes the I
2
C controller to start sending data from the
I
2
C Tx buffers if they are ready. In slave mode, setting STR when the I
2
C controller is idle causes it to
load the Tx data register from the current Tx buffer (if ready) and start sending when it receives an
address byte that matches the slave address with R/W = 1. STR is always read as a 0.
1Ð6
Ñ
Reserved and should be cleared.
7
M/S
Master/slave. ConÞgures the I
2
C controller to operate as a master or a slave.
0 I
2
C is a slave.
1 I
2
C is a master.
Table 32-6. I
2
C Parameter RAM Memory Map
Offset
1
Name
Width
Description
0x00
RBASE
Hword Rx/TxBD table base address. Indicate where the BD tables begin in the dual-port RAM.
Setting Rx/TxBD[W] in the last BD in each BD table determines how many BDs are
allocated for the Tx and Rx sections of the I
2
C. Initialize RBASE/TBASE before enabling
the I
2
C. Furthermore, do not conÞgure BD tables of the I
2
C to overlap any other active
controllerÕs parameter RAM.
RBASE and TBASE should be divisible by eight.
0x02
TBASE
Hword
0x04
RFCR
Byte
Rx/Tx function code. Contains the value to appear on AT[1Ð3] when the associated
SDMA channel accesses memory. Also controls the byte-ordering convention for
transfers. See Figure 32-11 and Table 32-7.
0x05
TFCR
Byte
Содержание 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: ......