4.
Once the
Ethernet PHY Peripheral Ready (PREPHY)
register reads 0x0000.0001, software
can write the
EMACPC
register with the required value.
5.
After software configuration is complete, the application must set the
DONE
bit in the
Ethernet
PHY Configuration 1 (EPHYCFG1)
register at offset 0x009.
Note:
If a software reset is asserted to the PHY afterwards through the
SREPHY
register, the
custom configuration is lost and the steps described above must be repeated.
20.6
Register Map
Table 20-23 on page 1467 lists the Ethernet Controller MAC and PHY registers. For the MAC registers,
the offset listed is a hexadecimal increment to the MAC base address of 0x400E.C000. PHY registers
are accessed through the
EMACMIIADDR
register thus the base address is n/a (not applicable)
and noted as such above the register descriptions.
The
IEEE 802.3
standard specifies a register set for controlling and gathering status from the PHY
layer. The registers are collectively known as the MII Management registers. Table 20-23 on page 1467
also lists these MII Management registers for interfacing to the internal PHY. All addresses given
are absolute and are written directly to the
MII
field of the
Ethernet MAC MII Address
(EMACMIIADDR)
register, offset 0x010. The
PLA
value of the
EMACMIIADDR
register for the
internal PHY is 0x00.
Table 20-23. Ethernet Register Map
See
page
Description
Reset
Type
Name
Offset
Ethernet MAC (Ethernet Offset)
Ethernet MAC Configuration
0x0000.8000
RW
EMACCFG
0x000
Ethernet MAC Frame Filter
0x0000.0000
RW
EMACFRAMEFLTR
0x004
Ethernet MAC Hash Table High
0x0000.0000
RW
EMACHASHTBLH
0x008
Ethernet MAC Hash Table Low
0x0000.0000
RW
EMACHASHTBLL
0x00C
Ethernet MAC MII Address
0x0000.0000
RW
EMACMIIADDR
0x010
Ethernet MAC MII Data Register
0x0000.0000
RW
EMACMIIDATA
0x014
Ethernet MAC Flow Control
0x0000.0000
RW
EMACFLOWCTL
0x018
Ethernet MAC VLAN Tag
0x0000.0000
RW
EMACVLANTG
0x01C
Ethernet MAC Status
0x0000.0000
RO
EMACSTATUS
0x024
Ethernet MAC Remote Wake-Up Frame Filter
0x0000.0000
RW
EMACRWUFF
0x028
Ethernet MAC PMT Control and Status Register
0x0000.0000
RW
EMACPMTCTLSTAT
0x02C
Ethernet MAC Raw Interrupt Status
0x0000.0000
RO
EMACRIS
0x038
Ethernet MAC Interrupt Mask
0x0000.0000
RW
EMACIM
0x03C
Ethernet MAC Address 0 High
0x8000.FFFF
RW
EMACADDR0H
0x040
Ethernet MAC Address 0 Low Register
0xFFFF.FFFF
RW
EMACADDR0L
0x044
Ethernet MAC Address 1 High
0x0000.FFFF
RW
EMACADDR1H
0x048
1467
June 18, 2014
Texas Instruments-Production Data
Tiva
™
TM4C1294NCPDT Microcontroller