Atmel ATmega328P Xplained Mini MEGA328P-XMINI MEGA328P-XMINI Data Sheet
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Product codes
MEGA328P-XMINI
311
ATmega48A/PA/88A/PA/168A/PA/328/P [DATASHEET]
Atmel-8271H-AVR- ATmega-Datasheet_08/2014
29.6
SPI Timing Characteristics
See
for details.
Note:
1.
In SPI Programming mode the minimum SCK high/low period is:
- 2 t
- 2 t
CLCL
for f
CK
< 12MHz
- 3 t
CLCL
for f
CK
> 12MHz
Figure 29-3.
SPI Interface Timing Requirements (Master Mode)
Table 29-18.
SPI Timing Parameters
Description
Mode
Min.
Typ
Max
1
SCK period
Master
See
ns
2
SCK high/low
Master
50% duty cycle
3
Rise/Fall time
Master
3.6
4
Setup
Master
10
5
Hold
Master
10
6
Out to SCK
Master
0.5 • t
sck
7
SCK to out
Master
10
8
SCK to out high
Master
10
9
SS low to out
Slave
15
10
SCK period
Slave
4 • t
ck
11
SCK high/low
Slave
2 • t
ck
12
Rise/Fall time
Slave
1600
13
Setup
Slave
10
14
Hold
Slave
t
ck
15
SCK to out
Slave
15
16
SCK to SS high
Slave
20
17
SS high to tri-state
Slave
10
18
SS low to SCK
Slave
20
MOSI
(Data Output)
SCK
(CPOL = 1)
MISO
(Data Input)
SCK
(CPOL = 0)
SS
MSB
LSB
LSB
MSB
...
...
6
1
2
2
3
4
5
8
7