SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: ethernet_ex2_phy_loopback.c
This example demonstrates the steps to be followed in using the Ethernet of the Communication Manager Subsystem to initialize the Ethernet module and Configure the module in External Loop back mode the packet is looped back at external PHY. Prepares a packet to be sent, Sends the packet and reads the staticstics to check if the packet is received by the module Before running this Communication Manager code the C28x cpu1 code has to be run to configure the clocks to Communication manager and required IO pads for Ethernet module
External Connections
This example programs the Ethernet module in External Loop back mode (at PHY) and hence needs external connection to the PHY on the MII interface and also the MDIO Pins connected to the PHY. This example assumes DP83822 PHY for the PHY configurations if a different PHY is used the sequences might change Refer to the C28x CPU1 code of ethernet_config_c28x project for which GPIOs are used for connecting to the PHY
Watch Variables