If a valid connection between the AM6 and your network is made before boot-up then the AM6 will automatically secure a connection and assign you an ip address.


Three gigabit Ethernet links are provided via ETH0 (RJ45 at X29), ETH1 (RJ45 at X30), and ETH2 (RJ45 at X31) on the phyCORE-AM65x development kit. This guide shows you how to connect and use these interfaces manually.

Items needed to follow this guide:

  • CAT5e Ethernet cable (included with your development kit)
  • Ethernet switch connected to a network with DHCP enabled

Step-by-step guide

  • Connect the Ethernet cable between ETH0 (X29) on the development kit and an Ethernet switch connected to the network. (X30 for ETH1 and X31 for ETH2)

    Make sure the network you have connected to has DHCP enabled.

phyCORE-AM65x Development Kit ETH0 Location

Needs ETH1 and ETH2 called out

Network Connection Block Diagram

Network Connection Block Diagram

  • On the phyCORE-AM65x Linux console, enter the following command to bring up the Ethernet interface. (Replace ETH0 with ETH1 or ETH2 if you are connecting to one of the other Ethernet interfaces)

    Target (Linux)

    ifconfig eth0 up && udhcpc -i eth0
    CODE
  • Wait until the link is ready and an IP address has been assigned.
  • Test your connection by entering the following and verify that you are able to send and receive packets over your network connection:

    Target (Linux)

    ping google.com
    CODE

    Expected Output

    root@am65xx-phycore-kit:~# ping google.com
    PING www.google.com (172.217.3.164): 56 data bytes
    64 bytes from 172.217.3.164: seq=0 ttl=53 time=12.979 ms
    64 bytes from 172.217.3.164: seq=1 ttl=53 time=17.327 ms
    64 bytes from 172.217.3.164: seq=2 ttl=53 time=13.238 ms
    64 bytes from 172.217.3.164: seq=3 ttl=53 time=14.636 ms
    CODE
  • To stop the pinging test, enter Ctrl + C on the command prompt.