English
Language : 

GMS81C2112 Datasheet, PDF (65/107 Pages) Hynix Semiconductor – HYNIX SEMICONDUCTOR 8-BIT SINGLE-CHIP MICROCONTROLLERS
GMS81C2112/GMS81C2120
14. SERIAL PERIPHERAL INTERFACE
The Serial Peripheral Interface (SPI) module is a serial in-
terface useful for communicating with other peripheral of
microcontroller devices. These peripheral devices may be
serial EEPROMs, shift registers, display drivers, A/D con-
verters, etc. The Serial Peripheral Interface(SPI) is 8-bit
clock synchronous type and consists of serial I/O register,
serial I/O mode register, clock selection circuit octal
counter and control circuit. The SOUT pin is designed to
input and output. So Serial Peripheral Interface(SPI) can
be operated with minimum two pin
XIN PIN
Timer0
Overflow
SCLK PIN
SIOST
SIOSF
SCK[1:0]
÷4
00
÷ 16 01
10
11
“11” MUX
not “11”
SCK[1:0]
POL
“0”
“1”
IOSW
Start
Complete
SPI
Clock CONTROL
CIRCUIT
Clock
overflow
Octal
Counter
SIOIF
Serial communication
Interrupt
SOUT PIN
IOSWIN
SIN PIN
SOUT
IOSWIN
1
0
Input shift register
Shift
SIOR
Internal Bus
Figure 14-1 SPI Block Diagram
JUNE. 2001 Ver 1.00
59