Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Software Development
  3. VOXL SDK
  4. Request for How to use SPI (J10 port) in SDK 1.45-VOXL2-mini

Request for How to use SPI (J10 port) in SDK 1.45-VOXL2-mini

Scheduled Pinned Locked Moved VOXL SDK
2 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • J Offline
    J Offline
    Jskim
    Regular
    wrote on last edited by
    #1

    Hello!

    I am using the VOXL2-mini. Since the J10 port is configured as UART, I am unable to use SPI.

    To use SPI (J10 Port), I need to use VOXL2 Mini SDK 1.0.0 (voxl2-mini_SDK_1.0.0.tar.gz), but it is a very old version.

    Using the above SDK makes it impossible to use upgraded features. Is it possible to support firmware version 1.6 or higher to use SPI (J10 Port)?

    Or please let me know if there is a feature in the firmware that allows selective configuration of SPI/UART?

    Thank you.

    Kim

    1 Reply Last reply
    0
    • Hector NevarezH Offline
      Hector NevarezH Offline
      Hector Nevarez
      ModalAI Team
      wrote on last edited by Hector Nevarez
      #2

      Hi Kim,

      There are a couple changes required here that will make this work:

      1. Rebuilding Kernel with SPI14 enabled
      You're going to have to rebuild and flash the kernel with QUP14 enabled as SPI. There is also a directional level shifter on GPIO67 that needs to be set to high in order for SPI on QUP 14 to work. I created this branch for you that should have the kernel changes that you need:

      • feature/voxl2-mini-spi-qup14 (link)

      In order to actually build and flash the kernel please follow the instructions from our public docs on how to build the kernel

      • https://docs.modalai.com/voxl2-kernel-build-guide/

      When building the kernel, after syncing but before building, make sure to go to the cloned meta-voxl2-bsp directory and checkout the branch that I created (feature/voxl2-mini-spi-qup14).

      Also there is a chance you may need to build a kernel variant depending on your device so also make sure to check this document to see if you have a -2 device which would require building the kernel with the -v var02 flag

      • https://docs.modalai.com/m0054-versions/#m0054-1-and-m0054-2

      2. Configuring Trustzone with Correct QUP
      I would recommend using the devcfg binary that comes from the `voxl2-mini_SDK_1.0.0.tar.gz. In order to flash devcfg you'll want to run the following command

      fastboot flash devcfg <path/to/voxl2-mini_SDK_1.0.0/devcfg>/devcfg.mbn
      

      You should flash the kernel and devcfg (Trustzone) during the same fastboot session to avoid running into any issues with the device booting.

      Let me know if you have any additional questions or run into any issues!

      1 Reply Last reply
      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
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      ModalAI
      Categories Recent Tags ModalAI.com Docs
      © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups