Introduction
This document describes the integration of the delivered EtherCAT example projects for ST STM32F411x target with the development environment STM32CubeIDE.
...
The port EtherCAT stack is implemented and tested with ST STM32F411RE-Nucleo board connected with a Trinamic TM8462 EtherCAT® slave controller, on board TMC8462-EVAL v3.1 (connected via SPI interface). The connection to the EtherCAT board is implemented using simple connector cables.
...
Toolchain:
Compiler/IDE: GNU ARM Embedded v10.3 used in STM32CubeIDE Version: 1.8.0
Flash tool/Debugger: Onboard ST-Link
...
PA0 ---> PDI-IRQ
PA1 ---> SYNC0 (neccessary for DC feature)
In addition, the power supply of the TMC8462-EVAL board is received from the Nucleo board (5V, GND) show in the picture above. This works, but it is better to supply the TMC8462-EVAL board with an external voltage source. In any case, the GND of both boards should be connected for a common ground.
For further driver informations please read ../drivers/st_stm32f411x/README.txt
...
Then you can build and run the example projects.
ICC tool project
The sample projects are designed with port’s ICC tool. The HW configuration uses the generic STM32 entry with SPI slave ESC interface. Shown here for example s1:
...
Please use this setting also for your own customer projects.
Available sample applications
s1_stm32f411x:
SDO read and write
2 RX-PDOs and 2 TX-PDOs
object dictionary containing objects of various data types
s3_stm32f411x:
SDO read and write
SDO Info service
SDO Info object names
2 RX-PDOs and 2 TX-PDOs
Split SDO-Access
Split NMT-Control
object dictionary containing objects of various data types
s4_stm32f411x:
SDO read and write
SDO Info service
SDO Info object names
2 RX-PDOs and 2 TX-PDOs
Split SDO-Access
Split NMT-Control
object dictionary containing objects of various data types
EoE service with rudimentary ARP and IGMP support (ping)
FoE service
s5_stm32f411x:
SDO read and write
SDO Info service
SDO Info object names
2 RX-PDOs and 2 TX-PDOs
object dictionary containing objects of various data types
virtual objects
s7_stm32f411x:
SDO read and write
SDO Info service
SDO Info object names
2 RX-PDOs and 2 TX-PDOs
object dictionary containing objects of various data types
FoE mailbox service
BOOTSTRAP NMT mode
s9_stm32f411x:
SDO read and write
2 RX-PDOs and 2 TX-PDOs
object dictionary containing objects of various data types
dynamic PDO mapping with extension module usr_dynPdoMapping
s10_stm32f411x_xxx:
Interrupt handling
xxx = isr: PDI Events are handled in an ISR
xxx = isr_dc: PDI Events and DC Events are handled in separate ISRs
s11_tms320f28388xstm32f411x_cia402
EtherCAT slave with CiA 402 profile example application
...