Documentation listing SPI, UART, and PWM does not mean that each set of functions will work simultaneously on the same set of physical pins. When evaluating the ROCK 5B pin header or replacing the carrier board with an ArmSoM, do a resource allocation for the entire project.
Make a pin occupancy table
Fill in one physical pin per line, listing current usage, alternative functions, and actual connected peripherals. In addition to data lines, chip select, hardware flow control, reset, interrupt and debugging serial ports must also be included. The data pins of the two peripherals are different and may also compete for the same chip select or interrupt.
Start verification by combination
Enable SPI alone, enable UART alone, and then enable them at the same time and save the startup log. If the combination fails, check the driver bindings between pinctrl and the two buses to confirm whether there is configuration overwriting, pin occupation, or electrical conflicts among peripherals. Do not test with two output lines at the same time.
Evaluate feasible reallocations
Prioritize another set of pins that are clearly mentioned in the manual, and secondly consider changing the chip select or using an independent expansion controller. Each plan requires recalculation of pins, voltages, drivers, and chassis plug locations before deciding whether to modify the carrier board.
Board documentation and references

- ArmSoM Sige5 · hardware and interface manual · Sige5 · product page
- 40-pin connector verification for Radxa ROCK 5B
- Device Tree Overlays for GPIO I2C and SPI on RK3576 and RK3588
