S1C63558 TECHNICAL MANUAL
EPSON
93
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Serial Interface)
Table 4.11.9.1(b) Serial interface control bits
Address
Comment
D3
D2
Register
D1
D0
Name
Init
∗
1
1
0
0
Clk-sync. master
2
Async. 7-bit
1
Clk-sync. slave
3
Async. 8-bit
[SMD1, 0]
Mode
[SMD1, 0]
Mode
FF70H
0
SMD1
SMD0
ESIF
R
R/W
0
∗
3
SMD1
SMD0
ESIF
–
∗
2
0
0
0
SIF
I/O
Unused
Serial I/F (1)
mode selection
Serial I/F (1) enable (P1x port function selection)
0
1200bps
1
600bps
2
2400bps
3
PT
[SCS1, 0]
Mode
FF71H
EPR
PMD
SCS1
SCS0
R/W
EPR
PMD
SCS1
SCS0
0
0
0
0
Enable
Odd
Disable
Even
Serial I/F (1) parity enable register
Serial I/F (1) parity mode selection
SIF (1) clock
source selection
R/W
FF72H
RXTRG
RXEN
TXTRG
TXEN
RXTRG
RXEN
TXTRG
TXEN
0
0
0
0
Run
Trigger
Enable
Run
Trigger
Enable
Stop
–
Disable
Stop
–
Disable
Serial I/F (1) receive status (reading)
Serial I/F (1) receive trigger (writing)
Serial I/F (1) receive enable
Serial I/F (1) transmit status (reading)
Serial I/F (1) transmit trigger (writing)
Serial I/F (1) transmit enable
R
R/W
FF73H
0
FER
PER
OER
0
∗
3
FER
PER
OER
–
∗
2
0
0
0
Error
Reset
Error
Reset
Error
Reset
No error
–
No error
–
No error
–
Unused
Serial I/F (1) framing error flag status (reading)
Serial I/F (1) framing error flag reset (writing)
Serial I/F (1) parity error flag status (reading)
Serial I/F (1) parity error flag reset (writing)
Serial I/F (1) overrun error flag status (reading)
Serial I/F (1) overrun error flag reset (writing)
R/W
FF74H
TRXD3 TRXD2 TRXD1 TRXD0
TRXD3
TRXD2
TRXD1
TRXD0
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
Serial I/F (1) t
ransmit/receive data
(low-order 4 bits)
LSB
R/W
FF75H
TRXD7 TRXD6 TRXD5 TRXD4
TRXD7
TRXD6
TRXD5
TRXD4
–
∗
2
–
∗
2
–
∗
2
–
∗
2
High
High
High
High
Low
Low
Low
Low
MSB
Serial I/F (1) t
ransmit/receive data
(high-order 4 bits)
FFE3H
0
EISER
EISTR
EISRC
R
R/W
0
∗
3
EISER
EISTR
EISRC
–
∗
2
0
0
0
Enable
Enable
Enable
Mask
Mask
Mask
Unused
Interrupt mask register (Serial I/F (1) error)
Interrupt mask register (Serial I/F (1) transmit completion)
Interrupt mask register (Serial I/F (1) receive completion)
FFE8H
0
EISERS EISTRS EISRCS
R
R/W
0
∗
3
EISERS
EISTRS
EISRCS
–
∗
2
0
0
0
Enable
Enable
Enable
Mask
Mask
Mask
Unused
Interrupt mask register (Serial I/F (2) error)
Interrupt mask register (Serial I/F (2) transmit completion)
Interrupt mask register (Serial I/F (2) receive completion)
FFF8H
0
ISERS
ISTRS
ISRCS
R
R/W
0
∗
3
ISERS
ISTRS
ISRCS
–
∗
2
0
0
0
(R)
Yes
(W)
Reset
(R)
No
(W)
Invalid
Unused
Interrupt factor flag (Serial I/F (2) error)
Interrupt factor flag (Serial I/F (2) transmit completion)
Interrupt factor flag (Serial I/F (2) receive completion)
FFF3H
0
ISER
ISTR
ISRC
R
R/W
0
∗
3
ISER
ISTR
ISRC
–
∗
2
0
0
0
(R)
Yes
(W)
Reset
(R)
No
(W)
Invalid
Unused
Interrupt factor flag (Serial I/F (1) error)
Interrupt factor flag (Serial I/F (1) transmit completion)
Interrupt factor flag (Serial I/F (1) receive completion)
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read
ESIF: Serial interface (1) enable register (P1 port function selection) (FF70H•D0)
ESIFS: Serial interface (2) enable register (P3 port function selection) (FF58H•D0)
Sets P10–P13 to the input/output port for the serial interface.
When "1" is written: Serial interface
When "0" is written: I/O port
Reading: Valid