Hmm, I can’t think of any obvious reason for the blinking. I assume you are not using the actual OSPi hardware (since you said you hooked up a Pi to a 74HC595 shift register). It might be due to wiring issues perhaps? Also, did you have a 0.1uF filter cap on the shift register’s VCC to GND pins? The filter cap is important for removing power supply noise.