11.17 Network Coprocessor Gigabit Ethernet (GbE) Switch Subsystem
The gigabit Ethernet (GbE) switch subsystem provides an efficient interface between the device and the networked community. The Ethernet Media Access Controller (EMAC) supports 10Base-T (10 Mbits/second), and 100BaseTX (100 Mbps), in half- or full-duplex mode, and 1000BaseT (1000 Mbps) in full-duplex mode, with hardware flow control and quality-of-service (QOS) support. The GbE switch subsystem is coupled with the Network Coprocessor. For more information, see the Gigabit Ethernet (GbE) Switch Subsystem (1 GB) User's Guide.
An address range is assigned to the 66AK2Hxx. Each individual device has a 48-bit MAC address and consumes only one unique MAC address out of the range. There are two registers to hold these values, MACID1[31:0] (32 bits) and MACID2[15:0] (16 bits). The MACID1 and MACID2 registers are shown in Figure 11-46 and Figure 11-47 and described in Table 11-46 and Table 11-47.
Figure 11-46 MACID1 Register (MMR Address 0x02620110)
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
MACID |
R,+xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx |
Legend: R = Read only; -x, value is indeterminate |
Table 11-46 MACID1 Register Field Descriptions
Bit |
Field |
Description |
31-0 |
MAC ID |
MAC ID. Lower 32 bits. |
Figure 11-47 MACID2 Register (MMR Address 0x02620114)
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
CRC |
Reserved |
FLOW |
BCAST |
MACID |
R+,cccc cccc |
R,+rr rrrr |
R,+z |
R,+y |
R,+xxxx xxxx xxxx xxxx |
LEGEND: R = Read only; -x = value is indeterminate |
Table 11-47 MACID2 Register Field Descriptions
Bit |
Field |
Description |
31-24 |
CRC |
Variable |
23-18 |
Reserved |
000000 |
17 |
FLOW |
MAC Flow Control
|
16 |
BCAST |
Default m/b-cast reception
- 0 = Broadcast
- 1 = Disabled
|
15-0 |
MAC ID |
MAC ID. Upper 16 bits. |
There is a central processor time synchronization (CPTS) submodule in the Ethernet switch module that can be used for time synchronization. Programming this register selects the clock source for the CPTS_RCLK. See the Gigabit Ethernet (GbE) Switch Subsystem (1 GB) User's Guide for the register address and other details about the time synchronization submodule. The register CPTS_RFTCLK_SEL for reference clock selection of the time synchronization submodule is shown in Figure 11-48 and described in Table 11-48.
Figure 11-48 RFTCLK Select Register (CPTS_RFTCLK_SEL)
31 |
30 |
29 |
28 |
27 |
26 |
25 |
24 |
23 |
22 |
21 |
20 |
19 |
18 |
17 |
16 |
15 |
14 |
13 |
12 |
11 |
10 |
9 |
8 |
7 |
6 |
5 |
4 |
3 |
2 |
1 |
0 |
Reserved |
CPTS_RFTCLK_SEL |
R-0 |
RW-0 |
Legend: R = Read only; -x, value is indeterminate |
Table 11-48 RFTCLK Select Register Field Descriptions
Bit |
Field |
Description |
31-4 |
Reserved |
Reserved. Read as 0. |
3-0 |
CPTS_RFTCLK_SEL |
Reference clock select. This signal is used to control an external multiplexer that selects one of 8 clocks for time sync reference (RFTCLK). This CPTS_RFTCLK_SEL value can be written only when the CPTS_EN bit is cleared to 0 in the TS_CTL register.
- 0000 = SYSCLK2
- 0001 = SYSCLK3
- 0010 = TIMI0
- 0011 = TIMI1
- 1000 = TSREFCLK
- Others = Reserved
|