SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
FILE: ethernet_ex1_basic_tx_rx_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 MAC Loop back mode Prepares a packet to be sent, Sends the packet and reads the statistics 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 Internal Loop back mode and hence needs no external connection on the MII Data lines. But it needs the MII Tx and Rx clocks to be input on those pins Refer to the C28x CPU1 code of ethernet_config_c28x project for which GPIOs are used for connecting to the PHY
Watch Variables