Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

MPC8280 Datasheet(PDF) 746 Page - Freescale Semiconductor, Inc

Part # MPC8280
Description  PowerQUICC??II Family Reference Manual
PDF  1386 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  FREESCALE [Freescale Semiconductor, Inc]
Direct Link  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

MPC8280 Datasheet(HTML) 746 Page - Freescale Semiconductor, Inc

Back Button MPC8280 Datasheet HTML 742Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 743Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 744Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 745Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 746Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 747Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 748Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 749Page - Freescale Semiconductor, Inc MPC8280 Datasheet HTML 750Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 746 / 1386 page
background image
SCC HDLC Mode
MPC8280 PowerQUICC II Family Reference Manual, Rev. 1
22-16
Freescale Semiconductor
Table 22-10 describes HDLC SCCS fields.
22.13 SCC HDLC Programming Examples
The following sections show examples for programming SCCs in HDLC mode. The first example uses an
external clock. The second example implements Manchester encoding.
22.13.1 SCC HDLC Programming Example #1
The following initialization sequence is for an SCC HDLC channel with an external clock. SCC2 is used
with RTS2, CTS2, and CD2 active; CLK3 is used for both the HDLC receiver and transmitter.
1. Configure port D pins to enable TXD2 and RXD2. Set PPARD[27,28] and PDIRD[27] and clear
PDIRD[28] and PSORD[27,28].
2. Configure ports C and D pins to enable RTS2, CTS2 and CD2. Set PPARD[26], PPARC[12,13]
and PDIRD[26] and clear PDIRC[12,13], PSORC[12,13] and PSORD[26].
3. Configure port C pin 29 to enable the CLK3 pin. Set PPARC[29] and clear PDIRC[29] and
PSORC[29].
4. Connect CLK3 to SCC2 using the CPM mux. Write 0b110 to CMXSCR[R2CS] and
CMXSCR[T2CS].
5. Connect the SCC2 to the NMSI (its own set of pins). clear CMXSCR[SC2].
6. Write RBASE and TBASE in the SCC2 parameter RAM to point to the RxBD and TxBD tables in
dual-port RAM. Assuming one RxBD at the start of dual-port RAM and one TxBD following it,
write RBASE with 0x0000 and TBASE with 0x0008.
7. Write RBASE and TBASE in the SCC2 parameter RAM to point to the RxBD and TxBD tables in
dual-port RAM. Assuming one RxBD at the start of dual-port RAM and one TxBD following it,
write RBASE with 0x0000 and TBASE with 0x0008.
Table 22-10. HDLC SCCS Field Descriptions
Bits
Name
Description
0–4
—
Reserved, should be cleared.
5
FG
Flags. The line is checked after the data has been decoded by the DPLL.
0 HDLC flags are not being received. The most recently received 8 bits are examined every bit time
to see if a flag is present.
1 HDLC flags are being received. FG is set as soon as an HDLC flag (0x7E) is received on the line.
Once it is set, it remains set at least 8 bit times and the next eight received bits are examined. If
another flag occurs, FG stays set for at least another eight bits. If not, it is cleared and the search
begins again.
6
CS
Carrier sense (DPLL). Shows the real-time carrier sense of the line as determined by the DPLL.
0 The DPLL does not sense a carrier.
1 The DPLL senses a carrier.
7
ID
Idle status.
0 The line is busy.
1 Set when RXD is a logic 1 (idle) for 15 or more consecutive bit times. It is cleared after a single
logic 0 is received.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com