I've spent the last few hours trying to set up the SPI port on the SAM7S256 to send single bytes on command. My scope shows me no SCK pulses or data pulses. I suspect that I have messed up something in the setup of the clocks, peripheral pins, or SPI registers. At this point, I'm not too concerned with polarity, delays, or SPI baud Rate. I just want to see pulses on SCK!!!!!
I haven't been able to find a simple example of SPI port setup and usage after a few hours of searching on the net.
Can anyone provide source code (or a link to an example) that shows the proper sequence of steps for setting up the AT91SAM7S256 SPI port clocks, pins, and registers so I can send a byte by storing it in the SPI TDR and waiting for TXEmpty?