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

    UARTs on J17

    VOXL 2 Mini
    2
    3
    297
    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.
    • B
      Brendon
      last edited by

      I'm trying to communicate with some external devices using two of the UARTs in J19, but can't find any documentation on how the physical UARTs are mapped to the tty devices.

      In particular, I need to use both GNSS and ESC serial ports from C and/or as a login console.

      Thanks.

      ModeratorM 1 Reply Last reply Reply Quote 0
      • ModeratorM
        Moderator ModalAI Team @Brendon
        last edited by Moderator

        @Brendon You are likely referring to J17 on VOXL 2 Mini. That connector exposes I/O connected to the Flight DSP, labeled in that table as "slpi_proc". They will not be exposed as a tty device.

        We are currently working on libqrb5165-io which will provide an API to passthrough and expose a UART to the CPU. It could be a few weeks until a solid dev version of that is available

        While waiting for that, you could look at the voxl-slpi-uart-bridge which voxl-esc-tools uses to program the ESCs from the CPU https://gitlab.com/voxl-public/voxl-sdk/core-libs/voxl-slpi-uart-bridge . That tool has only been tested in limited capacity for the ESC programming and diagnostic, but it should expose a way to use that UART.

        B 1 Reply Last reply Reply Quote 0
        • B
          Brendon @Moderator
          last edited by

          @Moderator I'll take a look at that code. Can you tell me which UARTs currently are available as tty devices?

          I may be able to rewiring things to use different ports while I wait.

          Thanks.

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