Other Parts Discussed in Thread: C2000WARE
In my system i', running the Ethernet driver from C2000Ware_2_00_00_03.
After a HW redesign the system moved from a PHY only connected to the MCU, to a Switch and a PHY connected to the MCU. The MDIO interface is connected to the PHY and the MII interface is connected to the switch.
Now i'm having problems in Ethernet_init() in the driver. Ethernet_resetModule() is called and hangs in the while loop since SWR bit of DMA_mode register is never cleared.
The TRM states that all active clock domains must be Active for SW-reset completion. Exactly what does this mean?
Does the Ethernet peripheral communicate with the attached PHY and/or switch and wait for a reset done signal?
Does the Ethernet peripheral check any pins that must be toggled?
What exactly is needed for a SW reset to complete?
kind regards
Henrik OMberg