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

    VOXL B2B Port connections questions

    VOXL
    3
    8
    506
    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
      amitga
      last edited by

      Hi.
      I was reading this:
      https://docs.modalai.com/voxl-datasheets-connectors/#j13-expansion-b2b-connection
      and wanted to make sure I understood corrrectly:
      There are 2 I2C ports/buses available on this connector (J13 - B2B) ?
      If so, can one be used as an I2C master/host, and the other as a slave (for use with external master) ?

      Also, I haven't seen any information about PWM outputs. Does the VOXL have any hardware PWM outputs? If so, on which pins?

      Thanks.

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

        Yes, but to use the B2B connector you will need a custom PCB.

        There are other i2c available.

        There are no HW PWM on VOXL, but on VOXL Flight there are HW PWM through the Flight Core portion

        1 Reply Last reply Reply Quote 0
        • A
          amitga
          last edited by amitga

          Thanks for your reply.
          Yeah, I was planning on breaking out the B2B connector to a PCB for dev purposes.

          So I shouldn't have any problems using the two I2C ports (on as master and other as slave) on the B2B, correct?

          Also, if I want to do SW based PWM, is there any GPIO pin on the B2B that you would recommend using, or can I choose any free GPIO pin ?

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

            @amitga The i2c ports on Voxl only support host mode, not slave mode. Also, we have never tested any i2c ports coming over the B2B connector and cannot say for sure whether they are even enabled in the system image.

            A 1 Reply Last reply Reply Quote 0
            • A
              amitga @Eric Katzfey
              last edited by

              @Eric-Katzfey Thanks for the reply.
              Is this a hardware limitation (i2c ports being host only) ?
              Are there any plans to enable i2c in slave mode on the VOXL ?

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

                @amitga Yes, it is a hardware limitation.

                1 Reply Last reply Reply Quote 0
                • A
                  amitga
                  last edited by

                  OK.
                  So what about SPI or UART on the B2B connector?
                  Are they available and supported in OS/SW? If so, what modes does the SPI support (master/slave) ?
                  What baudrate does the UART support?

                  Thanks.

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

                    @amitga The only thing we use over the B2B on our add-on boards is USB 2.0 and some GPIO. If you give us some idea of what you are trying to accomplish we may be able to offer some suggestions.

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