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

    VOXL2 I2C access from FC

    Scheduled Pinned Locked Moved ROS
    3 Posts 2 Posters 1.3k Views 1 Watching
    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.
    • ceu gomezC Offline
      ceu gomez
      last edited by

      Hi,
      Is there a supported method to access i2c devices from the DSP on the flight computer rather than the px4 side of things? I'm trying to initialize a ROS2 driver for the BMO055 9-axis IMU and having trouble communicating. Sensor is wired to spare i2c on J19, VOXL2. If it's accessible to PX4, it must be exposed somewhere in ubuntu, right?
      -c

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE Offline
        Eric Katzfey ModalAI Team @ceu gomez
        last edited by

        @ceu-gomez PX4 on VOXL2 is composed of two separate applications. One is on the applications processor (running Ubuntu) and the other is on the DSP (running Qurt RTOS). They use the muorb module to communicate topic data back and forth. The spare i2c on J19 is mapped to the DSP, not the applications processor, so Ubuntu has no access to it. To gain access to it on Ubuntu side with PX4 running would require some new code. This is something that is on our development roadmap but no definitive answer on when we will be able to get to it.

        ceu gomezC 1 Reply Last reply Reply Quote 1
        • ceu gomezC Offline
          ceu gomez @Eric Katzfey
          last edited by

          @Eric-Katzfey We got around it by forcing UART mode and connecting through an FTDI converter. Thanks anyway!

          1 Reply Last reply Reply Quote 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
          • First post
            Last post
          Powered by NodeBB | Contributors