![Texas Instruments TM4C1294NCPDT Скачать руководство пользователя страница 1466](http://html1.mh-extra.com/html/texas-instruments/tm4c1294ncpdt/tm4c1294ncpdt_datasheet_10955931466.webp)
Table 20-22. EMACPC to PHY Register Mapping (continued)
Corresponding PHY Bit (Bit No.)
Corresponding PHY Register
EMACPC Register Bit
RAMDIX (5)
EPHYCFG1
RBSTMDIX
FAMDIX (6)
EPHYCFG1
FASTMDIX
AUTOMDI (15)
EPHYCTL
MDIXEN
FRXDVDET (1)
EPHYCFG1
FASTRXDV
FLUPPD (6)
EPHYCFG2
FASTLUPD
EXTFD (5)
EPHYCFG2
EXTFD
FASTANEN (4)
EPHYCFG1
FASTANEN
FANSEL (3:2)
EPHYCFG1
FASTANSEL
ANEN
EPHYBMCR
ANEN
N/A
N/A
ANMODE
N/A
N/A
PHYHOLD
The MAC module and registers are enabled and powered at reset. When reset has completed and
the clock to the Ethernet MAC is enabled by setting the
R0
bit in the
Ethernet Controller Run Mode
Clock Gating Control (RCGCEMAC)
register at System Control Module offset 0x69C, the application
has the option to enable the PHY with its default interface configuration (as defined by the
Ethernet
MAC Peripheral Configuration Register (EMACPC)
register) or with a custom configuration.
20.5.1.1
Default Configuration
To enable the Ethernet PHY with its default configuration, the steps are as follows:
1.
To hold the Ethernet PHY from transmitting energy on the line during configuration, set the
PHYHOLD
bit to 1 in the
EMACPC
register.
2.
Enable the clock to the PHY module by writing 0x0000.0001 to the
Ethernet PHY Run Mode
Clock Gating Control (RCGCEPHY)
register at offset 0x630. When the
R0
bit reads as 1 in
the
PREPHY
register at System Control offset 0xA30, continue initialization.
3.
Enable power to the Ethernet PHY by setting the
P0
bit in the
PCEPHY
register at System
Control offset 0x930. When the
R0
bit reads as 1 in the
PREPHY
register at System Control
offset 0xA30, the PHY registers are ready for programming.
20.5.1.2
Custom Configuration
If a custom configuration of the Ethernet PHY is required, the application can program the
configuration registers after reset. The steps for custom configuration are as follows:
1.
To hold the PHY from transmitting energy on the line during configuration, set the
PHYHOLD
bit
to 1 in the
EMACPC
register.
2.
Enable the clock to the PHY module by writing 0x0000.0001 to the
Ethernet PHY Run Mode
Clock Gating Control (RCGCEPHY)
register at offset 0x630. When the
R0
bit reads as 1 in
the
PREPHY
register at System Control offset 0xA30, continue initialization.
3.
Enable power to the Ethernet PHY by setting the
P0
bit in the
PCEPHY
register at System
Control offset 0x930. When the
R0
bit reads as 1 in the
PREPHY
register at System Control
offset 0xA30, the PHY registers are ready for programming.
June 18, 2014
1466
Texas Instruments-Production Data
Ethernet Controller