# spi code for at91sam7x256

**URL:** <https://community.sparkfun.com/t/spi-code-for-at91sam7x256/24189>\
**Category:** MicroMod\
**Tags:** arm-lpc\
**Created:** [May 15, 2012, 2:55pm UTC](https://community.sparkfun.com/t/spi-code-for-at91sam7x256/24189 "2012-05-15T14:55:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammadesmaili](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@mohammadesmaili](https://community.sparkfun.com/u/mohammadesmaili)\
**Post date:** [May 15, 2012, 2:55pm UTC](https://community.sparkfun.com/t/spi-code-for-at91sam7x256/24189/1 "2012-05-15T14:55:16Z")

</div>

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

thanks alot

---

<div class="post-metadata">

**Author:** ![stevech](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@stevech](https://community.sparkfun.com/u/stevech)\
**Post date:** [May 16, 2012, 3:45am UTC](https://community.sparkfun.com/t/spi-code-for-at91sam7x256/24189/2 "2012-05-16T03:45:19Z")

</div>

Oh how did students get by, before Google

[http://www.atmel.com/Images/doc6229.pdf](http://www.atmel.com/Images/doc6229.pdf)

---

<div class="post-metadata">

**Author:** ![skimask](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@skimask](https://community.sparkfun.com/u/skimask)\
**Post date:** [May 16, 2012, 3:49am UTC](https://community.sparkfun.com/t/spi-code-for-at91sam7x256/24189/3 "2012-05-16T03:49:51Z")

</div>

They didn’t.

Probably why Google exists…

and common sense is flowing away with the solar winds…

---

<div class="post-metadata">

**Author:** ![mohammadesmaili](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@mohammadesmaili](https://community.sparkfun.com/u/mohammadesmaili)\
**Post date:** [May 16, 2012, 1:00pm UTC](https://community.sparkfun.com/t/spi-code-for-at91sam7x256/24189/4 "2012-05-16T13:00:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![stevech](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@stevech](https://community.sparkfun.com/u/stevech)\
**Post date:** [May 17, 2012, 2:40am UTC](https://community.sparkfun.com/t/spi-code-for-at91sam7x256/24189/5 "2012-05-17T02:40:05Z")

</div>

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

[http://www.atmel.com/Images/doc6229.pdf](http://www.atmel.com/Images/doc6229.pdf)

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

---

<div class="post-metadata">

**Author:** ![stevech](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@stevech](https://community.sparkfun.com/u/stevech)\
**Post date:** [May 17, 2012, 2:41am UTC](https://community.sparkfun.com/t/spi-code-for-at91sam7x256/24189/6 "2012-05-17T02:41:01Z")

</div>

> skimask:  
> They didn’t.

I did. And I did as a working professional.
