|
|
vor 5 Tagen | |
|---|---|---|
| .github | vor 2 Monaten | |
| demo | vor 5 Tagen | |
| docs | vor 4 Tagen | |
| include | vor 5 Tagen | |
| osal | vor 1 Monat | |
| port | vor 1 Woche | |
| scripts | vor 5 Tagen | |
| src | vor 5 Tagen | |
| .clang-format | vor 3 Monaten | |
| .gitattributes | vor 3 Monaten | |
| .gitignore | vor 3 Monaten | |
| .readthedocs.yaml | vor 3 Monaten | |
| CMakeLists.txt | vor 5 Tagen | |
| LICENSE | vor 3 Monaten | |
| README.md | vor 4 Tagen | |
| README_zh.md | vor 4 Tagen | |
| SConscript | vor 5 Tagen | |
| VERSION | vor 3 Wochen | |
| cherryecat_config_template.h | vor 2 Wochen |
English | 简体中文
<a href="https://github.com/cherry-embedded/CherryECAT/releases"><img src="https://img.shields.io/github/release/cherry-embedded/CherryECAT.svg"></a>
<a href="https://github.com/cherry-embedded/CherryECAT/blob/master/LICENSE"><img src="https://img.shields.io/github/license/cherry-embedded/CherryECAT.svg?style=flat-square"></a>
<a href="https://github.com/cherry-embedded/CherryECAT/actions/workflows/build_demo.yml"><img src="https://github.com/cherry-embedded/CherryECAT/actions/workflows/build_demo.yml/badge.svg"> </a>
CherryECAT is a tiny and beautiful, high real-time and low-jitter EtherCAT master stack, specially designed for MCUs running with RTOS.
The pic shows dc jitter < 3us (hpm6800evk with flash_xip):

Master
Slave
Use esi_parser.py to generate slave eeprom information and download eeprom to slave.
python ./esi_parser.py ECAT_CIA402_ESI.xml eeprom.bin eeprom.h
Parsing XML file: ECAT_CIA402_ESI.xml
Parsed XML: Vendor=0x0048504D, Product=0x00000003
Device Name: ECAT_CIA402
Mailbox RX: 0x1000(128)
Mailbox TX: 0x1080(128)
Generating EEPROM data...
✓ Successfully converted 'ECAT_CIA402_ESI.xml' to 'eeprom.bin'
✓ Generated 2048 bytes of EEPROM data
✓ Vendor ID: 0x0048504D
✓ Product Code: 0x00000003
✓ Revision: 0x00000001
✓ Device Name: ECAT_CIA402
✓ Generated C header file: eeprom.h
Use eni_parser.py to generate CherryECAT slave sync config.
python ./eni_parser.py ECAT_CIA402_ENI.xml sync_config.h
Parsing ENI file: ECAT_CIA402_ENI.xml
Generating C code...
✓ Successfully converted 'ECAT_CIA402_ENI.xml' to 'sync_config.h'
✓ Generated C code for 1 slave(s)
✓ Slave 1:
- RxPDO 0x1602: 3 entries
- TxPDO 0x1A02: 3 entries
QQ group: 563650597
FOE, EOE and backup redundancy features are available in Royalty-Free; other are free to use