TS-4200 SPI: Difference between revisions
From embeddedTS Manuals
(Updated) |
m (FTP links auto-updated (ftp://ftp.embeddedarm.com/ → https://files.embeddedarm.com/)) |
||
Line 1: | Line 1: | ||
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 [ | 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 [https://files.embeddedarm.com/ts-socket-macrocontrollers/ts-4200-linux/binaries/spi1-sample available here] with the sources [https://files.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). | 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 09:37, 12 January 2021
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).