MIKROE EtherCAT Click

EtherCAT Click is a compact add-on board that provides a cost-effective solution for realizing EtherCAT device solutions on various processors over the SPI interface. This board features 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. The LAN9252 supports HP Auto-MDIX, allowing the use of direct connects or cross-over LAN cables. It communicates with MCU via a synchronous device SPI/SQI interface and can operate in Digital I/O Mode, where signals can be controlled or monitored by the EtherCAT Controller. This Click board™ is suitable for industrial control, process/factory automation, hydraulic and pneumatic valve systems, power, and many more.

NOTE: The software support is provided in MPLABX by the Microchip company.

EtherCAT Click 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 controller 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 Controller 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 Controller is committed using handshakes, guaranteeing no data drop. The LAN9252 also contains an I2C controller 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.

EtherCAT Click communicates with MCU via a synchronous peripheral 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 Controller.

The LAN9252 also provides operational green LED indicator labeled as RUN and a programmable interrupt structure controlled by the System Interrupt Controller. The interrupt pin labeled 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, labeled 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.

This 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 TECHNOLOGY

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.

  • Interface: SPI
  • Compatibility: mikroBUS™
  • Dimensions: 57.15 x 25.4mm
  • Input Voltage: 3.3V
  • Bandwidth: 100BASE-TX/100BASE-FX
  • Operating Temperature Range: Min. -40°C, Typ. +25°C, Max. +85°C

Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

Customer Reviews

No reviews yet.