I was wondering if anyone had some sample code to make the SPI on a AT91M42800A to work. I don't understand the functional flow diagram on page 170 of the complete data sheet, which I think I need to implement in code but entirely not too sure. If anyone has gotten their SPI to work on this chip somehow, I hope you could post your code. Thanks