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

    Can we use QUP3 I2C bus on J19?

    VOXL 2
    3
    5
    193
    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.
    • ?
      A Former User
      last edited by A Former User

      Hello,
      I am having VOXL2 development kit with system image version 1.2.1.

      I wanted to know if we can use QUP3 I2C bus on J19 (pin number 7 and 8 ) along with Mag connected to I2C bus (pin number 4 and 5) over QUP0 as per connector description? We need to use both I2C bus simultaneously which are connected to slpi_proc. Over QUP3 I2C bus I intend to use SF45 lightware lidar shown over here.
      Any guidance would be appreciated.

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

        @Aks There are a couple of considerations here. The first is the I2C port to use. In addition to what you are suggesting you could, potentially, put it on the same I2C port as the magnetometer as long as it has a different I2C address. Otherwise, it may be possible to use the port you are suggesting. However, we have not tested anything on that port yet. The other consideration is the device driver. Are you intending to use this sensor with PX4 and does PX4 already have a driver for it? If so, it may just work or it may require some modification to run properly on SLPI.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          @Eric-Katzfey Thanks for the response. Apology for late reply from my side.

          I understood your point. For developing any new driver in DSP say for this lidar do you have any certain guidelines since normal implementation on px4 won't work since I would have to port driver on to DSP in order to make things work. Please help me find sample driver which could be good start point.

          Also does porting entire lidar driver and distance message publishing code inside DSP makes sense? Any computational or memory constraints you foresee in the process?

          1 Reply Last reply Reply Quote 0
          • Chad SweetC
            Chad Sweet ModalAI Team
            last edited by

            I think the most straight-forward way to integrate that sensor on VOXL 2 is to fork the voxl-range-finder server

            The datapath:

            SF45 -> apps_proc (USB or i2c or UART) -> voxl-rangefinder-server -> voxl-vision-px4 -> VOA -> Mavlink Obstacle Map -> PX4

            qrb5165-rangefinder-server (currently under development using the TDK chirp sensors)

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              Thanks alot @Chad-Sweet for guidance. I will look into rangefinder server for further integration.

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