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

    lis3mdl magnetometer

    VOXL 2 Mini
    4
    20
    932
    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.
    • Eric KatzfeyE
      Eric Katzfey ModalAI Team @mkriesel
      last edited by

      @mkriesel The low level driver is Qualcomm proprietary so we cannot share it. But you don't need to look at that code to use an i2c port. You just need to use the interface functions provided by px4.

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

        @mkriesel Yes, you would need to compile the DSP code with the Hexagon SDK.

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

          @mkriesel You cannot access the DSP i2c ports from the applications processor.

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

            @mkriesel We don't have any immediate plans to add dsp i2c access to libqrb5165-io.

            M 1 Reply Last reply Reply Quote 0
            • M
              mkriesel @Eric Katzfey
              last edited by

              @Eric-Katzfey Hi again, sorry for all the questions but for an update, I was able to get the compass working for my application by using the mavlink pipe and for now this is sufficient, however if I wanted to reconfigure the port to have it on the application processor instead could I do that? Again, it doesn't matter if I lose functionality in px4 because I don't plan to use it if I don't have to but if those GPIO pins are available I would like to explore that option.

              Thanks for all the help so far.

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

                @mkriesel The VOXL 2 does not have any i2c brought out to connectors for the applications processor. However, there are some add-on boards that do include this. For example: https://docs.modalai.com/usb2-type-a-breakout-add-on/

                M 1 Reply Last reply Reply Quote 0
                • M
                  mkriesel @Eric Katzfey
                  last edited by

                  @Eric-Katzfey I undertand you do not have any Voxl 2 mini schematics open to the public but is it possible for you to share with me the gpio pins that J19 are on for the QRB5165 board?

                  Alex KushleyevA VinnyV 2 Replies Last reply Reply Quote 0
                  • Alex KushleyevA
                    Alex Kushleyev ModalAI Team @mkriesel
                    last edited by

                    @mkriesel ,

                    https://docs.modalai.com/voxl2-mini-connectors/#j19---external-sensors-2x-uart-2x-i2c

                    here is a link for voxl2 (not mini) : https://docs.modalai.com/voxl2-connectors/

                    does this help?

                    VinnyV 1 Reply Last reply Reply Quote 0
                    • VinnyV
                      Vinny ModalAI Team @Alex Kushleyev
                      last edited by

                      @Alex-Kushleyev @mkriesel , I just updated that table to include the raw GPIO numbers.
                      e79aa1fe-ff26-45a0-ad24-65d59af5004b-image.png
                      However, I'm certain that they are unusable as GPIOs due to Trust Zone settings we have applied using them as I2C/UART etc.

                      1 Reply Last reply Reply Quote 0
                      • VinnyV
                        Vinny ModalAI Team @mkriesel
                        last edited by

                        Hi @mkriesel
                        Have you seen this product we offer? This may be something that interests you:
                        https://docs.modalai.com/voxl2-dev-test-board/

                        Our purchase link is buried in our beta section due to the risk of such product:
                        https://www.modalai.com/pages/beta-voxl-2-b2b-breakout-board
                        It includes a lot of extras not posted such as a tray to hold everything together, an SD Card, many cables, and several jumpers to get you going.
                        Hope this helps!

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          mkriesel @Vinny
                          last edited by

                          @Vinny Thanks for the help on this I really appreciate it. I'll take a look.

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