AM3359: CPSW error
Part Number: AM3359
I am using TI SDK 06.03.00.106 with kernel vs 4.19.94 (tisdk_am335x-evm-rt_defconfig) on my custom board with CPSW Single EMAC device-tree.
As seen in the attached dmesg log, everything seems proper in point of CPSW, PHY, and MDIO log lines. But I cannot get IP from the DHCP server, and additionally when I set static IP, I cannot communicate with the other devices in the same LAN each other.
A summary for our custom board
May you evaluate the attached logs and advice me on some alternative ways for debugging the network?
ethtool is showing that a link is established with a link partner at 100Mbps which I will assume for the moment is the desired link speed. The DTS is showing RMII phy mode and the mac is expecting an external clock. Is the PHY putting out a clock signal?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Schuyler Patton:
As I understand, yes. According to our custom board's scheme, DSC1001DI2-25.0000T (25MHz) oscillator is connected to KSZ8081MNXIA PHY chip's XI input as similar as seen in PHY chipsets datasheet (http://ww1.microchip.com/downloads/en/DeviceDoc/00002202C.pdf)
Probably, I confused while setting phy-mode as RMII, it should be MII I think
You made me awake up when you warned about RMII clk.
It is my fault that it was about setting pinmux MII bus over RMII pins. I fixed DTS file and then the device is connected to the network.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.