Hello, Do you know where i can find an example of program with SPI protocol? I want to use a uart on this port. Thank you
It is trivial. Assert the chip select (if used) to the SPI device. Place the first bit of N bits of data on the data line, toggle the clock line, and repeat until N bits have been clocked out. Then negate the device's chip select. See: http://www.keil.com/forum/docs/thread753.asp for more. Hope this helps.