395
Chapter 13
Serial Interface Function
Preliminary User’s Manual U15839EE1V0UM00
13.3.3 Control
registers
(1)
Clocked serial interface mode registers (CSIM0 to CSIM2)
The CSIMn register controls the CSI0n operation (n = 0 to 2).
These registers can be read/written in 8-bit or 1-bit units (however, bit 0 is read-only).
Figure 13-22:
Clocked Serial Interface Mode Registers (CSIM0 to CSIM2)
Remark:
n = 0 to 2
Caution:
Overwriting the TRMD, CCL, DIR, CSIT, and AUTO bits of the CSIMn register can be
done only when the CSOT bit = 0. If these bits are overwritten at any other time, the
operation cannot be guaranteed.
7
6
5
4
3
2
1
0
Address
Initial
value
CSIM0
CSIE
TRMD
CCL
DIR
CSIT
AUTO
0
CSOT
FFFF FD00H
00H
CSIM1
CSIE
TRMD
CCL
DIR
CSIT
AUTO
0
CSOT
FFFF FD40H
00H
CSIM2
CSIE
TRMD
CCL
DIR
CSIT
AUTO
0
CSOT
FFFF FD80H
00H
Bit Position
Bit Name
Function
7
CSIE
Enables/disables CSI0n operation.
0: Disable CSI0n operation.
1: Enable CSI0n operation.
The internal CSI0n circuit can be reset asynchronously by setting the CSIE bit to 0. For
the
SCK0n
and SO0n pin output status when the CSIE bit = 0, refer to 13.3.5 “Output
6
TRMD
Specifies transmission/reception mode.
0: Receive-only mode
1: Transmission/reception mode
When the TRMD bit = 0, receive-only transfer is performed and the SO0n pin output is
fixed to low level. Data reception is started by reading the SIRBn register.
When the TRMD bit = 1, transmission/reception is started by writing data to the SOTBn
register.
5
CCL
Specifies data length.
0: 8 bits
1: 16 bits
4
DIR
Specifies transfer direction mode (MSB/LSB).
0: First bit of transfer data is MSB
1: First bit of transfer data is LSB
3
CSIT
Controls delay of interrupt request signal.
0: No delay
1: Delay mode (interrupt request signal is delayed 1/2 cycle).
Caution:
The delay mode (CSIT bit = 1) is effective only in the master mode
(CKS2 to CKS0 bits of the CSICn register are not 111B). In the slave
mode (CKS2 to CKS0 bits are 111B), do not set the delay mode.
2
AUTO
Specifies
single
transfer mode or repeat transfer mode.
0:
single
transfer mode
1: Repeat transfer mode
0
CSOT
Flag indicating transfer status.
0: Idle status
1: Transfer execution status
Caution:
The CSOT bit is cleared (0) by writing 0 to the CSIE bit.
Summary of Contents for mPD703128
Page 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Page 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Page 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Page 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Page 612: ......