# Pixhawk 6X Telem2 to USB companion computer

**URL:** <https://discuss.px4.io/t/pixhawk-6x-telem2-to-usb-companion-computer/29841>\
**Category:** Pixhawk\
**Created:** [November 21, 2022, 3:53pm UTC](https://discuss.px4.io/t/pixhawk-6x-telem2-to-usb-companion-computer/29841 "2022-11-21T15:53:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rdehart](https://discuss.px4.io/user_avatar/discuss.px4.io/rdehart/32/8115_2.png) [@rdehart](https://discuss.px4.io/u/rdehart)\
**Post date:** [November 21, 2022, 3:53pm UTC](https://discuss.px4.io/t/pixhawk-6x-telem2-to-usb-companion-computer/29841/1 "2022-11-21T15:53:11Z")

</div>

Hi - I have upgraded to a Pixhawk 6X from a Pixhawk 2 and want to continue using my Raspberry Pi Companion. The documentation says that Mavlink listens on Telem2, but I cant seem to find how to change it to USB-C connection, given the enum here: [Parameter Reference | PX4 User Guide](https://docs.px4.io/main/en/advanced_config/parameter_reference.html#MAV_0_CONFIG)

Would it be better just to buy the following?

> **[mRo USB FTDI Serial to JST-GH (Basic)](https://store.mrobotics.io/USB-FTDI-Serial-to-JST-GH-p/mro-ftdi-jstgh01-mr.htm)**

---

<div class="post-metadata">

**Author:** ![rdehart](https://discuss.px4.io/user_avatar/discuss.px4.io/rdehart/32/8115_2.png) [@rdehart](https://discuss.px4.io/u/rdehart)\
**Post date:** [November 23, 2022, 2:09pm UTC](https://discuss.px4.io/t/pixhawk-6x-telem2-to-usb-companion-computer/29841/2 "2022-11-23T14:09:45Z")

</div>

Anyone have an answer?

---

<div class="post-metadata">

**Author:** ![rdehart](https://discuss.px4.io/user_avatar/discuss.px4.io/rdehart/32/8115_2.png) [@rdehart](https://discuss.px4.io/u/rdehart)\
**Post date:** [December 6, 2022, 1:55am UTC](https://discuss.px4.io/t/pixhawk-6x-telem2-to-usb-companion-computer/29841/3 "2022-12-06T01:55:52Z")

</div>

So I was able to get it communicating via the Companion out of Telem2 with the JST-GH. However, the strange thing is that it wants to have BOTH the JST-GH and the USB-C cable attached before it recognizes the 6X on /dev/ttyACM0. See attached picture of setup. This is with the 6X being powered externally on Power1. As you can see I have 2 USB connections from Raspberry Pi to 6X. But it only gets info on the Telem2.

 ![e3eec4875c258c931b14ffc6e8a1400da779d06a](https://discuss.px4.io/uploads/default/original/2X/e/e3eec4875c258c931b14ffc6e8a1400da779d06a.jpeg)

---

<div class="post-metadata">

**Author:** ![Benja](https://discuss.px4.io/user_avatar/discuss.px4.io/benja/32/11872_2.png) [@Benja](https://discuss.px4.io/u/Benja)\
**Post date:** [December 6, 2022, 5:51pm UTC](https://discuss.px4.io/t/pixhawk-6x-telem2-to-usb-companion-computer/29841/4 "2022-12-06T17:51:01Z")

</div>

That’s weird. Can you elaborate a bit further? Which is your PX4 configuration (parameters, version, ecc) and what does exactly happen when you don’t have both cables plugged in? `/dev/ttyACM0` is the serial device associated to the usb-c connection or to the telem2 port?

---

<div class="post-metadata">

**Author:** ![rdehart](https://discuss.px4.io/user_avatar/discuss.px4.io/rdehart/32/8115_2.png) [@rdehart](https://discuss.px4.io/u/rdehart)\
**Post date:** [December 6, 2022, 6:20pm UTC](https://discuss.px4.io/t/pixhawk-6x-telem2-to-usb-companion-computer/29841/5 "2022-12-06T18:20:17Z")

</div>

Interestingly, ttyACM0 is the USB-C port because you can see that the telem2 is on ttyUSB0 because Im using a FTDI JST-GH to USB and you can see the FTDI uart on ttyACM0 (see screenshot).

If I just have either one plugged in it does not work.

 ![e8166d7bc5db5c8daf4d3a4ebceb13c0e0b68a56](https://discuss.px4.io/uploads/default/original/2X/e/e8166d7bc5db5c8daf4d3a4ebceb13c0e0b68a56.png)

---

<div class="post-metadata">

**Author:** ![Nimra\_Saeed](https://discuss.px4.io/user_avatar/discuss.px4.io/nimra_saeed/32/15138_2.png) [@Nimra\_Saeed](https://discuss.px4.io/u/Nimra_Saeed)\
**Post date:** [December 7, 2023, 5:48am UTC](https://discuss.px4.io/t/pixhawk-6x-telem2-to-usb-companion-computer/29841/6 "2023-12-07T05:48:29Z")

</div>

I am newbie to PX4 environment and I want to use GPS2 port and TELEM3 port as a UART Serial configuration. Basically, I want to send and receive data to and from 2 sensors attached on these 2 ports independently. What I’ve understood till now is that I’ll have to develop a driver on PX4 for this purpose. Please guide how can I start? I am using Qgroundcontrol.

---

<div class="post-metadata">

**Author:** ![Charles\_Armer](https://discuss.px4.io/user_avatar/discuss.px4.io/charles_armer/32/4279_2.png) [@Charles\_Armer](https://discuss.px4.io/u/Charles_Armer)\
**Post date:** [February 19, 2024, 4:04pm UTC](https://discuss.px4.io/t/pixhawk-6x-telem2-to-usb-companion-computer/29841/7 "2024-02-19T16:04:41Z")

</div>

working through a similar issue now. What I found is the autopilot is configured as a UART slave device. the FTDI is also a slave device. Since neither is a host device, the functionality of setting up and controlling the connection doesn’t exist.

Apparently configuring PX4 to be a host is not trivial which is why everyone recommends using a third device (arduino, or Pi or whatever) to host both the FTDI and the autopilot.
