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.

AM2611: AM2611 as MDIO Bridge for AM64x (Errata i2329): Inter-Processor Interface, SDK/Toolchain & Flashless UART Boot

Part Number: AM2611
Other Parts Discussed in Thread: MCU-PLUS-SDK-AM261X, SYSCONFIG, AM2612

Hi TI Team,

In our system design, the AM64x serves as the main processor. Due to the AM64x MDIO errata i2329, we plan to use an AM2611 as an MDIO bridge offloading the bus master control.

System Topology:

  • AM2611: Masters the MDIO bus targeting an MDC frequency of 10–20 MHz toward external Ethernet PHYs.

  • AM64x $\leftrightarrow$ AM2611: Serial link for inter-processor communication (IPC) and control.

We have three specific technical questions regarding this setup:

  1. Recommended Inter-Processor Interface (AM64x $\leftrightarrow$ AM261x)

    • Is there a TI-recommended interface or protocol for IPC between the AM64x and AM261x?

    • We noticed the AM261x features Fast Serial Interface (FSI) (FSITX / FSIRX). Is FSI recommended/supported for high-speed IPC between these two device families, or would standard SPI / QSPI be the preferred choice?

  2. SDK & Toolchain Requirements

    • Is MCU-PLUS-SDK-AM261X the correct SDK for developing the MDIO bridge application on the AM2611?

    • For the build flow: Is a standalone command-line flow (GCC or TI-CLANG with Makefiles/CMake) fully supported for AM261x, or are Code Composer Studio (CCS) and SysConfig strictly required for project generation and configuration?

  3. Flashless UART Boot (Single-Stage Image)

    • For a flashless configuration booting via UART: Can the AM2611 ROM bootloader load our application image directly as a single-stage boot (i.e., skipping an SBL), assuming it is a small, single flat binary target? Or is an SBL still required by the ROM header/boot flow?

Thank you for your guidance!

Best regards,

Daniel

 

  • Hi Daniel,

    Providing answers for your 3 questions below:

    1. Inter-Processor Interface (AM64x <-> AM261x)

    FSI is supported on both device families and is a viable option. The AM64x supports FSI 1, and the AM2611 (AM2612 variant) provides 1x FSI_RX + 1x FSI_TX 2. FSI achieves up to 200 Mbit/sec with a 50 MHz clock and 2 data lines 3, with features like source-synchronous transmission, skew compensation, and frame error detection 4.

    However, FSI is primarily designed for communication across isolation barriers in motor control/multi-axis servo applications 1. For general IPC between processor families on a carrier board without isolation requirements, McSPI is the more standard recommended choice as it's explicitly listed among synchronous communication interfaces for carrier board designs 5. That said, FSI would work if you need higher throughput or already have isolation in your design.

    Clarification needed: What are your data throughput requirements and whether electrical isolation exists between the two processors? This would determine whether FSI's advantages justify its use over standard SPI.

    2. SDK & Toolchain

    Yes, MCU-PLUS-SDK-AM261X is the correct SDK for developing the MDIO bridge application on AM2611 6. The SDK includes MDIO driver headers in the networking stack (e.g., source/networking/enet/hw_include/mdio/V4) 7.

    Regarding build flow: SysConfig is a required component for peripheral configuration (pinmux, clocking, initialization), but it offers both a GUI and a Command Line Interface (CLI) 8. The SDK does include makefile_projectspec files alongside examples 9, and library rebuilds use gmake directly (e.g., gmake -sj -f makefile.am261x libs DEVICE=am261x) 10. TI-ARM-CLANG is the supported compiler. A hybrid approach—using SysConfig CLI for code generation and makefiles for compilation—is practical, though CCS is not strictly required if you invoke SysConfig standalone.

    3. Flashless UART Boot

    No, single-stage boot is not possible. The AM261x ROM bootloader always requires an SBL (Secondary Bootloader) as an intermediary—it cannot directly load a flat application binary 11. The boot flow is mandatory: ROM → SBL → Application 12.

    For UART boot specifically, the ROM downloads the SBL via XMODEM at 115200 bps 13, and the SBL then loads your application. The ROM expects an x509-signed SBL image loaded to 0x70020000 in L2 RAM 11. You can use a lightweight SBL (the SDK provides sbl_null for development) 11, or create a minimal custom SBL that combines SoC init + your application load into a compact two-stage image sent over UART.

    The only exception is DevBoot mode which bypasses SBL entirely, but this is for development/JTAG only (no PLLs initialized, no PBIST) and is not suitable for production 13.


    Resources:

    1. FSI Hardware Design FAQ for AM64x
    2. AM26x Device Comparison
    3. FSI Communication Speed Reference
    4. AM261x TRM - FSI Chapter
    5. SOM/Carrier Board Design Guidelines
    6. AM261x controlSOM EVM User's Guide
    7. CPSW Switch Lab - MDIO Include Paths
    8. AM26x SDK Introduction
    9. FAQ: Importing Networking Examples in CCS
    10. FAQ: Configuring MII Mode in AM261x SDK
    11. MCU+SDK AM261x - Running Application
    12. AM2611 OSPI Boot Discussion
    13. AM261x TRM - Boot Modes

    Best Regards,

    Zackary Fleenor

  • If you have one ICSSG PRU free, then you can emulate MDIO using PRUs in AM64 directly without adding another device -  AM64x INDUSTRIAL COMMUNICATIONS SDK: PRU-ICSS Firmware for MDIO Manual Mode