NEC 78014Y Series User Manual page 415

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Serial operating mode register 1 (CSIM1)
This register sets serial interface channel 1 serial clock, operating mode, operation enable/stop and automatic
transmit/receive operation enable/stop.
CSIM1 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets CSIM1 to 00H.
Symbol
CSIM1 CSIE1
CSIM11 CSIM10 Serial Interface Channel 1 Clock Selection
www.DataSheet4U.com
CSIE CSIM PM20 P20 PM21 P21 PM22 P22
Notes
Remark ×
CHAPTER 17 SERIAL INTERFACE CHANNEL 1
Figure 17-3. Serial Operating Mode Register 1 Format
<7>
6
<5>
4
DIR
ATE
0
0
x
Clock externally input to SCK1 pin
1
0
8-bit timer register 2 (TM2) output
1
1
Clock specified with bits 4 to 7 of timer clock select register 3 (TCL3)
ATE
Serial Interface Channel 1 Operating Mode Selection
0
3-wire serial I/O mode
1
3-wire serial I/O mode with automatic transmit/receive function
DIR
Start Bit
0
MSB
1
LSB
1
11
Note 2 Note 2 Note 2 Note 2 Note 2 Note 2
×
×
×
×
×
×
0
1
0
1
Note 3 Note 3
×
1
0
0
1
0
1. If the external clock input has been selected with CSIM11 set to 0, set bit 1 (BUSY1) and bit 2 (STRB)
of the automatic data transmit/receive control register (ADTC) to 0 and 0, respectively.
2. Can be used freely as port function.
3. Can be used as P20 (CMOS input/output) when only transmitter is used (Set bit 7 (RE) of ADTC to 0).
: don't care
PMxx : Port mode register
Pxx
: Output latch of port
3
2
1
0
0
0
CSIM11 CSIM10
Note 1
Shift Register
Serial Clock Counter
1 Operation
Operation
Control
Operation stop
Clear
×
×
Operation
Count
enable
operation
1
Address
When Reset
R/W
FF68H
00H
R/W
SI1 Pin Function
SO1 Pin Function
SI1/P20 (Input)
SO1 (CMOS output)
SI1/P20
SO1/P21
Pin Function
Pin Function
P20
P21
(CMOS
(CMOS
input/output)
input/output)
SI1
Note 3
SO1
(Input)
(CMOS output) (Input)
SCK1/P22
Pin Function
P22
(CMOS
input/output)
SCK1
SCK1
(CMOS output)
415

Advertisement

Table of Contents
loading

Table of Contents