All case studies
01Legacy support

CAN/LAN protocol interface

Legacy equipment interface to prolong system life by converting between new and old communication links.

Protocol converter unit mounted in a 19-inch rack with CAN and Ethernet connectors
—Project brief

The challenge

As products mature and become obsolete, how do you keep support for legacy equipment? This project was based around that need. The customer had a large and complex existing RF ATE which needed new switching units to replace the ageing legacy units. The legacy units were controlled over CAN, while the identified replacements were SCPI controlled over Ethernet.

Discuss a similar project

Approach

To allow the minimum of disruption to the existing system, and possibly more importantly to the existing test software, a simple protocol converter was created to monitor the CAN bus for incoming commands and re-interpret these into outgoing SCPI commands.

Analysis

The communication protocol was reverse engineered by connecting a CAN bus monitor into the system and recording the specific CAN commands for the switch commands sent by the control unit. From this information a lookup table was created allowing translation between the two protocols.

  • CAN bus monitoring and command capture
  • Command lookup table mapping CAN to SCPI
  • Ethernet control of the replacement switching units
  • No change to the customer’s existing test software

Next project

Custom communication interface

Read case study