English
Language : 

TMP88FW44FG Datasheet, PDF (146/282 Pages) Toshiba Semiconductor – 8 Bit Microcontroller
13. Motor Control Circuit (PMD: Programmable motor
driver)
TMP88FW44FG
13.2 Configuration of the Motor Control Circuit
The motor control circuit consists of various units. These include a position detection unit to detect the zero-cross
points of the induced voltage or position sensor signal, a timer unit to generate events at three instances of electrical
angle timing, and a three-phase PWM output unit to produce three-phase output PWM waveforms. Also included are
an electrical angle timer unit to count degrees of electrical angle and a waveform arithmetic unit to calculate sinuso-
idal waveform output duty cycles. The input/output units are configured as shown in the diagram below. When using
ports for the PMD function, set the Port input/output control register (P3CRi and P5CRi) to 0 for the input ports, and
for the output ports, set the data output latch (P3i and P5i) to 1 and then the port input/output control register to 1.
Other input/output ports can be set in the same way for use of the PMD function.
CPU core
Data and address buses
Timer circuit
Motor control circuit
Electrical angle
timer circuit
Waveform
arithmetic
circuit
Position
detection
circuit
Waveform
generation
circuit
Position signal Error detection U, V, W, X, Y, Z
input
input
Figure 13-3 Block Diagram of the Motor Control Circuit
Note 1: Always use the LDW instruction to set data in the 9, 12 and 16-bit data registers.
Note 2: The EMG circuit initially is enabled. For PMD output, fix the EMG input port (P36 and P51) "H" high level or dis-
able the EMG circuit before using for PMD output.
Note 3: The EMG circuit initially is enabled. When using Port P3 and P5 as input/output IO ports, disable EMG.
Note 4: When going to STOP mode, be sure to turn all of the PMD functions off before entering STOP mode.
Page 134