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

ModalAI Forum

Hector NevarezH

Hector Nevarez

@Hector Nevarez
ModalAI Team
Unfollow Follow
About
Posts
1
Topics
0
Shares
0
Groups
1
Followers
0
Following
0

Posts

Recent Best Controversial

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

    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!

    VOXL SDK
  • Login

  • Don't have an account? Register

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