Motorola PowerQUICC II MPC8280 Series Reference Manual page 838

Table of Contents

Advertisement

Programming the Ethernet Controller
Table 25-1. SCC Ethernet Parameter RAM Memory Map (continued)
1
Offset
Name
0x7C
TFBD_PTR
0x7E
TLBD_PTR
0x80
TBUF1_DATA0
0x84
TBUF1_DATA1
0x88
TBUF1_RBA0
0x8C
TBUF1_CRC
0x90
TBUF1_BCNT
0x92
TX_LEN
0x94
IADDR1
0x96
IADDR2
0x98
IADDR3
0x9A
IADDR4
0x9C
BOFF_CNT
0x9E
TADDR_H
0x A0
TADDR_M
0x A2
TADDR_L
1
From SCC base address. See Section 20.3.1, "SCC Base Addresses."
25.8 Programming the Ethernet Controller
The core configures the SCC to operate as an Ethernet controller by setting GSMR[MODE]
to 0b1100. Receive and transmit errors are reported through RxBD and TxBD. Several
GSMR fields must be programmed to special values for Ethernet. Set DSR[SYN1] to 0x55
and DSR[SYN2] to 0xD5. The 6 bytes of preamble programmed in the GSMR, in
combination with the DSR programming, causes 8 bytes of preamble on transmit
(including the 1-byte start delimiter with the value 0xD5).
25.9 SCC Ethernet Commands
Transmit and receive commands are issued to the CP command register (CPCR).
Table 25-2 describes transmit commands.
25-10
Freescale Semiconductor, Inc.
Width
Hword Tx first BD pointer.
Hword Tx last BD pointer.
Word Save area 0—next frame.
Word Save area 1—next frame.
Word
Word
Hword
Hword Tx frame length counter.
Hword Individual address filter 1–4. Used in the hash table function of the individual
addressing mode. Zeros can be written to these values after reset and before the
Ethernet channel is enabled to disable all individual hash address recognition
functions. The
SET GROUP ADDRESS
Hword Backoff counter.
Hword Allows addition and deletion of addresses from individual and group hash tables.
After placing an address in TADDR, issue a
TADDR_L (temp address low) is the least-significant half word and TADDR_H
(temp address high) is the most-significant half word.
MPC8280 PowerQUICC II Family Reference Manual
For More Information On This Product,
Go to: www.freescale.com
Description
command is used to enable the hash table.
SET GROUP ADDRESS
command.
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Powerquicc ii mpc8270Powerquicc ii mpc8275Powerquicc ii mpc8280

Table of Contents