Download Print this page

Espressif ESP32 Technical Reference Manual page 264

Hide thumbs Also See for ESP32:

Advertisement

10 Ethernet Media Access Controller (MAC)
31
30
28
27
26
0
0x0
0
0
0
SAIRC This field controls the source address insertion or replacement for all transmitted frames.
Bit[30] specifies which MAC Address register (0 or 1) is used for source address insertion or
replacement based on the values of Bits [29:28]: (R/W)
• 2'b0x: The input signals mti_sa_ctrl_i and ati_sa_ctrl_i control the SA field generation.
• 2'b10: If Bit[30] is set to 0, the MAC inserts the content of the MAC Address 0 registers in
the SA field of all transmitted frames. If Bit[30] is set to 1 the MAC inserts the content of the
MAC Address 1 registers in the SA field of all transmitted frames.
• 2'b11: If Bit[30] is set to 0, the MAC replaces the content of the MAC Address 0 registers in
the SA field of all transmitted frames. If Bit[30] is set to 1, the MAC replaces the content of
the MAC Address 1 registers in the SA field of all transmitted frames.
ASS2KP When set, the MAC considers all frames, with up to 2,000 bytes length, as normal packets.
When Bit[20] (JE) is not set, the MAC considers all received frames of size more than 2K bytes
as Giant frames. When this bit is reset and Bit[20] (JE) is not set, the MAC considers all received
frames of size more than 1,518 bytes (1,522 bytes for tagged) as Giant frames. When Bit[20] is
set, setting this bit has no effect on Giant Frame status. (R/W)
EMACWATCHDOG When this bit is set, the MAC disables the watchdog timer on the receiver. The
MAC can receive frames of up to 16,383 bytes. When this bit is reset, the MAC does not allow a
receive frame which more than 2,048 bytes (10,240 if JE is set high) or the value programmed in
Register (Watchdog Timeout Register). The MAC cuts off any bytes received after the watchdog
limit number of bytes. (R/W)
EMACJABBER When this bit is set, the MAC disables the jabber timer on the transmitter. The MAC
can transfer frames of up to 16,383 bytes. When this bit is reset, the MAC cuts off the transmitter
if the application sends out more than 2,048 bytes of data (10,240 if JE is set high) during
transmission. (R/W)
EMACJUMBOFRAME When this bit is set, the MAC allows Jumbo frames of 9,018 bytes (9,022 bytes
for VLAN tagged frames) without reporting a giant frame error in the receive frame status. (R/W)
Continued on the next page...
Espressif Systems
Register 10.15. EMACCONFIG_REG (0x1000)
24
23
22
21
20
19
17
0
0
0
0
0
0
Submit Documentation Feedback
16
15
14
13
12
11
10
9
0
0
0
0
0
0
0
0
264
8
7
6
5
4
3
2
1
0
0
0x0
0
0
0
0x0
ESP32 TRM (Version 5.2)
0
Reset

Advertisement

loading
Need help?

Need help?

Do you have a question about the ESP32 and is the answer not in the manual?