ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to use VOXL2 J19 Port for Serial Communication

    Ask your questions right here!
    4
    4
    405
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Daniel RyuD
      Daniel Ryu
      last edited by

      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

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

      Screenshot from 2023-02-16 18-32-13.png

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @Daniel Ryu
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • R
          rohitpillai
          last edited by

          @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?

          1 Reply Last reply Reply Quote 0
          • modaltbM
            modaltb ModalAI Team
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Powered by NodeBB | Contributors