TI E2E Community
Sitara Processors Forum
AM335x EVM RGMII doesn't work at 100 Mbps mode
Hello,We are porting Micrium's OS to AM335x with the AM335x EVM.Everything is going fine but a slight problem with the ethernet.The RGMII port on the EVM works fine when connected to a PC supporting Gib bit ethernet port.whereas the EVM port doesn't work(Communication failure) when connectedto a PC supporting only 100Mbps bit ethernet port.We have ported the Ethernet driver according to the "CPSW Programming Sequence"given in the AM335x StarterWare user guide.We can see from the debug window that the the Transfer mode is set to "100 Mbps mode, full duplex" with the CPSW_SL_MACCONTROL register.
Note: This problem is not there when we use the TI's SDK with the EVM.We don't what else should we modify in our software in order make the EVM's ethernet port work in 100 Mbps mode.
Is this a problem in the Ethernet PHY placed on the EVM?Please let me know if there is any link where we could see the datasheet of Atheros PHY.Regards.
The AR8301 data sheet is a restricted document. You must contact Atheros and request a copy of this data sheet.
All three speeds 1000Mbps, 100Mbps, and 10Mbps have been verified using the Atheros AR8301 on the AM335x EVM.
Therefore, there must be a problem with your specific configuration of CPSW.
I will ask someone on our software applications team to offer some suggestions related to your issue.
Thank you so much for considering this issue.Please let me know if there is any suggestion or any thing that we may have to check in our software to troubleshoot this issue.
If you have the Linux SDK installed the phy config code is located in this file in this directory
The specific function to look at is
I believe this is how the phy is setup for linux, I do not have experience with starterware code or documentation so at the moment I cannot compare to see what the differences are.
I'm looking at doing a port of Micrium's uc/OS-III for the AM335x.
Can you give me an idea of the amount of effort it took for you to do your port? Any tips or recommendations?
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. 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 respect to these materials. 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.