I have problems to get my SPI Master to work.
I am using the AT32UC3A3-XPLD-Evaluationboard with a STEVAL-MKI105V1 (http://www.st.com/web/en/catalog...).
This MEMS-board is connected to the header J1, which is for SPI1 of the AT32UC3A3256, more precise for SPI1 with NPCS.
The problem is I'm totally unexperienced with AVR32-Chips and using AVR Studio 6 with C-Code.
So I used the ASF-Guide for SPI, read all the posts here und studied the ASF-example-projects.
Nothing worked except for the CS, which goes low:
Here is my Code:
http://pastebin.com/CyZt59sS <- main-file
http://pastebin.com/bEXWvCnX <- uc3_a3_xplained.h
http://pastebin.com/QijbdE1U <- init.h
http://pastebin.com/mzZaJTGf <- conf_clock.h
Could someone tell me where I have done total bullshit?
Thanks in advance