A bare-metal EtherCAT master implementation running on the STM32F407VET6 microcontroller using the SOEM (Simple Open
EtherCAT Master) library. No RTOS required.
What it does
This project ports the SOEM EtherCAT master stack to the STM32F4 platform, enabling direct industrial fieldbus
communication from a low-cost ARM Cortex-M4 board. It automatically discovers and configures EtherCAT slaves,
exchanges process data cyclically, and recovers lost connections — all without an operating system.
Hardware
- MCU: STM32F407VET6 (168 MHz, Cortex-M4)
- Ethernet PHY: DP83848 via RMII interface (100 Mbps)
- Board: JZ-F407VET6 development board (115x80mm)
- Debug: UART1 at 115200 baud, 3 user LEDs, 3 buttons, SWD/JTAG