Serial Interface
MPC885 PowerQUICC Family Reference Manual, Rev. 2
20-30
Freescale Semiconductor
20.2.5.2
Programming the IDL Interface
To program the IDL interface, first program SIMODE[GMx] to the IDL grant mode for that channel. If the
receive and transmit sections interface to the same IDL bus, set SIMODE[CRTx] to internally connect the
Rx clock and sync signals to the transmit section. Then program the SI RAM used for the IDL channels to
the preferred routing. See
Section 20.2.3.8, “SI RAM Programming Example.”
Define the IDL frame structure by programming SIMODE[xFSD] to have a 1-bit delay from frame sync
to data, SIMODE[FE] to sample the sync on the falling edge, and SIMODE[CE] to transmit on the rising
edge of the clock. Program L1TXDx to be three-stated when inactive via the parallel I/O open-drain
register. To support the D channel, set the appropriate SICR[GR] bit and program the RAM entry to route
data to the chosen SCC. The two definitions of IDL, 8- and 10-bit, are only supported by modifying the SI
RAM programming. In both cases, L1GRx is sampled with L1TSYNCx and transferred to the D-channel
SCC as a grant indication. Repeat the same procedure for an IDL bus on the second TDM channel.
For example, based on the same 10-bit format as in
Section 20.2.3.8, “SI RAM Programming Example,”
implement an IDL bus using SCC2, SCC3, and SMC2 connected to the TDM channel as follows:
1. Program both the Rx and Tx sections of the SI RAM as in
Table 20-11
. Write unused entries with
0x0001_0000.
2. SIMODE = 0x8000_0145. Only TDMa is used. SMC2 is connected to the TSA.
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. Configure L1TXDa to be an open-drain output.
5. PAPAR[7–9] = 0b111. Configure L1TXDa, L1RXDa, and L1RCLKa.
6. PADIR[7–9] = 0b011. Configure L1TXDa, L1RXDa, and L1RCLKa.
7. PCPAR[5,4] = 1. Configure L1TSYNCa, and L1RSYNCa.
8. L1TSYNCa performs the L1GRa grant function and is therefore an input but does not need to be
configured by clearing PCDIR. L1RSYNCa is an input but does not need to be configured in
PCDIR.
9. PDPAR[6] Configure L1RQa,
10. PCDIR[6] = 0. L1RQa is an output. SIGMR = 0x04. Enable TDMa (one static TDM).
11. SICMR is not used.
Table 20-11. SI RAM Settings for IDL Interface
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
011
0000
0
0
1 bit SCC3 (D)
3
0
0000
000
0000
0
0
1 bit no support
4
0
0000
110
0000
1
0
8 bits SMC2 (B2)
5
0
0001
011
0000
0
1
1 bit SCC3 (D) and strobe1
Содержание PowerQUICC MPC870
Страница 1: ...MPC885 PowerQUICC Family Reference Manual Supports MPC885 MPC880 MPC875 MPC870 MPC885RM Rev 2 04 2006 ...
Страница 98: ...MPC885 PowerQUICC Family Reference Manual Rev 2 I 4 Freescale Semiconductor ...
Страница 118: ...MPC885 Overview MPC885 PowerQUICC Family Reference Manual Rev 2 1 20 Freescale Semiconductor ...
Страница 158: ...The MPC8xx Core MPC885 PowerQUICC Family Reference Manual Rev 2 3 18 Freescale Semiconductor ...
Страница 192: ...MPC885 Instruction Set MPC885 PowerQUICC Family Reference Manual Rev 2 5 22 Freescale Semiconductor ...
Страница 242: ...Instruction and Data Caches MPC885 PowerQUICC Family Reference Manual Rev 2 7 30 Freescale Semiconductor ...
Страница 288: ...MPC885 PowerQUICC Family Reference Manual Rev 2 III 4 Freescale Semiconductor ...
Страница 416: ...External Bus Interface MPC885 PowerQUICC Family Reference Manual Rev 2 13 42 Freescale Semiconductor ...
Страница 440: ...Clocks and Power Control MPC885 PowerQUICC Family Reference Manual Rev 2 14 24 Freescale Semiconductor ...
Страница 554: ...MPC885 PowerQUICC Family Reference Manual Rev 2 V 6 Freescale Semiconductor ...
Страница 606: ...SDMA Channels and IDMA Emulation MPC885 PowerQUICC Family Reference Manual Rev 2 19 20 Freescale Semiconductor ...
Страница 738: ...SCC Asynchronous HDLC Mode and IrDA MPC885 PowerQUICC Family Reference Manual Rev 2 25 16 Freescale Semiconductor ...
Страница 780: ...SCC Ethernet Mode MPC885 PowerQUICC Family Reference Manual Rev 2 27 24 Freescale Semiconductor ...
Страница 794: ...SCC Transparent Mode MPC885 PowerQUICC Family Reference Manual Rev 2 28 14 Freescale Semiconductor ...
Страница 848: ...Serial Peripheral Interface SPI MPC885 PowerQUICC Family Reference Manual Rev 2 30 18 Freescale Semiconductor ...
Страница 882: ...Universal Serial Bus USB MPC885 PowerQUICC Family Reference Manual Rev 2 31 34 Freescale Semiconductor ...
Страница 944: ...Parallel I O Ports MPC885 PowerQUICC Family Reference Manual Rev 2 34 26 Freescale Semiconductor ...
Страница 956: ...CPM Interrupt Controller MPC885 PowerQUICC Family Reference Manual Rev 2 35 12 Freescale Semiconductor ...
Страница 1004: ...Buffer Descriptors and Connection Tables MPC885 PowerQUICC Family Reference Manual Rev 2 37 30 Freescale Semiconductor ...
Страница 1022: ...ATM Parameter RAM MPC885 PowerQUICC Family Reference Manual Rev 2 38 18 Freescale Semiconductor ...
Страница 1068: ...ATM Pace Control MPC885 PowerQUICC Family Reference Manual Rev 2 40 22 Freescale Semiconductor ...
Страница 1090: ...UTOPIA Interface MPC885 PowerQUICC Family Reference Manual Rev 2 43 8 Freescale Semiconductor ...
Страница 1120: ...AAL2 Implementation MPC885 PowerQUICC Family Reference Manual Rev 2 44 30 Freescale Semiconductor ...
Страница 1162: ...Fast Ethernet Controller FEC MPC885 PowerQUICC Family Reference Manual Rev 2 45 40 Freescale Semiconductor ...
Страница 1172: ...SEC Lite Overview MPC885 PowerQUICC Family Reference Manual Rev 2 46 8 Freescale Semiconductor ...
Страница 1176: ...SEC Lite Address Map MPC885 PowerQUICC Family Reference Manual Rev 2 47 4 Freescale Semiconductor ...
Страница 1214: ...SEC Lite Execution Units MPC885 PowerQUICC Family Reference Manual Rev 2 48 38 Freescale Semiconductor ...
Страница 1312: ...Byte Ordering MPC885 PowerQUICC Family Reference Manual Rev 2 A 8 Freescale Semiconductor ...
Страница 1313: ...MPC885 PowerQUICC Family Reference Manual Rev 2 Freescale Semiconductor B 1 Appendix B Serial Communications Performance TBD ...
Страница 1314: ...Serial Communications Performance MPC885 PowerQUICC Family Reference Manual Rev 2 B 2 Freescale Semiconductor ...
Страница 1320: ...Register Quick Reference Guide MPC885 PowerQUICC Family Reference Manual Rev 2 C 6 Freescale Semiconductor ...
Страница 1336: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 16 Freescale Semiconductor ...
Страница 1358: ...MPC885 PowerQUICC Family Reference Manual Rev 2 D 38 Freescale Semiconductor ...
Страница 1370: ...MPC880 MPC885 PowerQUICC Family Reference Manual Rev 2 E 4 Freescale Semiconductor ...
Страница 1384: ...Serial ATM Scrambling Reception and SI Programming MPC885 PowerQUICC Family Reference Manual Rev 2 H 6 Freescale Semiconductor ...
Страница 1386: ...Revision History MPC885 PowerQUICC Family Reference Manual Rev 2 I 2 Freescale Semiconductor ...