MOTOROLA
Chapter 21. Serial Interface
21-35
Part V. The Communications Processor Module
21.2.6.3 GCI Interface (SCIT Mode) Programming Example
Assuming SCC2 is connected to the B1 channel, SMC2 to the B2 channel, SCC3 to the D
channel, and SMC1 to the C/I channels, the initialization sequence is as follows:
1. Program both the Rx and Tx sections of the SI RAM as shown in Table 21-12. Write
all unused entries with 0x0001_0000. Note that this example is for SCIT mode. For
normal mode, delete the last three entries in Table 21-12 and set the LST bit in the
new last entry.
2. SIMODE = 0x8000_80E0. Only TDMa is used. SMC1 and SMC2 are connected.
3. SICR = 0x00C0_4000. SCC2 and SCC3 are connected to the TSA. SCC3 supports
the grant mechanism since it is on the D channel.
4. PAODR[9] = 1. ConÞgure L1TXDa to be an open-drain output.
5. PAPAR[7Ð9] = 0b111. ConÞgure L1TXDa, L1RXDa, and L1RCLKa.
6. PADIR[7Ð9] = 0b011. ConÞgure L1TXDa, L1RXDa, and L1RCLKa.
7. If the 1
´
GCI data clock is required, conÞgure L1CLKOa as an output by setting
PBPAR[20] and PBDIR[20].
8. PCPAR[4] = 1. ConÞgure L1RSYNCa.
9. SIGMR = 0x04. Enable TDMa (one static TDM).
10. SICMR is not used.
11. SISTR and SIRP do not need to be read but can be used for debugging when
channels are enabled.
12. Enable SCC3 for HDLC operation (to handle the LAPD protocol of the D channel),
conÞgure SCC2 and SMC2 as needed and enable SMC1 for SCIT operation.
Table 21-12. SI RAM Settings for GCI Interface (SCIT Mode)
Entry
Number
SI RAM
SWTR
SSEL
CSEL
CNT
BYT
LST
Description
1
0
0000
010
0000
1
0
8 bits SCC2 (B1)
2
0
0000
110
0000
1
0
8 bits SMC2 (B2)
3
0
0000
101
0000
1
0
8 bits SMC1 (M)
4
0
0000
011
0001
0
0
2 bits SCC3 (D)
5
0
0000
101
0101
0
0
6 bits SMC1 (I + A + E)
6
0
0000
000
0110
1
0
Skip 7 bytes
7
0
0000
000
0001
0
0
Skip 2 bits
8
0
0000
111
0000
0
1
D grant bit
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: ......