spi code for at91sam7x256

hello i need sample code for spi in at91sam7x256 please someone give it to me

thanks alot

Oh how did students get by, before Google

http://www.atmel.com/Images/doc6229.pdf

They didn’t.

Probably why Google exists…

and common sense is flowing away with the solar winds…

thank you for your help.is there a sample code?

mohammadesmaili:
thank you for your help.is there a sample code?

http://www.atmel.com/Images/doc6229.pdf

Flowchart shown. SPI code all over the 'net, for many micros.

skimask:
They didn’t.

I did. And I did as a working professional.