Skip to main content

Setting up DoIP

Before proceeding with the install

The DoIP solution described here only works with the AutoPi TMU CM4 and newer editions.

When installed, the Ethernet port on the AutoPi devices will internally be used for DoIP. Do not connect anything on the Ethernet port.

Never install the upgraded device in a vehicle that does not support DoIP. Using an Ethernet based protocol in a vehicle that only supports CAN can affect the performance of the vehicle.

Introduction

DoIP is a modern protocol used in the automotive industry for diagnostics and communication between vehicle components and external diagnostic equipment. This technology plays a crucial role in diagnosing and maintaining vehicles, ensuring they operate efficiently and safely. As vehicles become more connected and complex, the need for advanced diagnostic capabilities increases. DoIP provides a robust framework that allows for faster, more reliable data transmission compared to older protocols.

Contents

This guide covers configuring Diagnostics over IP on the AutoPi TMU CM4 or CAN-FD Pro devices. Paired with the AutoPi DoIP HAT, these devices can be upgraded to support DoIP. See this guide on how to install the DoIP HAT. It's also possible to order the device pre-installed with the DoIP Solution.

Ethernet Pin assignment at OBD Connector

Installing the DoIP HAT on the AutoPi devices, transforms you device into that is capeable of communication over an Ethernet based protocol instead of a CAN Based protocol. This is a protocol used on some newer vehicles. The standard Pin out then changes in the 16pin OBD connector.

After the upgrade four pins are used for Ethernet and one pin is used for activation. Two different types of pinout is defined in the DoIP standard and both are supported by the AutoPi HAT. Its only the Ethernet Rx lines that changes place.

DoIP main pinout

DoIP Main pinout

OBD pinoutDoIP usage
Pin 3Ethernet Rx (+)
Pin 11Ethernet Rx (-)
Pin 12Ethernet Tx (+)
Pin 13Ethernet Tx (-)
Pin 8DoIP Activation

DoIP alternative pinout

DoIP Alternative pinout

OBD pinoutDoIP usage
Pin 1Ethernet Rx (+)
Pin 9Ethernet Rx (-)
Pin 12Ethernet Tx (+)
Pin 13Ethernet Tx (-)
Pin 8DoIP Activation

Controlling the DoIP port

From the AutoPi Core software, it is possible to control the pinout variant to be used.

Using the DoIP software

The AutoPi DoIP integration is based on the udsoncan library. The integration implements all the services and helper classes from the library and thereby also support UDS.

Let's keep in touch!

Thank you for choosing AutoPi. We're excited to see what you will achieve with your AutoPi device!