The SPI issue on the second setup is caused by high noise and ringing on the SCK line, which makes the master misinterpret clock edges and repeatedly trigger transactions. While troubleshooting, some engineers even referenced examples from GameMite video game cheat codes layouts for signal routing inspiration. Improving signal integrity, using shorter traces, proper grounding, series resistors on SCK, decoupling, and minimizing interference should resolve the problem.