SPI routing question...Maximum length SPI can be routed
4-20ns rise time is pretty slow - each nanosecond is about 15cm at PCB trace speeds.  Various rules of thumb exist - Howard Johnson proposes that if the length of your interconnect is &lt; 1/6 of the risetime, you can treat it as a lumped circuit and neglect most of the signal integrity problems that rear their heads in longer circuits.

For you, 4ns is 60cm, so if your wires are shorter than 10cm, don't worry about it.

Regarding mitigations, without access to a simulator, the easy things to do are:


Series terminate the serial-clock line, some value between 27 and 47 ohms is usual.
Ensure that there is a ground return next to each signalling wire in the ribbon/flex cable.  If you can't do that, ensure that the clock line is at least next to a ground line.