TI's multi-protocol implementation uses a unified hardware
design, supporting different protocols through different firmware
images.
Protocol Selection Mechanism
-
Boot-Time Selection: Determine protocol at
boot time through hardware switches or software parameters
-
Automatic Detection: Device automatically
listens to network and selects protocol based on received frame
types
-
Firmware Independence: Different protocols use
independent firmware images without interference
Protocol Stack Structure (Example Ethercat on AM335)
TI's EtherCAT software stack comprises three main layers:
- Layer 2 (Data Link Layer): PRU Firmware
-
- PRU cores handle EtherCAT telegram transmission and
reception
- Implements FMMU and Sync Managers
- Distributed clock processing
- Layer 7 (Application Layer): EtherCAT Slave Protocol Stack
-
- Runs on Arm core
- Supports Beckhoff native stack or third-party stacks
- Communicates with PRU through interrupts
- Application Layer: User Industrial Application
- Implements device-specific logic (I/O processing, sensor
drivers, etc.)
Advantages of Single Hardware Platform
- No need for multiple development boards and reference
designs
- Same schematic and PCB layout
- Shared power supply and EMI design
- Significantly lower BOM cost and time-to-market