Datasheet

78K0/Ix2 CHAPTER 16 SERIAL INTERFACE CSI11
R01UH0010EJ0500 Rev.5.00 557
Feb 28, 2012
The relationship between the register settings and pins is shown below.
Table 16-2. Relationship Between Register Settings and Pins
Pin Function CSIE11 TRMD11 SSE11 PM36 P36 PM37 P37 PM35 P35 PM02 P02
CSI11
Operation
SI11/P36
SO11/
P37
SCK11/
P35
SSI11/
P02/
INTP5
0 0
Note 1
Note 1
Note 1
Note 1
Note 1
Note 1
Note 2
Note 2
Stop P36 P37
P35
Note
4
P02/
INTP5
0
Note 2
Note 2
P02/
INTP5
1 0
1
1
Note 1
Note 1
1
1 ×
Slave
reception
Note
3
SI11 P37
SCK11
(input)
Note 3
SSI11
0
Note 2
Note 2
P02/
INTP5
1 1
1
Note 1
Note 1
0 0 1
1 ×
Slave
transmission
Note 3
P36 SO11
SCK11
(input)
Note 3
SSI11
0
Note 2
Note 2
P02/
INTP5
1 1
1
1
0 0 1
1 ×
Slave
transmission/
reception
Note
3
SI11 SO11
SCK11
(input)
Note 3
SSI11
1 0 0 1
Note 1
Note 1
0 1
Note 2
Note 2
Master
reception
SI11 P37
SCK11
(output)
P02/
INTP5
1 1 0
Note 1
Note 1
0 0 0 1
Note 2
Note 2
Master
transmission
P36 SO11
SCK11
(output)
P02/
INTP5
1 1 0 1
0 0 0 1
Note 2
Note 2
Master
transmission/
reception
SI11 SO11
SCK11
(output)
P02/
INTP5
Notes 1. Can be set as port function.
2. Can be set as port function or external interrupt function.
3. To use the slave mode, set CKS112, CKS111, and CKS110 to 1, 1, 1.
4. To use P35/SCK11 as port pin, clear CKP11 to 0.
Remark : don’t care
CSIE11: Bit 7 of serial operation mode register 11 (CSIM11)
TRMD11: Bit 6 of CSIM11
SSE11: Bit 5 of CSIM11
CKP11: Bit 4 of serial clock selection register 11 (CSIC11)
CKS112, CKS111, CKS110: Bits 2 to 0 of CSIC11
PM0, PM3: Port mode registers 0 and 3
P0, P3: Output latch of ports 0 and 3