Hi Uğur,
Unfortunately I am not too familiar with the SPI as a protocol either. SPI really depends on each individual device's requirements. However we do have a digital waveform generation library that can help you generate SPI waveforms. It will likely be much more convenient than manually producing the waveforms.
http://www.ni.com/example/31163/en/