Freescale Semiconductor PowerQUICC MPC885 Reference Manual page 727

Powerquicc family
Table of Contents

Advertisement

25.8
Asynchronous HDLC Mode Parameter RAM
For asynchronous HDLC mode, the protocol-specific area of the SCC parameter RAM is mapped as in
Table
25-1.
Table 25-1. Asynchronous HDLC-Specific SCC Parameter RAM Memory Map
1
Offset
Name
0x30
0x34
C_MASK
0x38
C_PRES
0x3C
BOF
0x3E
EOF
0x40
ESC
0x42
0x46
ZERO
0x48
0x4A
RFTHR
0x4C
0x50
TXCTL_TBL
0x54
RXCTL_TBL
0x58
NOF
0x5A
1
From SCC base. SCC base = IMMR + 0x3D00 (SCC2) or 0x3E00 (SCC3) or 0x3F00 (SCC4)
Figure 25-3
shows bit arrangements for TXCTL_TBL and RXCTL_TBL.
0
1
2
0x1F 0x1E 0x1D 0x1C 0x1B 0x1A 0x19
16
17
18
0x0F 0x0E 0x0D 0x0C 0x0B 0x0A 0x09
Freescale Semiconductor
Width
Word
Reserved
Word
CRC constant. Initialize with 0x0000_F0B8.
Word
CRC preset. Initialize with 0x0000_FFFF.
Hword Beginning-of-flag-character. Initialize to PPP-0x7E, IrLAP - 0xC0.
Hword End-of-flag character. Initialize to PPP-0x7E, IrLAP-0xC1.
Hword Control escape character. Initialize to 0x7D for both PPP and IrLAP.
Word
Reserved
Hword Clear this field.
Hword Reserved
Hword Received frames threshold. Number of Rx frames needed to trigger SCCE[RXF]
Word
Reserved
Word
Control character tables. Stores the bit array used for the Tx/Rx control characters.
See
Figure
25-3. Each bit corresponds to a character that should be mapped
Word
according to RFC 1549. If a TXCTL_TBL bit is set, its corresponding character is
mapped; otherwise, it is not mapped. If an RXCTL_TBL bit is set, its corresponding
character is discarded if received; otherwise, it is received normally. TXCTL_TBL
and RXCTL_TBL should be initialized to zero for IrLAP.
Hword Number of opening flags to be sent at the beginning of a frame. A value of n
corresponds to n+1 flags.
Hword Reserved
3
4
5
6
0x18
19
20
21
22
0x08
Figure 25-3. TXCTL_TBL/RXCTL_TBL
MPC885 PowerQUICC Family Reference Manual, Rev. 2
SCC Asynchronous HDLC Mode and IrDA
Description
7
8
9
10
0x17
0x16
0x15
0x14
23
24
25
26
0x07
0x06
0x05
0x04
11
12
13
14
0x13
0x12
0x11
0x10
27
28
29
30
0x03
0x02
0x01
0x00
15
31
25-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc mpc870Powerquicc mpc880Powerquicc mpc875

Table of Contents