Open search
Advertisement

Development tool

Test and simulation for CAN FD

The Optolyzer Mocca FD development tool can be used for application tests, stimulation and verification, and for gateway applications. With the Optolyzer Studio software, the device helps during the entire development process.

Devices of the Optolyzer Mocca family (Photo: K2L)

The Optolyzer Mocca family is K2L’s product line of automotive bus interfaces. Reaching from the Optolyzer Mocca CL with six CAN and six LIN interfaces to the Optolyzer Mocca compact devices with six standard CAN, six LIN, one Flexray, and one Most interface, the Optolyzer Mocca family offers solutions for different usage scenarios.

The Optolyzer Mocca FD development tool is equipped with two CAN FD interfaces, which can also be configured as CAN High-speed, CAN Low-speed or Single Wire CAN. Additionally, the tool comes with six LIN interfaces and four Classical CAN interfaces. For CAN FD, ISO and non-ISO CRC calculation is supported. The accuracy of the CAN FD time stamps is below 1 μs. Additionally, the tool has a trigger interface as well as a relay in place. For the connection to the PC, the device is equipped with a USB 2.0 interface.

Front and back of tool with interfaces (Photo: K2L)

Use cases for the CAN FD development tool

With the Optolyzer Mocca FD, two main use cases can be covered during development. The first use case is to trace and to analyze activities on the bus. The tool interfaces directly to the CAN FD network. On the other side, the tool connects via USB to the notebook that is running K2L’s development software: Optolyzer Studio or the programming API K2L Bus that comes with the tool. The second use case goes beyond pure analysis: a CAN FD node is replaced or simulated by an Optolyzer Mocca FD and Optolyzer Studio and a custom application based on the K2L Bus respectively. In the system depicted in Figure 3, the combination of development tool and the PC software would constitute a fourth CAN FD node in the network.

CAN FD analysis and simulation (Photo: K2L)

As an example of the latter use case, the screenshot in Figure 4 depicts a small CAN FD demo system. In the foreground, an Optolyzer Mocca FD is connected via CAN to a Preh iDrive and via CAN FD to a CAN FD evaluation board from Microchip. The tool is connected additionally via USB to a PC that is running Optolyzer Studio, which can be seen on the computer screen in the background. The smaller window on the PC is from a Pico Technology oscilloscope that is attached to the Microchip evaluation board. It shows the CAN FD frames that are transmitted over the CAN FD network. The Optolyzer Studio shows the bit-rate of the CAN FD data phase with the help of a tachometer plugin window. In this demo system, the transmission speed of the data phase of the CAN FD communication can be changed with the help of the iDrive.

Optolyzer Mocca FD/Optolyzer Studio as CAN FD node (Photo: K2L)

The network interfaces of the hardware can be configured via the Optolyzer Studio software. Apart from the modification of standard settings such as bit-rate and bit timing (see Figure 5), the software provides additional features: The Trace View displays the traffic on the attached busses, signal behavior can be observed in a Graph View during online measurements and in offline mode. Additionally, the Filter Editor can be used to define filter conditions. Stimulation of bus interfaces is possible with the help of the Activity View.

CAN and CAN FD settings in Optolyzer Studio (Photo: K2L)

The free-of-charge K2L Bus API provides customer programmable access to the development tool. K2L Bus is a .NET dynamic link library developed with C#, which can be employed during the development of actual .NET test and simulation application. A set of examples is available that show how to access Optolyzer Mocca hardware interfaces from within custom C# programs.

ae



Publish date
2016-08-24
Company

K2L
Microchip

Breadcrumb
Advertisement
Vector