Specifications

Table Of Contents
I-76 EPSON S1C62740 TECHNICAL HARDWARE
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface)
Sets the pull up of SIN terminal and SCLK terminal (in the slave
mode).
When "1" is written: Pull up ON
When "0" is written: Pull up OFF
Reading: Valid
Sets the pull up resistor built into the SIN (P20) and SCLK (P22)
ports to ON or OFF. SCLK pull up is effective during the slave
mode.
At initial reset, this register is set to "0" and pull up goes OFF.
PUP2:
Pull up control register
(D7HD2)
SCS0, SCS1:
Synchronous clock selection
(DBHD0, D1)
Selects the synchronous clock for the serial interface (SCLK).
Table 4.11.3
Synchronous clock selection
SCS1 SCS0 Mode Synchronous clock
1 1 CLK
1 0 Master mode CLK/2
0 1 PTOVF
0 0 Slave mode External clock
CLK : CPU system clock
PTOVF: Programmable timer output clock (See Section 4.10.)
Synchronous clock (SCLK) is selected from among the above 4
types: 3 types of internal clock and external clock.
When using the serial interface in the master mode, CPU system
clock is used as the synchronous clock. Accordingly, when the
serial interface is operating, system clock switching (f
OSC1 fOSC3)
should not be performed.
Also, when PTOVF is used, it is necessary to generate a clock on
the programmable timer side prior to sending and receiving.
At initial reset, external clock is selected.
SDP:
Data input/output permutation
selection
(DBHD2)
Selects the serial data input/output permutation.
When "1" is written: LSB first
When "0" is written: MSB first
Reading: Valid
Select whether the data input/output permutation will be MSB
first or LSB first.
At initial reset, this register is set to "0".