341
Chapter 12
Serial Interface Function
Preliminary User’s Manual U14913EE1V0UM00
12.3.3 Control
registers
(1)
Clocked serial interface mode registers 0, 1 (CSIM0, CSIM1)
The CSIMn register controls the CSIn operation (n = 0, 1).
These registers can be read/written in 8-bit or 1-bit units (however, bit 0 is read-only).
Figure 12-22: Clocked Serial Interface Mode Registers 0, 1 (CSIM0, CSIM1)
Remark:
n = 0, 1
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
FFFFF900H
00H
7
6
5
4
3
2
1
0
Address
Initial
value
CSIM1
CSIE
TRMD
CCL
DIR
CSIT
AUTO
0
CSOT
FFFFF910H
00H
Bit Position
Bit Name
Function
7
CSIE
Enables/disables CSIn operation.
0: Enable CSIn operation.
1: Disable CSIn operation.
The internal CSIn circuit can be reset asynchronously by setting the CSIE bit to 0. For
the SCKn and SOn pin output status when the CSIE bit = 0, refer to
12.3.5 Output
pins
.
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 SOn 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 CSK0 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 V850E/CA1 ATOMIC
Page 6: ...6 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 52: ...52 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 144: ...144 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 162: ...162 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 224: ...224 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 308: ...308 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 512: ...512 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 564: ...564 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 566: ...566 Preliminary User s Manual U14913EE1V0UM00 MEMO ...
Page 584: ...584 Preliminary User s Manual U14913EE1V0UM00 MEMO ...