Rockchip · AI & Linux Hub

Hardware interfaces

Why SPI and UART can conflict on the Radxa 40-pin header

Pin multiplexing allows the same pad to serve multiple functions.

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

Products and development resources

Check the hardware revision, carrier, image and interfaces in the product documentation. An article association is not evidence that a configuration has been tested.

Explore this topic → · Learning paths →