TS-4200 SPI: Difference between revisions
From embeddedTS Manuals
m (FTP links auto-updated (https://cdn.embeddedarm.com/resource-attachments/third-party/atmel_at91sam9g20_manual_may2010.pdf → https://files.embeddedarm.com/archive/Manuals/third-party/atmel_at91sam9g20_manual_may2010.pdf)) |
m (Links auto-updated for 2022 re-branding ( https://files.embeddedarm.com/archive/Manuals/third-party/atmel_at91sam9g20_manual_may2010.pdf → https://files.embeddedTS.com/archive/Manuals/third-party/atmel_at91sam9g20_manual_may2010.pdf https://files.embeddedarm.com/ts-socket-macrocontrollers/ts-4200-linux/binaries/spi1-sample → https://files.embeddedTS.com/ts-socket-macrocontrollers/ts-4200-linux/binaries/spi1-sample https://files.embeddedarm.com/ts-socket-macrocontrollers/ts-4200-linux/...) |
||
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 [https://files. | 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.embeddedTS.com/ts-socket-macrocontrollers/ts-4200-linux/binaries/spi1-sample available here] with the sources [https://files.embeddedTS.com/ts-socket-macrocontrollers/ts-4200-linux/samples/spi1-sample.c available here]. | ||
Documentation for the CPU SPI peripheral can be found in the [https://files. | Documentation for the CPU SPI peripheral can be found in the [https://files.embeddedTS.com/archive/Manuals/third-party/atmel_at91sam9g20_manual_may2010.pdf CPU manual] in section 30 (page 391). |
Latest revision as of 16:46, 17 January 2022
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).