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

    VOXL2 I2C access from FC

    ROS
    2
    3
    323
    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
      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
        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
          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
          • First post
            Last post
          Powered by NodeBB | Contributors