# Connections

## Overview

![D2X rev2 mainboard top view](/files/-LOUh5H32sAbq6oKEeuz)

#### ANT1

Antenna port 1 - SMA connector female

#### ANT2

Antenna port 2 - SMA connector female

## Left side view

### Connector positions

![](/files/-LOUhVOeWYoxMxEvDAfJ)

### Connector descriptions

#### CAN1

2 4pin JST-GH connectors for CAN bus. Pins of both ports are physically connected to each other.

| pin | signal  | specification |
| --- | ------- | ------------- |
| 1   | V\_CAN1 |               |
| 2   | CAN1\_H |               |
| 3   | CAN1\_L |               |
| 4   | GND     |               |

#### CAN2

2 4pin JST-GH connectors for CAN bus. Pins of both ports are physically connected to each other.

| pin | signal  | specification |
| --- | ------- | ------------- |
| 1   | V\_CAN2 |               |
| 2   | CAN2\_H |               |
| 3   | CAN2\_L |               |
| 4   | GND     |               |

#### I2C-1

4pin JST-GH connector for I2C port 1.

| pin | signal   | specification |
| --- | -------- | ------------- |
| 1   | V5.2     | 5.2V          |
| 2   | I2C1 SCL | 3.3V          |
| 3   | I2C1 SDA | 3.3V          |
| 4   | GND      | 0V            |

#### I2C-3

5pin JST-GH connector for I2C port 3 including one IRQ line to connect NFC reader.

| pin | signal   | specification                         |
| --- | -------- | ------------------------------------- |
| 1   | V5.2     | 5.2V                                  |
| 2   | I2C3 SCL | 3.3V                                  |
| 3   | I2C3 SDA | 3.3V                                  |
| 4   | IRQ      | 3.3V, connected to GPIO P25 of i.MX6Q |
| 5   | GND      | 0V                                    |

#### ETH2

4pin JST-GH connector for 100bT Ethernet connection.

{% hint style="warning" %}
currently not supported!
{% endhint %}

#### 2wire ETH1

2pin JST-GH connector for 100bT 2wire Ethernet connection.

{% hint style="warning" %}
currently not supported!
{% endhint %}

#### 2wire ETH2

2pin JST-GH connector for 100bT 2wire Ethernet connection.

{% hint style="warning" %}
currently not supported!
{% endhint %}

## Front side view

### Connector and Button positions

![](/files/-LOUiuOWmBYQv_ecPGtU)

### Connector and Button descriptions

#### UART

6pin JST-GH connector providing UART1 (console) and UART4 (telemetry).\
UART4 purpose is to connect to UART of flight control for providing MavLink telemetry data in case used as drone unit.

| pin | signal   | specification |
| --- | -------- | ------------- |
| 1   | V5.2     | 5.2V          |
| 2   | UART1 TX | 3.3V          |
| 3   | UART1 RX | 3.3V          |
| 4   | UART4 TX | 3.3V          |
| 5   | UART4 RX | 3.3V          |
| 6   | GND      | 0V            |

#### USB

microUSB socket acting either as USB-OTG or USB client serial or ethernet port.\
USB serial or ethernet is configurable via nxpD2X startup script.\
See [Enable USB network](/d2x/software/d2x-application/enabling-usb-network.md) for further details on the startup configuration.

{% hint style="info" %}
Default setting is USB network with IP 192.168.7.2 or .7.3\
Host computer should be set to 192.168.7.1
{% endhint %}

#### HDMI

Standard HDMI connector to attach a display/monitor.

#### ETH1

Hirose iX connector for Gbit Ethernet connection.

{% hint style="warning" %}
currently not supported!
{% endhint %}

#### RESET

Reset button to perform hardware reset.

#### BTN

General purpose button. Connected to GPIO P24 of i.MX6Q.\
Active low.

## Right side view

### Connector positions

![](/files/-LOUj_zCFcUljFa0e7mV)

### Connector descriptions

#### CAMERA

33pin CSI-2 camera port.  Camera module supported is Technexion [CAM-OV5645](https://shop.technexion.com/cam-ov5645.html).

| pin | signal     | specification |
| --- | ---------- | ------------- |
| 1   | CSIC-1\_P  |               |
| 2   | CSIC-1\_N  |               |
| 3   | GND        | 0V            |
| 4   | CSID0-1\_P |               |
| 5   | CSID0-1\_N |               |
| 6   | GND        | 0V            |
| 7   | CSID1-1\_P |               |
| 8   | CSID1-1\_N |               |
| 9   | GND        | 0V            |
| 10  | CSID2-1\_P |               |
| 11  | CSID2-1\_N |               |
| 12  | GND        | 0V            |
| 13  | CSID3-1\_P |               |
| 14  | CSID3-1\_N |               |
| 15  | GND        | 0V            |
| 16  | DSI\_D1\_P |               |
| 17  | DSI\_D1\_M |               |
| 18  | GND        | 0V            |
| 19  | DSI\_D0\_P |               |
| 20  | DSI\_D0\_M |               |
| 21  | GND        | 0V            |
| 22  | DSI\_C\_P  |               |
| 23  | DSI\_C\_M  |               |
| 24  | GND        | 0V            |
| 25  | I2C2 SCL   |               |
| 26  | I2C2 SDA   |               |
| 27  | V3.3       | 3.3V          |
| 28  | V3.3       | 3.3V          |
| 29  | GPIO\_3    | 3.3V          |
| 30  | GPIO\_6    | 3.3V          |
| 31  | GPIO\_8    | 3.3V          |
| 32  | V5.2       | 5.2V          |
| 33  | V5.2       | 5.2V          |

#### GPIO

4pin JST-GH connector providing 3 GPIO data lines.

| pin | signal      | specification |
| --- | ----------- | ------------- |
| 1   | GPIO\_P28   | 3.3V          |
| 2   | GPIO\_P30   | 3.3V          |
| 3   | GPIO2\_IO08 | 3.3V          |
| 4   | GND         | 0V            |

#### POWER

4pin JST-GH supply power connector.

| pin | signal | specification             |
| --- | ------ | ------------------------- |
| 1   | VIN    | 7-25V, use both pins 1&2. |
| 2   | VIN    | 7-25V, use both pins 1&2. |
| 3   | GND    | 0V, use both pins 3&4.    |
| 4   | GND    | 0V, use both pins 3&4.    |

#### PPS

2pin JST-GH connector for 1pps clock signal input to V2X transceiver module.

| pin | signal | specification |
| --- | ------ | ------------- |
| 1   | 1PPSn  | 3.3V          |
| 2   | GND    | 0V            |

#### SPI

7pin JST-GH connector providing SPI port.

| pin | signal    | specification              |
| --- | --------- | -------------------------- |
| 1   | V5.2      | 5.2V                       |
| 2   | SPI\_SCK  | 3.3V, SPI2\_SCLK on i.MX6Q |
| 3   | SPI\_MISO | 3.3V, SPI2\_MISO on i.MX6Q |
| 4   | SPI\_MOSI | 3.3V, SPI2\_MOSI on i.MX6Q |
| 5   | SPI\_CS2  | 3.3V, SPI\_SS2 on i.MX6Q   |
| 6   | SPI\_CS3  | 3.3V, SPI\_SS3 on i.MX6Q   |
| 7   | GND       | 0V                         |

#### RS232

4pin JST-GH connector for RS232 level UART.

{% hint style="warning" %}
Currently not supported!
{% endhint %}

#### GPS

6pin JST-GH GPS UART connector following dronecode standard including I2C port for compass.

| pin | signal   | specification |
| --- | -------- | ------------- |
| 1   | V5.2     | 5.2V          |
| 2   | UART5 TX | 3.3V          |
| 3   | UART5 RX | 3.3V          |
| 4   | I2C2 SCL | 3.3V          |
| 5   | I2C2 SDA | 3.3V          |
| 6   | GND      | 0V            |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://nxp.gitbook.io/d2x/d2x-board-rev2/connections.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
