806
Chapter 21
Stepper Motor Controller/Driver (Stepper-C/D)
Preliminary User’s Manual U17566EE1V2UM00
21.4 Timing
This section starts with the timing of the timer counter and general output
timing behaviour. Then, examples of output signal generation with and without
1-bit addition are presented.
21.4.1
Timer counter
The free running up counter is clocked by the timer count clock selected in
register MCNTCnm.
The counting operation is enabled or disabled by the MCNTCnm.PCE bit.
Figure 21-5
Restart Timing after Count Stop (Count Start—Count Stop—Count Start)
Sequence
• Count Start:
– Enable counting operation (MCNTCnm.PCE = 1)
– Timer counter starts with value 00
H
. Depending on bit MCNTCnm.FULL,
all following counter cycles start with 00
H
or 01
H
, respectively.
• Count Stop:
– Disable counting operation (MCNTCnm.PCE = 0)
– Counting is stopped and timer counter is set to 00
H
.
CLK
CNTm
PCE
0H
1H
2H
1H
2H
3H
4H
7H
8H
00H
Count Start
Count Stop
Count Start
electronic components distributor