124
EPSON
S1C63656 TECHNICAL MANUAL
CHAPTER 4: PERIPHERAL CIRCUITS AND OPERATION (Stepping Motor Driver)
4.15.5 I/O memory of stepping motor driver
Table 4.15.5.1 shows the I/O addresses and the control bits for the stepping motor driver.
Table 4.15.5.1 Control bits of stepping motor driver
Address
Comment
D3
D2
Register
D1
D0
Name
Init
∗
1
1
0
FFE8H
0
0
EISMD2 EISMD1
R
R/W
0
∗
3
0
∗
3
EISMD2
EISMD1
–
∗
2
–
∗
2
0
0
Enable
Enable
Mask
Mask
Unused
Unused
Interrupt mask register (Motor driver Ch. 2)
Interrupt mask register (Motor driver Ch. 1)
FFF8H
0
0
ISMD2
ISMD1
R
R/W
0
∗
3
0
∗
3
ISMD2
ISMD1
–
∗
2
–
∗
2
0
0
(R)
Yes
(W)
Reset
(R)
No
(W)
Invalid
Unused
Unused
Interrupt factor flag (Motor driver Ch. 2)
Interrupt factor flag (Motor driver Ch. 1)
FF15H
0
0
0
PFTYP
R
R/W
0
∗
3
0
∗
3
0
∗
3
PFTYP
–
∗
2
–
∗
2
–
∗
2
0
Short
Long
Unused
Unused
Unused
Pulse width base clock selection
FF11H
0
0
0
PFWA4
R
R/W
0
∗
3
0
∗
3
0
∗
3
PFWA4
–
∗
2
–
∗
2
–
∗
2
0
Unused
Unused
Unused
Motor driver
Ch. 1
pulse width
selection
FF10H
0
0
FTRG2
FRUN2
FTRG1
FRUN1
W
R
W
R
R
0
∗
3
0
∗
3
FTRG2
FRUN2
FTRG1
FRUN1
–
∗
2
–
∗
2
–
∗
2
0
–
∗
2
0
Trigger
Run
Trigger
Run
Invalid
Stop
Invalid
Stop
Unused
Unused
Motor driver Ch. 2 trigger (writing)
Motor driver Ch. 2 status (reading)
Motor driver Ch. 1 trigger (writing)
Motor driver Ch. 1 status (reading)
FF12H
PFWA3 PFWA2 PFWA1 PFWA0
R/W
PFWA3
PFWA2
PFWA1
PFWA0
0
0
0
0
FF13H
0
0
0
PFWB4
R
R/W
0
∗
3
0
∗
3
0
∗
3
PFWB4
–
∗
2
–
∗
2
–
∗
2
0
Unused
Unused
Unused
Motor driver
Ch. 2
pulse width
selection
FF14H
PFWB3 PFWB2 PFWB1 PFWB0
R/W
PFWB3
PFWB2
PFWB1
PFWB0
0
0
0
0
Pulse width
(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
[PFWA4–0]
[PFWB4–0]
00H
01H
02H
03H
04H
05H
06H
07H
08H
09H
0AH
0BH
0CH
0DH
0EH
0FH
10H
11H
12H
13H
14H
15H
16H
17H
18H–1FH
*1 Initial value at initial reset
*2 Not set in the circuit
*3 Constantly "0" when being read
Содержание S1C63656
Страница 1: ...Technical Manual CMOS 4 BIT SINGLE CHIP MICROCOMPUTER S1C63656 Technical Hardware S1C63656 ...
Страница 4: ......
Страница 6: ......