142
MC95FG308 / MC95FG208
ABOV Semiconductor Co., Ltd.
11.8 SPI
11.8.1 Overview
There is Serial Peripheral Interface (SPI) one channel in MC95FG308. The SPI allows synchronous serial data
transfer between the external serial devices. It can do Full-duplex communication by 4-wire (MOSI, MISO, SCK, SS),
support Master/Slave mode, can select serial clock (SCK) polarity, phase and whether LSB first data transfer or MSB
first data transfer.
11.8.2 Block Diagram
Figure 11.48
SPI Block Diagram
÷
64
÷
32
P
r
e
s
c
a
l
e
r
MUX
÷
2
÷
4
÷8
÷
16
f
SCLK
PxDA[x]
SPICR[2:0]
3
MUX
Edge
Detector
SPI Control
Circuit
WCOL
TCIR
SCK
SCK
Control
MS
MS
MISO
MUX
MS
MOSI
8bit Shift
Register
SPIDR
(8-bit)
DEP
SS
SS
Control
MS
PxIO[x]
SPIEN
FLSB
SPI
Interrupt
CPOL CPHA
Internal Bus Line
8
SPIEN FLSB
MS
CPOL
CPHA DSCR
SCR1
SCR0
SPICR
ADDRESS : D2
H
INITIAL VALUE : 0000_0000
B
TCIR
WCOL SS_HIGH
-
TWOPIN
SSENA TXENA RXENA
SPISR
ADDRESS : D4
H
INITIAL VALUE : 00--_-000
B
÷
128
FLSB
INT_ACK
Clear
MUX
MUX
TWOPIN
(MISO)
(MOSI)
0
1
0
1
0
1
0
1
Содержание MC95FG208 Series
Страница 14: ...14 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd 4 Package Diagram Figure 4 1 32 Pin SOP Package...
Страница 15: ...15 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 2 32 Pin QFN Package...
Страница 16: ...16 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 3 32 Pin LQFP Package...
Страница 17: ...17 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 4 28 Pin SOP Package...
Страница 18: ...18 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 5 28 Pin SOP Package continue...
Страница 19: ...19 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 6 28 Pin SOP Package...
Страница 20: ...20 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 7 28 Pin TSSOP Package...
Страница 21: ...21 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 8 20 Pin SOP Package...
Страница 22: ...22 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 9 20 Pin TSSOP Package...
Страница 23: ...23 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 10 16 Pin SOP Package...
Страница 24: ...24 MC95FG308 MC95FG208 ABOV Semiconductor Co Ltd Figure 4 11 16 Pin TSSOP Package...