After checking this code now I see that I'm not using hardware SPI, its a simple bit-bang SPI communication.
If you use the F628A chip than it should work fine, if you using different chip than pleas ...
I'm using dezso's code for my homework. I edit a little his code. But I cannot light the reader led. Pls help. I send 1234 from sender. Then try to receive it from reader. But I cannot.