How to configure ENET LLD and Ethernet Firmware for MAC 2 MAC (phy-less) connection ? Includes CPSW and ICSSG.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
MAC 2 MAC or phy-less connections are often used in Automotive reference designs to connect switches internal to the SoC to external switches.
Since both TDA4/DRA829 and DRA821 EVM's have on board PHY's and don't support MAC 2 MAC connection, there is not out of the box support
for this feature in SDK but this is quite easy to implement due to the modular nature of ENET LLD.
Reference instructions are provided below to enable customers to enable this at their end using the RTOS SDK, Ethernet Firmware and ENET LLD.
The main changes required are in the port open sequence which deals with getting port parameters and configuring the PHY. Please see the "Port Open Sequence" in the attached PDF which has a sub-section titled "MAC-to-MAC link".
PDK API Guide for J721E_ Enet Integration Guide.pdf
The changes described are from ENET LLD point of view however in the Ethernet Firmware context, the implementation of these steps is split between EthFw and Enet LLD utils library.
Here is how EthFw and Enet LLD interact for the port configuration.
When configuring a port in EthFw, the following sequence occurs:
If using the CPSW port under Linux, then one must compile the EthFW application and replace it in under /lib/firmware so that the relevant changes are done.
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 and
embedded processors, along with software, tools and the industry’s largest sales/support staff.