Monitor and Transmit CAN Traffic Using the Komodo CAN Duo Interface

The Komodo CAN Duo Interface is a powerful two-channel USB-to-CAN adapter and analyzer that is capable of active CAN data transmission up to 1 Mbps as well as non-intrusive CAN bus monitoring. It provides a flexible and scalable solution for a variety of applications including automotive, military, industrial, medical, and more. This tool offers cross-platform support for Windows, Linux, and Mac OS X, and a royalty-free API that allows for customization of your setup.

Features of the Komodo CAN Duo Interface include:

  • Dual-channel: two independent customizable CAN channels
  • Transfer rate up to 1 Mbps
  • Independent galvanic isolation per CAN channel
  • 8 configurable GPIOs
  • USB 2.0 full-speed; bus-powered
  • Free software and API
  • Cross-platform support: Windows, Linux, and Mac OS X compatible
Komodo CAN Duo Interface Komodo CAN Duo Interface

 

Two Independent CAN Channels

With the two independently customizable CAN channels, Channel A and Channel B, users can actively send CAN messages over the bus using one channel and monitor the CAN bus traffic in real time with the other. Users can also utilize the two CAN channels to monitor two independent CAN buses simultaneously.

Total Phase offers various software to interface with the Komodo CAN Duo Interface and capture CAN data, including the Data Center Software, Komodo GUI Software, and Komodo Software API.

Komodo GUI Software

The Komodo GUI Software provides a graphical interface to control and access functions of the Komodo CAN Duo Interface. Through this software, users can utilize batch mode, perform periodic messaging, and configure up to 8 GPIOs.

Komodo GUI Software Komodo GUI Software

 

General CAN Mode
The General CAN Mode allows users to send and receive data on a CAN bus. Given a specific time interval, the Komodo GUI Software can send messages on a regular, periodic basis. All CAN packets, events, and errors are shown in the transaction log.

Gerenal CAN Mode Komodo GUI Software General CAN Mode

 

Batch Mode
The Batch Mode allows users to specify specific CAN data packets to be transmitted on the bus. Using a Python interface, users can define local variables and create branching and looping logic in their script. CAN captures in the Data Center Software can be exported as batch scripts and played back in the Komodo GUI Software.

Batch Mode Komodo GUI Software Batch Mode

 

Activity Board Mode
The Activity Board Mode is designed specifically for the CAN/I2C Activity Board Pro. In this mode, the application polls the CAN devices and updates the GUI.

Activity Board Mode Komodo GUI Software Activity Board Mode

 

Data Center Software

The Data Center Software is our bus monitoring software that is used with the Komodo CAN Duo Interface to capture and display CAN bus data. It offers various features and tools to help analyze and debug the data. The data captured in the Data Center Software can be saved as a batch file that can be exported for use in the Komodo GUI Software for further testing.

CAN Data Capture in Data Center Software CAN Data Capture in Data Center Software

 

Komodo Software API

The Komodo Can Duo Interface also can be used with the free Komodo Software API which allows users to create customized programs. Users can also use the API to work with high-level CAN protocols such as CANOpen. C#, C Python, .NET, VB.NET, and VB6 programming languages are supported. Example API commands can be found within the software. Several C# examples are shown in this blog.

CAN/I2C Activity Board Pro

The CAN/I2C Activity Board Pro is a helpful tool to use alongside the Komodo CAN Duo Interface to test I2C and CAN systems. This board provides known-good target devices such as a Digital-to-a Analog converter (DAC), an Analog-to-Digital converter (ADC), a motion sensor, a light sensor, 2 port expanders, a joystick, LEDs, an LCD display, and a temperature sensor.

CAN/I2C Activity Board Pro CAN/I2C Activity Board Pro

 

Recording and Playing Back Traffic Using the Komodo CAN Duo Interface

By using the Komodo CAN Duo Interface’s two CAN channels, it is possible to record and playback CAN traffic. This can be done using the Data Center Software and Komodo GUI Software. Here is a quick tutorial on how to do so while using the CAN/I2C Activity Board Pro to generate CAN traffic:

  1. Plug the Komodo CAN Duo Interface into the host computer via the USB connector.
  2. Connect the Komodo CAN Duo Interface to the CAN/I2C Activity Board Pro with the DB-9 port on Channel A.
  3. Connect the Komodo interface to the Data Center Software and Komodo GUI Software.
  4. Select Activity Board Mode in the Komodo GUI Software. Click “Start” to begin interacting with the CAN bus.
  5. In the Data Center Software, click “Start” to begin capturing the CAN data occurring across the activity board.
  6. Using the Komodo GUI Software, interface with the activity board by turning the LEDs on in succession. The lights will illuminate green, green, and orange. Turn the lights off.
  7. Stop the activity in the Komodo GUI Software and the capture in the Data Center Software by clicking “Stop” in both instances.
  8. Play the data back by exporting the capture from the Data Center Software as a “.kba” file.
  9. In the Komodo GUI Software, switch to using Batch Mode to perform basic command scripting.
  10. Load the .kba file into Batch Mode.
  11. Click “Execute” to run the script. The LED commands previously performed on the activity board are played back in the sequence executed.

To watch a demo video of these steps in action, take a look at our video:

Record and Playback CAN Traffic Using the Komodo CAN Duo Interface

For more information on the Komodo CAN Duo Interface and how it can assist with your own CAN projects, please contact sales@totalphase.com.