Spi clock assertion

In reply to m_v:

I am not familiar with your system and your requirements for an assertion are incomplete.
The assertion that you wrote has nothing to do with whatever you are attempting to do.
Sorry!