Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. VOXL Compute & Autopilot
  3. Flight Core
  4. Microstrain 3DMGX5 Interface

Microstrain 3DMGX5 Interface

Scheduled Pinned Locked Moved Flight Core
3 Posts 2 Posters 1.1k Views 2 Watching
  • 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.
  • Andrew KeefeA Offline
    Andrew KeefeA Offline
    Andrew Keefe
    wrote on last edited by Andrew Keefe
    #1

    I'm trying to receive streamed data from a 3DM-GX5 AHRS via UART. I'm re-using a port I've co-opted before. Last time I ran the interface at 57,600 baud since that was the default already for the port. This time the AHRS only supports 9600, 19200, 115200, 230400, 460800, 921600.

    When I try and connect at 19200 I'm not getting the 21 byte packet I expect, which was separately verified with an Arduino using SoftwareSerial.

    I'm seeing a lot of 252's and 28's. I'm looking for 117,101 or if inverted 138,154.

    Is there a baud rate issue with using the UART on J4? Maybe something to do with USART vs UART?

    I have disabled the mapping to TEL3 in default.cmake.

    1 Reply Last reply
    0
    • modaltbM Offline
      modaltbM Offline
      modaltb
      ModalAI Team
      wrote on last edited by
      #2

      Hi @Andrew-Keefe we have not experienced anything like this, although I think lowest I've got is 56700. I am using this J4 currently with a MAVLink instance and it funcions at 115200. We never use flow control, just Rx/Tx, not sure if that's your same setup?

      Sometimes we try to do a loopback, and just write out and read back data at various bauds to prove things out.

      1 Reply Last reply
      0
      • Andrew KeefeA Offline
        Andrew KeefeA Offline
        Andrew Keefe
        wrote on last edited by
        #3

        I verified the UART is working fine using the loopback method, at a few different baud rates. I think the issue is the sensor itself must be encoding the packets differently than I am reading them. I might need to reduce the baud rate down to 9600 and review the data on the oscilloscope.

        The Arduino's SoftwareSerial library didn't work properly until I inverted the input, but I didn't see that option for the linux UART.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        ModalAI
        Categories Recent Tags ModalAI.com Docs
        © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups