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
Patched spi-geni-qcom.c kernel driver to bypass proto check
CLK and MOSI signals confirmed present on GPIO2 and GPIO1 via oscilloscope
Clock frequency incorrect (~14x slower than configured) due to I2C firmware
RX (MISO) completely non-functional due to I2C firmware
qupfw binary is Qualcomm signed — cannot be modified
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.
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: