English
Language : 

SAM4L Datasheet, PDF (1146/1185 Pages) ATMEL Corporation – ATSAM ARM-based Flash MCU
ATSAM4L4/L2
Maximum SPI Frequency, Master Output
The maximum SPI master output frequency is given by the following formula:
fSPCKMAX = MIN(fPINMAX,S----P-1---I--n--, -f-C----L---K----S-9-P----I---×-----2-)
Where SPIn is the MOSI delay, USPI2 or USPI5 depending on CPOL and NCPHA. fPINMAX is
the maximum frequency of the SPI pins. refer to the I/O Pin Characteristics section for the maxi-
mum frequency of the pins. fCLKSPI is the maximum frequency of the CLK_SPI. Refer to the SPI
chapter for a description of this clock.
42.9.2.2
Maximum SPI Frequency, Master Input
The maximum SPI master input frequency is given by the following formula:
fSPCKMAX
=
M I N (-----------------1------------------,f--C----L---K----S--P----I---×-----2- )
SPIn + tVALID
9
Where SPIn is the MISO setup and hold time, USPI0 + USPI1 or USPI3 + USPI4 depending on
CPOL and NCPHA. TVALID is the SPI slave response time. refer to the SPI slave datasheet for
TVALID . fCLKSPI is the maximum frequency of the CLK_SPI. Refer to the SPI chapter for a
description of this clock.
Slave mode
Figure 42-9. USART in SPI Slave Mode with (CPOL= 0 and CPHA= 1) or (CPOL= 1 and
CPHA= 0)
SPCK
MISO
USPI6
MOSI
USPI7
USPI8
42023C–SAM–02/2013
1146