A SERVICE OF

logo

www.ti.com
5.30MACStatusRegister(MACSTATUS)
EthernetMediaAccessController(EMAC)Registers
TheMACstatusregister(MACSTATUS)isshowninFigure70anddescribedinTable69.
Figure70.MACStatusRegister(MACSTATUS)
3130242320191816
IDLEReservedTXERRCODERsvdTXERRCH
R-0R-0R-0R-0R-0
151211108
RXERRCODEReservedRXERRCH
R-0R-0R-0
73210
ReservedRXQOSACTRXFLOWACTTXFLOWACT
R-0R-0R-0R-0
LEGEND:R=Readonly;R/W=Read/Write;-n=valueafterreset
Table69.MACStatusRegister(MACSTATUS)FieldDescriptions
BitFieldValueDescription
31IDLEEMACidlebit.Thisbitissetto0atreset;oneclockafterresetitgoesto1.
0TheEMACisnotidle.
1TheEMACisintheidlestate.
30-24Reserved0Reserved
23-20TXERRCODE0-FhTransmithosterrorcode.ThesebitsindicatethatEMACdetectedtransmitDMArelatedhosterrors.
Thehostshouldreadthisfieldafterahosterrorinterrupt(HOSTPEND)todeterminetheerror.Host
errorinterruptsrequirehardwareresetinordertorecover.A0packetlengthisanerror,butitisnot
detected.
0Noerror
1hSOPerror;thebufferisthefirstbufferinapacket,buttheSOPbitisnotsetinsoftware.
2hOwnershipbitnotsetinSOPbuffer
3hZeronextbufferdescriptorpointerwithoutEOP
4hZerobufferpointer
5hZerobufferlength
6hPacketlengtherror(sumofbuffersislessthanpacketlength)
19Reserved0Reserved
18-16TXERRCH0-7hTransmithosterrorchannel.Thesebitsindicatewhichtransmitchannelthehosterroroccurredon.
Thisfieldisclearedto0onahostread.
0Thehosterroroccurredontransmitchannel0
1hThehosterroroccurredontransmitchannel1
2hThehosterroroccurredontransmitchannel2
3hThehosterroroccurredontransmitchannel3
4hThehosterroroccurredontransmitchannel4
5hThehosterroroccurredontransmitchannel5
6hThehosterroroccurredontransmitchannel6
7hThehosterroroccurredontransmitchannel7
15-12RXERRCODE0-FhReceivehosterrorcode.ThesebitsindicatethatEMACdetectedreceiveDMArelatedhosterrors.
Thehostshouldreadthisfieldafterahosterrorinterrupt(HOSTPEND)todeterminetheerror.Host
errorinterruptsrequirehardwareresetinordertorecover.
0Noerror
2hOwnershipbitnotsetinSOPbuffer
4hZerobufferpointer
11Reserved0Reserved
112EthernetMediaAccessController(EMAC)/ManagementDataInput/Output(MDIO)SPRUEQ6December2007
SubmitDocumentationFeedback