CHAPTER 5 ETHERNET CONTROLLER
Preliminary User’s Manual S15543EJ1V0UM 279
5.2 RegistersRegisters of this block are categorized following four categories as shown in Table 5-1.
VR4120A controls following registers.
The
µ
PD98502 has 2-channel Ethernet Controller, #1 controller’s base address is 1000_2000H, #2 controller’s
base address is 1000_3000H.
Table 5-1. Ethernet Controller’s Register Categories
Offset Address Register Categories
1000_2000H:1000_213FH (Ethernet Controller #1),
1000_3000H:1000_313FH (Ethernet Controller #2)
MAC Control Registers
1000_2140H:1000_21FFH (Ethernet Controller #1),
1000_3140H:1000_31FFH (Ethernet Controller #2)
Statistics Counter Registers
1000_2200H:1000_2233H (Ethernet Controller #1),
1000_3200H:1000_3233H (Ethernet Controller #2)
DMA and FIFO Management Registers
1000_2234H:1000_223FH (Ethernet Controller #1),
1000_3234H:1000_323FH (Ethernet Controller #2)
Interrupt and Configuration Registers
5.2.1 Register map
5.2.1.1 MAC control registers
MAC Control Registers’ map is shown in Table 5-2.
Table 5-2. MAC Control Register Map
Offset Address Register Name R/W Access Description
1000_m000H En_MACC1 R/W W MAC Configuration Register 1
1000_m004H En_MACC2 R/W W MAC Configuration Register 2
1000_m008H En_IPGT R/W W Back-to-Back IPG Register
1000_m00CH En_IPGR R/W W Non Back-to-Back IPG Register
1000_m010H En_CLRT R/W W Collision Register
1000_m014H En_LMAX R/W W Max Packet Length Register
1000_m018H:
1000_m01CH
N/A - - Reserved for future use
1000_m020H En_RETX R/W W Retry Count Register
1000_m024H:
1000_m050H
N/A - - Reserved for future use
1000_m054H En_LSA2 R/W W Station Address Register 2
1000_m058H En_LSA1 R/W W Station Address Register 1
1000_m05CH En_PTVR R W Pause Timer Value Read Register
1000_m060H N/A - - Reserved for future use
1000_m064H En_VLTP R/W W VLAN Type Register
1000_m080H En_MIIC R/W W MII Configuration Register
1000_m084H:
1000_m090H
N/A - - Reserved for future use
1000_m094H En_MCMD W W MII Command Register
1000_m098H En_MADR R/W W MII Address Register
1000_m09CH En_MWTD R/W W MII Write Data Register
1000_m0A0H En_MRDD R W MII Read Data Register
1000_m0A4H En_MIND R W MII Indicator Register