English
Language : 

SAM4CM_14 Datasheet, PDF (1094/1177 Pages) ATMEL Corporation – Atmel | SMART ARM-based Flash MCU
46.4.3.1 Maximum SPI Frequency
The formulas that follow give maximum SPI frequency in Master write and read modes and in Slave read and write
modes.
Master Write Mode
The SPI is only sending data to a slave device such as an LCD, for example. The limit is given by SPI2 (or SPI5)
timing. Since it gives a maximum frequency above the maximum pad speed (see Section 46.4.2 “I/O AC
Characteristics”), the max SPI frequency is the one from the pad.
Master Read Mode
fSPCKMax = -S---P----I--0---(--o----r--S----P-1---I--3---)---+-----t--v---a--l--i--d-
tvalid is the slave time response to output data after detecting an SPCK edge. For Atmel SPI DataFlash
(AT45DB642D), tvalid (or Tv) is 12 ns Max.
In the formula above, FSPCKMax = 40 MHz @ VDDIO = 3.3V.
Slave Read Mode
In slave mode, SPCK is the input clock for the SPI. The max SPCK frequency is given by setup and hold timings
SPI7/SPI8(or SPI10/SPI11). Since this gives a frequency well above the pad limit, the limit in slave read mode is
given by SPCK pad.
Slave Write Mode
fSPCKMax = -2---x---(--S----P----I--6---m----a---x--(---o---r---S--1-P----I--9---m----a---x--)----+-----t-s---e--t--u---p---)
tsetup is the setup time from the master before sampling data.
1094
SAM4CM Series [DATASHEET]
Atmel-11203C-ATARM-SAM4CM32-SAM4CM16-SAM4CM8-Datasheet_06-Oct-14