# How to use VOXL2 J19 Port for Serial Communication

Source: https://forum.modalai.com/topic/1844/how-to-use-voxl2-j19-port-for-serial-communication
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-02-17 02:43:58 UTC by Daniel Ryu
Replies: 3 · Views: 1375

## Daniel Ryu · 2023-02-17 02:43:58 UTC

Hello,

I'm trying to communicate via Serial communication on port J19 on the VOXL2. Currently I can open a port on the corresponding interface (`/dev/ttyACM0`) but I cannot read or write any data. This is how I currently wired my serial device to this port, do you have any recommendations or insight on I can open serial communication on this port? 

I do not have any GPS or magnetometer connected to the drone at those ports. 

The table contains the pins of the device I am connecting the J19 port, and the lines are the left are what pins on the J19 port I am connecting them to. 
I also tried swapping the wire at pin 8 to pin 3, and pin 7 to pin 2 of the J19 port to try and take advantage of the GPS's communication lines, but this didn't work either.

![Screenshot from 2023-02-16 18-31-49.png](https://forum.modalai.com/assets/uploads/files/1676601397391-screenshot-from-2023-02-16-18-31-49.png) 

Relevant link: https://docs.modalai.com/voxl2-connectors/#j19---external-sensors-2x-uart-2x-i2c

![Screenshot from 2023-02-16 18-32-13.png](https://forum.modalai.com/assets/uploads/files/1676601394147-screenshot-from-2023-02-16-18-32-13.png)

## Reply by Eric Katzfey (ModalAI staff) · 2023-02-17 15:35:36 UTC

@Daniel-Ryu These ports are mapped to the DSP where the PX4 flight control software runs. These ports are not available for use by the Linux processor.

## Reply by rohitpillai · 2023-02-17 23:57:14 UTC

@Eric-Katzfey 

Just adding to this thread. Is the only way to connect external sensors to the Linux processor through the USB ports on the Microhard add on board? And I2C is not possible?

## Reply by modaltb (ModalAI staff) · 2023-02-18 16:11:58 UTC

The J19 connector is specfically connected to the sDSP, so that particular connector yes, but we have other apps_proc interfaces for UART/I2C/SPI/GPIO.

This is where it's likely easiest to locate where the interfaces are:
https://docs.modalai.com/voxl2-linux-user-guide/

VOXL2 has been optimized for size, and thus some/most of these interfaces require some kind of connector that is likely harder than just making a JST cable real quick to test something out, or a daughter card that exposes it on a JST.
