How Does The EtherCAT Click Board™ Work?
The EtherCAT Click Board™ as its foundation uses the LAN9252, a 2-port EtherCAT device controller with dual integrated Ethernet PHYs from Microchip Technology. Each PHY contains a full-duplex 100BASE-TX transceiver and supports 100Mbps operation. Each port receives an EtherCAT frame, performs frame checking, and forwards it to the next port. Data exchange between master and device applications is comparable to a dual-ported memory (process memory), enhanced by special functions for consistency checking and data mapping (FMMU). The LAN9252 also supports HP Auto-MDIX, allowing the use of direct connects or cross-over LAN cables on the onboard 2x1 RJ-45 connector.
Within the LAN9252, two modes of operation are available: buffered or mailbox mode. In the buffered mode, both the local MCU and EtherCAT Master can write to the device concurrently. The buffer within the LAN9252 will always contain the latest data. If newer data arrives before a performed old data read, the old data will be dropped. In mailbox mode, buffer access by the local MCU and the EtherCAT Master is committed using handshakes, guaranteeing no data drop. The LAN9252 also contains an I2C master EEPROM controller for connection to the external 24FC64F, 64Kbit Microchip’s EEPROM, which allows for the storage and retrieval of static data using the I2C serial interface.
The EtherCAT Click Board™ communicates with MCU via a synchronous slave SPI/SQI interface that facilitates communication between the device and a host system. It supports single/multiple registers read and write commands with incrementing, decrementing, and static addressing and allows access to the System CSRs, internal FIFOs, and memories. Single, Dual, and Quad bit lanes are supported in SPI mode with a clock rate of up to 80 MHz. For simple digital modules without MCUs, the LAN9252 can operate in Digital I/O Mode, where signals can be controlled or monitored by the EtherCAT Master.
The LAN9252 also provides operational green LED indicator labelled as RUN and a programmable interrupt structure controlled by the System Interrupt Controller. The interrupt pin labelled as INT on the mikroBUS™ socket can be configured as an open-drain output to facilitate the sharing of interrupts with other devices via onboard header. The programmable interrupt pin provides the user with the ability to optimize performance dependent upon the application requirements. Also, this Click board™ can reset through the Hardware Reset pin, labelled as RST on the mikroBUS™ socket.
The EtherCAT Core of the LAN9252 provides two input pins used for time stamping of external events, where both rising and falling edge time stamps are recorded. These pins are shared with the SL0 and SL1 pins on the mikroBUS™ socket and onboard header, respectively, to indicate the occurrence of time events. The LAN9252 supports numerous power management and Wake-Up features. It can be placed in a reduced power mode and be programmed to issue an external wake signal ideal for triggering system Power-Up using remote Ethernet Wake-Up events.
The EtherCAT Click Board™ operates only with a 3.3V logic voltage level. The board must perform appropriate logic voltage level conversion before use with MCUs with different logic levels.
EtherCAT is a high-performance, low-cost, easy to use Industrial Ethernet technology with a flexible topology. This real-time Industrial Ethernet technology was originally developed by Beckhoff Automation. The EtherCAT protocol which is disclosed in the IEC standard IEC61158 is suitable for hard and soft real-time requirements in automation technology, in test and measurement and many other applications.
EtherCAT is also an open technology: anyone is allowed to implement or use it. MikroElektornika is from 2018 a proud member of the EtherCAT Technology Group. To find out more about this technology and how it can be used feel free to visit EtherCAT Technology page.
||The EtherCAT Click Board™ can be used for industrial control, process/factory automation, hydraulic and pneumatic valve systems, power, and many more.
||LAN9252 - 2-port EtherCAT slave controller with dual integrated Ethernet PHYs from Microchip Technology
||2/3-port EtherCAT slave controller, integrated Ethernet PHYs with HP Auto-MDIX, wake on LAN (WoL) support, high performance, synchronous slave SPI/SQI interface, and more.
|Click board size
||L (57.15 x 25.4 mm)
This table shows how the pinout of the EtherCAT Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
|External Time Event Indicator
||External Time Event Indicator
|SPI Chip Select
|SPI Data OUT
|SPI Data IN
ONBOARD SETTINGS AND INDICATORS
||Power LED Indicator
||RUN LED Indicator
||External Time Event Indicators / Interrupt
ETHERCAT CLICK ELECTRICAL SPECIFICATIONS
|Operating Temperature Range