To reset the Ethernet port, the host must perform the following:
- Set CMD_IDLE bit to 1h in the Ethernet port
control registers: CPSW_PN_MAC_CONTROL_REG_k.
- Wait for IDLE bit to be set to 1h, which is
indicated in the Ethernet port status registers: CPSW_PN_MAC_STATUS_REG_k.
- Set SOFT_RESET bit to 1h in the Ethernet port
software reset registers: CPSW_PN_MAC_SOFT_RESET_REG_k.
- Wait for SOFT_RESET bit in the
CPSW_PN_MAC_SOFT_RESET_REG_k registers to be cleared to confirm reset
completion.
- Configure the Ethernet ports.