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.

AM6442: Need Help with AM6442 CPSW Ethernet Configuration Using PRU1 via MII Interface to DP83826 PHY

Part Number: AM6442
Other Parts Discussed in Thread: SYSCONFIG

Tool/software:

Dear TI Support Team,

We are developing a custom board based on the SITARA AM6442B processor (chip marking: SITARA AM6442B SEGHAALV 35PLDLS 709 GL). Our hardware design utilizes the PRU_ICSSG subsystem (PRU1) connected to a DP83826 PHY via the MII interface to implement a standard Ethernet port.

This design differs from the typical CPSW-based Ethernet examples found in the SDK. We aim to use this port for standard TCP/IP communication (not for an industrial protocol like EtherCAT). We have confirmed that the DP83826 supports the MII interface, and the AM6442's PRU_ICSSG also supports MII.

Our specific questions are:

  1. Software Feasibility & Examples: Is this a supported use case for standard Ethernet on the AM6442? Are there any SDK examples that demonstrate configuring the PRU_ICSSG in MII mode for standard Ethernet with a PHY like the DP83826? We found references to MII support in the context of Linux drivers and device tree configurations, but we are looking for a clear, foundational example to start from, particularly one that might be similar to the enet_icssg examples but configured for our specific hardware setup.

  2. Driver & Configuration Guidance:

    • What is the recommended software architecture and driver stack for this setup? Should we use the PRU ICSSG Ethernet driver found in the Linux SDK or a different framework from the MCU+ SDK?

    • How should we configure the system, specifically regarding PRU firmware? Does this scenario require loading a specific firmware binary for basic Ethernet functionality, or is the standard firmware sufficient?

    • Are there any known configuration steps or pitfalls specific to using the DP83826 with the PRU_ICSSG on AM64x? Application notes mention checking pin conflicts and configuring reset GPIOs, but we seek guidance tailored to our goal of standard Ethernet operation.

  3. Device Tree & SysConfig:

    • For a Linux-based application, how should the device tree be configured for a PRU-ICSSG MII port with the DP83826? Are there existing dualemac-mii device tree files we can use as a reference?

    • When using SysConfig, what are the critical settings for the PRU_ICSSG module, MII pin multiplexing, and PHY reset GPIOs to enable this standard Ethernet functionality?

We would greatly appreciate any guidance on the availability of suitable software examples and the necessary configuration steps to successfully bring up standard Ethernet on our custom hardware.

Thank you for your support.