____________________________________________________ DS34T101, DS34T102, DS34T104, DS34T108
214 of 366
11.4.16 Ethernet MAC
The base address for the Ethernet MAC register space is 0x72,000.
Configuration and status registers are listed in subsection
11.4.16.1. Counters are listed in subsection
11.4.16.2.
11.4.16.1 Ethernet MAC Configuration and Status Registers
Table 11-17. Ethernet MAC Registers
Addr
Offset
Register Name
Description
Page
0x00
3
MAC control register
0x04
3
MAC_network_configuration
MAC configuration register
0x08
3
MAC network status register
0x14
3
MAC transmitter status register
0x24
MAC interrupt status register
0x28
MAC interrupt enable register
0x2C
MAC interrupt disable register
0x30
MAC interrupt mask register
0x34
PHY maintenance register
0x38
MAC pause time register
0x98
MAC specific address register (bits 31:0)
0x9C
MAC specific address register (bits 47:32)
0xBC
3
MAC transmit pause quantum register
0xC0
3
PHY SMII status register
When reading from Ethernet MAC data elements wider than 16 bits in 16-bit mode, use the following procedure:
1. Read from address 2, i.e.
H_AD[1]=1. All 32 bits are internally latched and bits 15:0 are output on
2. Read from address 0, i.e.
H_AD [1]=0. Bits 31:16 are output on
H_D[15:0].
When writing to Ethernet MAC data elements wider than 16 bits in 16-bit mode, use the following procedure:
1. Write to address 2, i.e.
H_AD[1]=1. Bits 15:0 are internally latched but not written to the register yet.
2. Write to address 0, i.e.
H_AD [1]=0. All 32 bits are written to the register. Bits 31:16 on
H_D[15:0] are
written to address 0. Bits 15:0 in the internal latch are written to address 2.
MAC_network_control 0x000
Bits
Data Element Name
R/W
Reset
Value
Description
[31:13]
Reserved.
RO
0x0
Read as zero, ignored on write
[12]
Transmit_zero_quantum_pause_
packet
WO
None
Writing a 1 to this bit transmits a pause packet with zero
pause quantum at the next available transmitter idle time.
[11]
Transmit_pause_packet
WO
None
Writing 1 to this bit transmits a pause packet with the
pause quantum in the
3
MAC_transmit_paulse_quantum
register — at the next available transmitter idle time.
[10:9]
Reserved
0x0
Must be set to zero
[8]
Back_pressure
R/W
0x0
When set in half duplex mode forces collisions on all
received packets.
[7]
Write_enable_for_statistics_
registers
R/W
0x0
Setting this bit to 1 makes the Ethernet MAC counter
registers writable for functional test purposes.
[6]
Increment_statistics_reg
WO
0x0
Writing 1 increments all statistics registers by one for test
purposes.
[5]
Clear_statistics_reg
WO
0x0
Writing 1 clears the statistics registers.
[4]
Management_port_enable
R/W
0x0
0 = Disable PHY management port (MDIO high
impedance, MDC forced low.)
1 = Enable the PHY management port