SPI Clock issue

Those random spikes are called « glitches » and can be filtered out.

Please refer to What are glitches?.