Download - Samsung

Transcript
S3F84I9_UM_REV3.00
14 Serial I/O interface
14.1.3 SIO Prescaler Register (SIOPS)
The control register for serial I/O interface module, SIOPS is located in Set 1, Bank 1 at F0H.
The value stored in the SIO prescaler registers, SIOPS, lets you determine the SIO clock rate (baud rate)
as follows:
Baud rate = Input clock(Fxx/4)/(SIOP+ 1), or external SCK input clock
SIO Pre-Scaler Registers (SIOPS)
F0H, SET1, Bank 1, R/W
MSB
.7
.6
.5
.4
.3
.2
.1
.0
LSB
Baud Rate = (Fxx/4)/(SIOPS+1)
Figure 14-2
SIO Pre-Scaler Register (SIOPS)
3-Bit Counter Clear
SIO INT
SIOCON.0
CLK
Pending
SIOCON.1
(Interrupt Enable)
SIOCON.3
SIOCON.7
(Shift Clock
Source Select)
SIOCON.4
(Edge Select)
SIOCON.2
(Shift Enable)
SIOCON.5
(Mode Select)
SCK
SIOPS(F4H)
MUX
Fxx / 2
8-Bit
Prescaler
CLK
1/2
8-Bit SIO Shift Buffer
(SIODATA)
Toggle
Prescaler Value =
1/(SIOPS + 1)
8
SI
Data Bus
Figure 14-3
SIO Functional Block Diagram
14-3
SO
SIOCON.6
(LSB/MSB
First
Mode Select)