|
|
5 日 前 | |
|---|---|---|
| .github | 2 ヶ月 前 | |
| demo | 5 日 前 | |
| docs | 4 日 前 | |
| include | 5 日 前 | |
| osal | 1 ヶ月 前 | |
| port | 1 週間 前 | |
| scripts | 5 日 前 | |
| src | 5 日 前 | |
| .clang-format | 3 ヶ月 前 | |
| .gitattributes | 3 ヶ月 前 | |
| .gitignore | 3 ヶ月 前 | |
| .readthedocs.yaml | 3 ヶ月 前 | |
| CMakeLists.txt | 5 日 前 | |
| LICENSE | 3 ヶ月 前 | |
| README.md | 4 日 前 | |
| README_zh.md | 4 日 前 | |
| SConscript | 5 日 前 | |
| VERSION | 3 週間 前 | |
| cherryecat_config_template.h | 2 週間 前 |
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