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

Source: https://forum.modalai.com/topic/5200/request-for-how-to-use-spi-j10-port-in-sdk-1-45-voxl2-mini
Category: VOXL SDK and Software (https://forum.modalai.com/category/47/voxl-sdk-and-software)
Tags: voxl-sdk
Posted: 2026-05-08 02:16:41 UTC by Jskim
Replies: 1 · Views: 1605

## Jskim · 2026-05-08 02:16:41 UTC

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

## Reply by Hector Nevarez (ModalAI staff) · 2026-05-08 16:24:58 UTC

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](https://gitlab.com/voxl-public/system-image-build/meta-voxl2-bsp/-/compare/qrb5165-ubun1.0-14.1a...feature%2Fvoxl2-mini-spi-qup14?from_project_id=35747984))

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!
