122
EPSON
S1C63656 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Stepping Motor Driver)
4.15.2 Setting up the motor-drive pulse
This motor driver supports stepping motors for watches and clocks.
A different motor-drive pulse is required between watches and clocks since motor-drive pulses for watch
motors cannot drive clock motors. Therefore, this motor driver provides two types of base pulse widths
that can be selected with software.
Use the pulse width base clock select register PFTYP (FF15H•D0) for this selection.
When PFTYP is set to "0", long pulse width for clocks is selected and the motor-drive pulse will be
generated from a 512-Hz source clock.
When PFTYP is set to "1", short pulse width for watches is selected and the motor-drive pulse will be
generated from a 4-kHz source clock.
In addition to this setting, the pulse width select register is provided for each channel (Ch. 1: PFWA0–
PFWA4, Ch. 2: PFWB0–PFWB4) to make fine adjustment of the pulse width according to the characteris-
tics of the stepping motor to be used.
This register allows selection of 16 pulse widths from 11.72 msec to 56.64 msec in 1.953 msec increments
for a clock pulse, or from 1.46 msec to 7.08 msec in 0.244 msec increments for a watch pulse.
Source clock
PFTYP = "1": 4 kHz
PFTYP = "0": 512 Hz
PFWA/PFWB = 00H (min.)
PFWA/PFWB = 08H, 18H–1FH
PFWA/PFWB = 17H (max.)
1.46 msec (PFTYP = "1")
11.72 msec (PFTYP = "0")
3.42 msec (PFTYP = "1")
27.34 msec (PFTYP = "0")
7.08 msec (PFTYP = "1")
56.64 msec (PFTYP = "0")
Fig. 4.15.2.1 Motor-drive pulse
Table 4.15.2.1 Setting up the motor-drive pulse
PFWA4
PFWB4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
PFWA3
PFWB3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
PFWA2
PFWB2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
X
PFWA1
PFWB1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
X
PFWA0
PFWB0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
X
PFTYP = "1"
1.46 msec
1.71 msec
1.95 msec
2.20 msec
2.44 msec
2.69 msec
2.93 msec
3.17 msec
3.42 msec
3.66 msec
3.91 msec
4.15 msec
4.40 msec
4.64 msec
4.88 msec
5.13 msec
5.37 msec
5.62 msec
5.86 msec
6.10 msec
6.35 msec
6.59 msec
6.84 msec
7.08 msec
3.42 msec
PFTYP = "0"
11.72 msec
13.67 msec
15.63 msec
17.58 msec
19.53 msec
21.48 msec
23.44 msec
25.39 msec
27.34 msec
29.30 msec
31.25 msec
33.20 msec
35.16 msec
37.11 msec
39.06 msec
41.02 msec
42.97 msec
44.92 msec
46.88 msec
48.83 msec
50.78 msec
52.73 msec
54.69 msec
56.64 msec
27.34 msec
Pulse width
Note: Make sure that the motor driver idles when selecting the source clock for generating the pulse
width using PFTYP or the pulse width using PFWA0–PFWA4 or PFWB0–PFWB4.
Содержание S1C63656
Страница 1: ...Technical Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63656 Technical Hardware S1C63656 ...
Страница 4: ......
Страница 6: ......