18 scc ethernet receive bd, Scc ethernet receive bd -17, Scc ethernet receive rxbd -17 – Motorola MPC8260 User Manual

Page 685

Advertising
background image

MOTOROLA

Chapter 24. SCC Ethernet Mode

24-17

Part IV. Communications Processor Module

24.18 SCC Ethernet Receive BD

The Ethernet controller uses the RxBD to report on the received data for each buffer.

Table 24-7 describes RxBD status and control Þelds.

12Ð14 NIB

Number of ignored bits. Determines how soon after RENA assertion the Ethernet controller should
begin looking for the start frame delimiter. Typically NIB = 101 (22 bits).
000 Begin searching 13 bits after the assertion of RENA.
001 Begin searching 14 bits after the assertion of RENA.
...
111 Begin searching 24 bits after the assertion of RENA.

15

FDE

Full duplex Ethernet.
0 Disable full-duplex Ethernet mode.
1 Enable full-duplex Ethernet mode.
Note: When FDE = 1, PSMR[LPB] must be set also.

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

Offset + 0

E

Ñ

W

I

L

F

Ñ

M

Ñ

LG

NO

SH

CR

OV

CL

Offset + 2

Data Length

Offset + 4

Rx Data Buffer Pointer

Offset + 6

Figure 24-6. SCC Ethernet Receive RxBD

Table 24-7. SCC Ethernet Receive RxBD Status and Control

Field Descriptions

Bits Name

Description

0

E

Empty.
0 The buffer is full or stopped receiving data because an error occurred. The core can read or write any

Þelds of this RxBD. The CPM does not use this BD as long as the E bit is zero.

1 The buffer is not full. The CPM controls this BD and its buffer; do not modify this BD.

1

Ñ

Reserved, should be cleared.

2

W

Wrap (Þnal BD in table).
0 Not the last BD in the table.
1 Last BD in the table. After this buffer is used, the CPM receives incoming data into the Þrst BD that

RBASE points to. The number of BDs is determined only by the W bit and overall space constraints of
the dual-port RAM.

3

I

Interrupt. Note that this bit does not mask SCCE[RXF] interrupts.
0 No SCCE[RXB] interrupt is generated after this buffer is used.
1 SCCE[RXB] or SCCE[RXF] is set when this buffer is used by the Ethernet controller. These two bits

can cause interrupts if they are enabled.

Table 24-6. PSMR Field Descriptions

Bits

Name

Description

Advertising