English
Language : 

SAM4L Datasheet, PDF (1151/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
ATSAM4L4/L2
The maximum SPI master output frequency is given by the following formula:
fSPCKMAX = MIN(fPINMAX,S----P-1---I--n--)
Where SPIn is the MOSI delay, SPI2 or SPI5 depending on CPOL and NCPHA. fPINMAX is the
maximum frequency of the SPI pins. refer to the I/O Pin Characteristics section for the maximum
frequency of the pins.
42.9.3.2
Maximum SPI Frequency, Master Input
The maximum SPI master input frequency is given by the following formula:
fSPCKMAX
=
-----------------1------------------
SPIn + tVALID
Where SPIn is the MISO setup and hold time, SPI0 + SPI1 or SPI3 + SPI4 depending on
CPOL and NCPHA. tVALID is the SPI slave response time. refer to the SPI slave datasheet for
tVALID .
Slave mode
Figure 42-14. SPI Slave Mode with (CPOL= 0 and NCPHA= 1) or (CPOL= 1 and NCPHA= 0)
SPCK
MISO
SPI6
MOSI
SPI7
SPI8
Figure 42-15. SPI Slave Mode with (CPOL= NCPHA= 0) or (CPOL= NCPHA= 1)
SPCK
MISO
SPI9
MOSI
SPI10
SPI11
42023C–SAM–02/2013
1151