797
Stepper Motor Controller/Driver (Stepper-C/D)
Chapter 21
Preliminary User’s Manual U17566EE1V2UM00
Figure 21-2
Stepper Motor Controller/Driver 1 block diagram
The external signals are listed in the following table.
21.2 Stepper Motor Controller/Driver Registers
The Stepper Motor Controller/Driver is controlled and operated by means of
the following registers:
SM51 (sin5+)
8-bit compare register MCPMn50
OVF
Output
Control
S
Q
R
S
Q
R
S
Q
R
S
Q
R
SPCLK1
SPCLK1/2
SPCLK1/4
SPCLK1/8
SPCLK1/16
SPCLK1/32
SPCLK1/64
SPCLK1/128
Se
le
c
to
r
P
rescaler
f
MC1
1-bit add.
circuit
8-bit compare register MCPMn51
8-bit compare register MCPMn60
8-bit compare register MCPMn61
1-bit add.
circuit
1-bit add.
circuit
1-bit add.
circuit
8-bit free-running counter CNT1
Output
Control
Output
Control
Output
Control
SM52 (sin5-)
SM53 (cos5+)
SM54 (cos5-)
SM61 (sin6+)
SM62 (sin6-)
SM63 (cos6+)
SM64 (cos6-)
SPCLK1
(8MHz)
Table 21-1
Stepper Motor Controller/Driver external connections
Signal
name
I/O
Active
level
Reset
level
Pins
Function
SM[1:6]1
O
–
L
SM11 to SM61
driver signal,
sine side (+)
SM[1:6]2
O
–
L
SM12 to SM62
driver signal,
sine side (–)
SM[1:6]3
O
–
L
SM13 to SM63
driver signal,
cosine side (+)
SM[1:6]4
O
–
L
SM14 to SM64
driver signal,
cosine side (–)
Table 21-2
Stepper Motor Controller/Driver registers overview (1/2)
Register name
Shortcut
Address
Timer mode control registers
MCNTCn0
<base>
MCNTCn1
<base> + 14
H
electronic components distributor