The 39 registers of ETH (Ethernet controller), from 0xBF882000, with their reset value and every field. The PIC32MZ1024EFF124 has 1664 registers in 92 peripherals, one page each.
Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.
ETH Ethernet controller
ETHCON1Ethernet Controller Control Register 1
Address
0xBF882000
Reset
0x00000000
Access
read/write
Size
32-bit
8 fields
Field
Bits
What it does
ON
15
Ethernet ON bit
0 Ethernet module is disabled
1 Ethernet module is enabled
SIDL
13
Ethernet Stop in Idle Mode bit
0 Ethernet module transfers continue during Idle mode
1 Ethernet module transfers are paused during Idle mode
TXRTS
9
Transmit Request to Send bit
0 Stop transmit (when cleared by software) or transmit done (when cleared by hardware)
1 Activate the TX logic and send the packet(s) defined in the TX EDT
EMAC1CFG1Ethernet Controller MAC Configuration 1 Register
Address
0xBF882200
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
Field
Bits
What it does
SOFTRESET
15
SIMRESET
14
RESETRMCS
11
RESETRFUN
10
RESETTMCS
9
RESETTFUN
8
LOOPBACK
4
MAC Loopback mode bit
0 MAC normal operation
1 MAC Transmit interface is loop backed to the MAC Receive interface
TXPAUSE
3
MAC TX Flow Control bit
0 PAUSE Flow Control frames are blocked
1 PAUSE Flow Control frames are allowed to be transmitted
RXPAUSE
2
MAC RX Flow Control bit
0 Received PAUSE Flow Control frames are ignored
1 The MAC acts upon received PAUSE Flow Control frames
PASSALL
1
MAC Pass all Receive Frames bit
0 The received Control frames are ignored
1 The MAC will accept all frames regardless of type (Normal vs. Control)
RXENABLE
0
MAC Receive Enable bit
0 Disable the MAC receiving of frames
1 Enable the MAC receiving of frames
EMAC1CFG2Ethernet Controller MAC Configuration 2 Register
Address
0xBF882210
Reset
0x00000000
Access
read/write
Size
32-bit
13 fields
Field
Bits
What it does
EXCESSDFR
14
BPNOBKOFF
13
Backpressure/No Backoff bit
0 The MAC will not remove the backoff
1 The MAC after incidentally causing a collision during backpressure will immediately retransmit without backoff reducing the chance of further collisions and ensuring transmit packets get sent
NOBKOFF
12
No Backoff bit
0 Following a collision
1 Following a collision
LONGPRE
9
Long Preamble Enforcement bit
0 The MAC allows any length preamble as per the Standard
1 The MAC only allows receive packets which contain preamble fields less than 12 bytes in length
PUREPRE
8
Pure Preamble Enforcement bit
0 The MAC does not perform any preamble checking
1 The MAC will verify the content of the preamble to ensure it contains 0x55 and is error-free. A packet with errors in its preamble is discarded
AUTOPAD
7
Automatic Detect Pad Enable bit
0 The MAC does not perform automatic detection
1 The MAC will automatically detect the type of frame
VLANPAD
6
VLAN Pad Enable bit
0 The MAC does not perform padding of short frames
1 The MAC will pad all short frames to 64 bytes and append a valid CRC
PADENABLE
5
Pad/CRC Enable bit
0 The frames presented to the MAC have a valid length
1 The MAC will pad all short frames
CRCENABLE
4
CRC Enable1 bit
0 The frames presented to the MAC have a valid CRC
1 The MAC will append a CRC to every frame whether padding was required or not. Must be set if the PADENABLE bit is set.
DELAYCRC
3
Delayed CRC bit
0 No proprietary header
1 Four bytes of header (ignored by the CRC function)
HUGEFRM
2
Huge Frame enable bit
0 Huge frames are not allowed for receive or transmit
1 Frames of any length are transmitted and received
LENGTHCK
1
Frame Length checking bit
0 Length/Type field check is not performed
1 Both transmit and receive frame lengths are compared to the Length/Type field. If the Length/Type field represents a length then the check is performed. Mismatches are reported on the transmit/receive statistics vector.
FULLDPLX
0
Full-Duplex Operation bit
0 The MAC operates in Half-Duplex mode
1 The MAC operates in Full-Duplex mode
EMAC1IPGTEthernet Controller MAC Back-to-Back Interpacket Gap Register
Address
0xBF882220
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
B2BIPKTGP
6:0
EMAC1IPGREthernet Controller MAC Non-Back-to-Back Interpacket Gap Register
Address
0xBF882230
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
NB2BIPKTGP1
14:8
NB2BIPKTGP2
6:0
EMAC1CLRTEthernet Controller MAC Collision Window/Retry Limit Register
Address
0xBF882240
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
CWINDOW
8
RETX
3:0
EMAC1MAXFEthernet Controller MAC Maximum Frame Length Register
Address
0xBF882250
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
MACMAXF
0
EMAC1SUPPEthernet Controller MAC PHY Support Register
Address
0xBF882260
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
RESETRMII
11
Reset RMII Logic bit
0 Normal operation.
1 Reset the MAC RMII module
SPEEDRMII
8
RMII Speed bit
0 RMII is running at 10 Mbps
1 RMII is running at 100 Mbps
EMAC1TESTEthernet Controller MAC Test Register
Address
0xBF882270
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
Field
Bits
What it does
TESTBP
2
Test Backpressure bit
0 Normal operation
1 The MAC will assert backpressure on the link. Backpressure causes preamble to be transmitted
TESTPAUSE
1
Test PAUSE bit
0 Normal operation
1 The MAC Control sub-layer will inhibit transmissions
SHRTQNTA
0
Shortcut PAUSE Quanta bit
0 Normal operation
1 The MAC reduces the effective PAUSE Quanta from 64 byte-times to 1 byte-time
EMAC1MCFGEthernet Controller MAC MII Management Configuration Register
Address
0xBF882280
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
RESETMGMT
15
Test Reset MII Management bit
0 Normal Operation
1 Reset the MII Management module
CLKSEL
2
NOPRE
1
Suppress Preamble bit
0 Normal read/write cycles are performed
1 The MII Management will perform read/write cycles without the 32-bit preamble field. Some PHYs support suppressed preamble
SCANINC
0
Scan Increment bit
0 Continuous reads of the same PHY
1 The MII Management module will perform read cycles across a range of PHYs. The read cycles will start from address 1 through the value set in EMAC1MADR
EMAC1MCMDEthernet Controller MAC MII Management Command Register
Address
0xBF882290
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
SCAN
1
MII Management Scan Mode bit
0 Normal Operation
1 The MII Management module will perform read cycles continuously (for example
READ
0
MII Management Read Command bit
0 The MII Management module will perform a write cycle. The write data is taken from the EMAC1MWTD register
1 The MII Management module will perform a single read cycle. The read data is returned in the EMAC1MRDD register
EMAC1MADREthernet Controller MAC MII Management Address Register
Address
0xBF8822A0
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
PHYADDR
8
REGADDR
0
EMAC1MWTDEthernet Controller MAC MII Management Write Data Register
Address
0xBF8822B0
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
PEMACMWTD
15:0
EMAC1MRDDEthernet Controller MAC MII Management Read Data Register
Address
0xBF8822C0
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
MRDD
0
EMAC1MINDEthernet Controller MAC MII Management Indicators Register
Address
0xBF8822D0
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
LINKFAIL
3
NOTVALID
2
SCAN
1
MIIMBUSY
0
EMAC1SA0Ethernet Controller MAC Station Address 0 Register
Address
0xBF882300
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
STNADDR6
8
STNADDR5
0
EMAC1SA1Ethernet Controller MAC Station Address 1 Register
Address
0xBF882310
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
STNADDR4
8
STNADDR3
0
EMAC1SA2Ethernet Controller MAC Station Address 2 Register