TS-4200 SPI: Difference between revisions
From embeddedTS Manuals
No edit summary |
(Updated) |
||
Line 1: | Line 1: | ||
The SPI controller is provided by the Atmel CPU. Documentation for | The SPI controller is provided by the Atmel CPU. We provide sample code to set up the SPI port and initiate a write to an SPI flash device. This is used to demonstrate a simple read and write, as well as a more complex overall process. A TS-4200 compatible binary is [ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4200-linux/binaries/spi1-sample available here] with the sources [ftp://ftp.embeddedarm.com/ts-socket-macrocontrollers/ts-4200-linux/samples/spi1-sample.c available here]. | ||
Documentation for the CPU SPI peripheral can be found in the [http://www.embeddedarm.com/documentation/third-party/atmel_at91sam9g20_manual_may2010.pdf CPU manual] in section 30 (page 391). |
Revision as of 13:44, 18 May 2018
The SPI controller is provided by the Atmel CPU. We provide sample code to set up the SPI port and initiate a write to an SPI flash device. This is used to demonstrate a simple read and write, as well as a more complex overall process. A TS-4200 compatible binary is available here with the sources available here.
Documentation for the CPU SPI peripheral can be found in the CPU manual in section 30 (page 391).