Arduino UNO-Q issue on

Hi Arduino team,

We are trying to use the Uno-Q header pins (GPIO0-3 / SE0) as hardware SPI on the QRB2210. After deep investigation we found the following:

Problem:
The qupfw partition programs SE0 as I2C firmware before Linux boots, setting register 0x4a80068 = 0x0303 (I2C, read-only). The Linux SPI driver fails with Invalid proto 3 because it expects SPI firmware (proto=1).

What we tried:

  • Modified Device Tree to enable spi@4a80000 and disable i2c@4a80000 :white_check_mark:
  • Patched spi-geni-qcom.c kernel driver to bypass proto check :white_check_mark:
  • CLK and MOSI signals confirmed present on GPIO2 and GPIO1 via oscilloscope :white_check_mark:
  • Clock frequency incorrect (~14x slower than configured) due to I2C firmware :cross_mark:
  • RX (MISO) completely non-functional due to I2C firmware :cross_mark:
  • qupfw binary is Qualcomm signed — cannot be modified :cross_mark:

Request:
Please configure SE0 as SPI firmware in the qupfw partition so that GPIO0-3 on the Uno-Q header can be used as full hardware SPI.

Board: Arduino Uno-Q
Kernel: 7.0.0-g122c2c22d838
SoC: Qualcomm QRB2210

I am trying to use below pins for spi which is in JMISC connector of UNO-Q board :SOC_GPIO_0_SE0,SOC_GPIO_0_SE1,SOC_GPIO_0_SE2,SOC_GPIO_0_SE3

Thank you.

It is just my curiosity:
1. why do you want to use that SPI port?
2. You can acquire your data by MCU and sned it t MPU using the Router Brideg at BD = 115200.

3. This link @philippe86220 that shows how to use the internal SPI3 link to happen communication between MCU and MPU.

In order to make relevant information available to any who are interested in this subject, I'll share a link to the formal report @someshwar1234 submitted to the Arduino developers:

Hi @GolamMostafa ,
thanks for your valuable response,i need spi for thermal printer

Hi @someshwar1234 , are there any updates about SPI on JMISC? I also need this SPI, but there is no information anywhere on how to activate it. I'm also trying to figure out i2s (Arduino UNO Q: which J-MISC pins can be used for external I2S audio?), but it seems like I'm going to face the same difficulties as you.

i didnt done spi on jmisc