Advertisement

Quick Links

1 Introduction
The Texas Instruments AM335x processor used in the OSD335x Family of System in
Package Devices supports up to two independent Gigabit Ethernet ports (10/100/1000
Mbps). This application note will help you quickly get started interfacing an Ethernet
PHY with the
OSD335x, the AM335x System in Package, Family of
document will showcase reference designs, which can be used as design examples,
make recommendations on layout, device trees and provide tips on debugging AM335x
Ethernet issues.
Notice:
The information provided within this document is for informational use only.
Octavo Systems provides no guarantees or warranty to the information contained.
Using Ethernet with OSD335x-
AM335x System in Package
Octavo Systems LLC
Copyright 2019
Rev.1 5/23/2019
Devices. This

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the OSD335 AM335 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Octavo OSD335 AM335 Series

  • Page 1 AM335x Ethernet issues. Notice: The information provided within this document is for informational use only. Octavo Systems provides no guarantees or warranty to the information contained. Octavo Systems LLC Copyright 2019...
  • Page 2: Table Of Contents

    5 Debugging Tips ................15 5.1 Software Issues ................15 5.2 MAC to PHY Connections ............... 15 5.3 PHY to RJ45 Port Connections ............15 5.4 Data Errors ................16 6 Revision History ................16 Octavo Systems LLC Copyright 2019...
  • Page 3: Choosing The Right Ethernet Phy

    OSD3358-SM-RED design from Octavo Systems – AR8035 https://octavosystems.com/files/osd3358-sm-red-eagle-files/ based C-SiP RED design from Octavo Systems – AR8035 https://octavosystems.com/files/osd3358-sm-red-c-sip-eagle-files/ based SBC Reference design from Octavo Systems –...
  • Page 4: Additional Ethernet Phys

    • Microsemi: https://www.microsemi.com/product-directory/ethernet-solutions/3581-physical- layer For any PHY selection, we strongly recommend that you can purchase the part through a major distributor, such as DigiKey or Mouser, and that the part has plenty of stock available. Octavo Systems LLC Copyright 2019...
  • Page 5: Design Example And Recommendations For Using Ethernet With The Am335X System In Package

    For example, in the figure below, you can see the pull-up / pull-down resistors on the RX and LED interfaces that will set the initial configuration of the PHY. Octavo Systems LLC Copyright 2019...
  • Page 6 Using Ethernet with OSD335x- AM335x System in Package Rev.1 2/18/2019 Figure 1 - PHY 1 Ethernet Connections Octavo Systems LLC Copyright 2019...
  • Page 7 MDIO address. This will allow the single MDIO bus to communicate and configure each PHY. Additionally, it is important to know the MDIO address of the PHY since that will be necessary when we set up the device tree for the Ethernet PHY. Octavo Systems LLC Copyright 2019...
  • Page 8: Layout

    6. If the RJ45 connector (with thru-hole pins) is placed on the top layer, route traces to its pins on the bottom layer to avoid signal stubs caused by the thru-hole pins. 7. Avoid vias and layer changes for Ethernet traces. Octavo Systems LLC Copyright 2019...
  • Page 9 Using Ethernet with OSD335x- AM335x System in Package Rev.1 2/18/2019 Figure 3 - OSD3358-SM-RED Ethernet PHY Layout Example Octavo Systems LLC Copyright 2019...
  • Page 10: Dual Ethernet Example

    Ethernet port. You can see an example of this in the figures below when looking at both the signal routing and power layout. Figure 4 - Dual Ethernet Top and Bottom Layer Example Octavo Systems LLC Copyright 2019...
  • Page 11 Using Ethernet with OSD335x- AM335x System in Package Rev.1 2/18/2019 Figure 5 - Dual Ethernet Power Layer Example Octavo Systems LLC Copyright 2019...
  • Page 12: Setting Up Ethernet (Device Tree)

    An example configuring Ethernet MAC 1 as an RGMII interface is shown in Error! Reference source not found.. Similarly, you need to configure the pins for the MDIO interface as shown in Error! Reference source not found.. Octavo Systems LLC Copyright 2019...
  • Page 13 Using Ethernet with OSD335x- AM335x System in Package Rev.1 2/18/2019 Figure 6 - OSD3358-SM-RED Pin Mux Example: Ethernet MAC 1 as RGMII Interface Figure 7 - OSD3358-SM-RED Pin Mux Example: MDIO Interface Octavo Systems LLC Copyright 2019...
  • Page 14 PHY should be given a unique address. For example, the phy_id is set to <4> in the device tree snippet shown in Figure 10 which matches the PHY address set using PHY_ADDRx hardware pins shown in Figure 11. Octavo Systems LLC Copyright 2019...
  • Page 15 Add the dual_emac = <1> property under &mac phandle. c. Within the cpsw_emacx (x = 0 or 1) phandle add the property: dual_emac_res_vlan = <1> for one PHY and dual_emac_res_vlan = <2> for the other PHY Octavo Systems LLC Copyright 2019...
  • Page 16: Debugging Tips

    5.3 PHY to RJ45 Port Connections It is difficult to test the PHY to RJ45 Port connections independently. Instead, testing this relies on connecting the RJ45 Port to an Ethernet network. When an Ethernet Octavo Systems LLC Copyright 2019...
  • Page 17: Data Errors

    If you do have any additional questions, regarding using the AM335x System in Package together with Ethernet, please feel free to search for answers and post questions on our Forums (https://octavosystems.com/forums/) 6 Revision History Revision Number Revision Date Changes Author 5/23/2019 Initial Revision Eshtaartha Basu Octavo Systems LLC Copyright 2019...
  • Page 18 Using Ethernet with OSD335x- AM335x System in Package Rev.1 2/18/2019 Octavo Systems LLC Copyright 2019...

Table of Contents