Specifications

RX62N Group Ethernet Transmit and Receive Settings
2
Yes
No
Set to half-duplex mode
ECMR.DM = 0
Yes
Yes
No
Set to 100 Mbps
ECMR.RTM = 1
Set to 10 Mbps
ECMR.RTM = 0
No
End
Start
Close function
R_Ether_Close
End
Link partner supports
100 Mbps?
Start reception
Return R_ETHER_OK
Return R_ETHER_ERROR
Link partner supports
full-duplex mode?
Set to full-duplex mode
ECMR.DM = 1
Enable transmit/receive
Disable transmit/receive
Set the duplex mode (DM) bit in the ETHERC mode register
(ECMR) to match the mode supported by the link partner.
Only applicable for RMII
Set the transmission/reception rate
(RTM) bit in the ETHERC mode register
(ECMR) to match the mode supported
by the link partner.
Set the transmit enable (TE) or receive enable (RE) bit in
the ETHERC mode register (ECMR) to 1 to enable transmit/receive.
Set the receive request (RR) bit in the EDMAC receive request
register (EDRRR) to 1 to enable the receive function.
Wait until the link partner is ready. The duration of the wait depends
on the system characteristics of the link partner, so careful evaluation
is necessary when setting the value.
Write 0x00000000 to the ETHERC mode register (ECMR)
to disable transmit/receive operation.
i < 0x00000100?
i = 0
i + 1
Figure 4.22 Ethernet API Processing Sequence of Sample Program (3)
R01AN0629EJ0101 Rev.1.01 Page 41 of 52
Mar 31, 2011