Explanation Of Operation Of Stepping Motor Controller; Fig. 15.2 Setting Stepping Motor Controller - Fujitsu MB90420/5 (A) Series Hardware Manual

F2mc-16lx family 16-bit microcontrollers
Table of Contents

Advertisement

MB90420/5 (A) SERIES F

15.3 Explanation of Operation of Stepping Motor Controller

This section explains the operation of the stepping motor controller.
n Setting of operation of stepping motor controller
Operating the stepping motor controller requires the setting shown in Figure 15.2.
bit 15 bit 14 bit 13 bit 12 bit 11 bit 10 bit 9 bit 8
PWCn
PWC1n
×
×
PWC2n
×
×
PWS1n
PWS2n
BS
×
• Operation of PWM wave-generating circuit
When the counter is started (PWCn: CE = 1), it starts incrementing from 00
selected count clock. The PWM output waveform is held at H until the counter value matches the value set
in the PWM compare register, and is held at L until the counter value overflows (FF
2
MC-16LX FAMILY 16-BIT MICROCONTROLLERS HARDWARE MANUAL
×
×
×
×
×
×
×
×
P2
P1
P0
M2
M1

Fig. 15.2 Setting Stepping Motor Controller

bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
OE1
P0
OE2
P1
Set an H width (compare value) of PWM 1.
Set an H width (compare value) of PWM 2.
P2
P1
×
×
M0
15-8
CE
SC
TST
×
1
0
P0 M2
M1
M0
: Used bit
× : Unused bit
1 : Set 1
0 : Set 0
n : Channel number
on the rising edge of the
H
→ 00
).
H
H

Advertisement

Table of Contents
loading

Table of Contents