Hi @DongFeng ,
You can take a look at this solution which shows an EtherCAT leader solution released in NXP's Real-time Edge software, and a 9-axises robot arm demo based on this solution.
EtherCAT Leader Solution: 9-Axis Robot Arm Control | NXP Semiconductors
Best regards,
Gavin