Toshiba TLCS-90 Series Data Book page 303

8 bit microcontroller
Table of Contents

Advertisement

TOSHIBA
TMP90C840
Trigger of TFFI
~
n
n
n
n n
rL
I
L
MOO (P60)
~b3
b2
\bl
bO
I
I
b3
Ibl
MOl (P61)
Ibl
bO
b2
I
M02(P62)
~bl
bO
I
Ib3
b2
I
I
M03 (P63)
;b3
b2
Ibl
bO
Ib3
t
Initial Value p6
-+-
xxxxllOO
Fig. 3.7 (6)
Output Waveforms of 4-phase I-step Excitation
(Normal Rotation)
When Channel a is selected, for example, the stepping motor control
port is controlled as follows:
The output latch of MO (also used as P6) rotates at the rising edge of
the TFFl trigger pulse (that inverts the value of TFF!) and is out put
to the port.
The rotating direction is selected by SMCRO (CCW6).
Setting SMCRO to
"0" selects the normal
rotation
(MOO -) Mal -) MOZ -) M03) ,
and
setting it to "1" results in the reverse rotation (MOO
<-
Mal
<-
MOZ
<-
M03).
The
4-phase
I-step
excitation
can
be
obtained
by
initializing anyone bit of Port 6 to "1", and setting two succeeding
bits to "1" produces the 4-phase Z-step excitation.
Fig. 3.7 (7) is a block diagram of the two excitations.
Sifter Alternate
Register
Output Latch
H
:l
b~----------------~~
.,
:l
! : J
'""'1----.1
C
! : J
....
!:Jr-----------------~~
M03(P63)
M02(P62)
~
~--~--~
MOL (P61)
U:I--_~
MOO
(P60)
Jl
is showing to shift
the signal at the
Rising-Edge
of
TFFl-tigger pulse
Fig. 3.7 (7)
Block Diagram of 4-phase l-step/Z-step Excitation
(Normal Rotation)
MPU90-10S

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents