PRELIMINAR
Y
Notice:
This
is not
a final
specification.
Som
e param
etric
lim
its are
subject
to change.
47
M37906M4C-XXXFP, M37906M4C-XXXSP, M37906M4H-XXXFP
M37906M4H-XXXSP, M37906M6C-XXXFP, M37906M6C-XXXSP
M37906M8C-XXXFP, M37906M8C-XXXSP
16-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
Pulse mode 1
This mode controls a pulse output port as a 6-bit unit.
When setting the pulse output mode select bit to “1”, and setting bits
2 and 1 to “0” and bit 0 to “1” of the waveform output select bits, the
following become the pulse output ports:
Six of RTP11, RTP10, RTP03, RTP02, RTP01, RTP00
Whether to control these pulse output ports by an underflow of timer
A0 or an input edge to pin RTPTRG0 is selected by the pulse output
trigger select bit of the three-phase output data register 0 (bits 7 and
6 at address A816).
Additionally, pulse width modulation can be applied to the pulse out-
put ports. The pulse width modulation timer select bits of the wave-
form output mode register (bits 5 and 4 at address A616) select the
type of pulse width modulation from the following:
(1) When the pulse width modulation timer select bits = “00”, the
common modulation to six of RTP11, RTP10, RTP03, RTP02,
RTP01, RTP00 is selected. For this modulation, since timer A1 is
necessary, be sure to actuate this timer in the pulse width modu-
lation mode.
(2) When the pulse width modulation timer select bits = “01”, the
modulation to the following two groups is selected; one consists
of RTP11, RTP10, RTP03, and the other consists of RTP02,
RTP01, RTP00. For this modulation, since timers A1 and A2 are
necessary, be sure to actuate these timers in the pulse width
modulation mode.
(3) When the pulse width modulation timer select bits = “10”, the
modulation to the following three groups is selected; one consists
of RTP11, RTP10, and another consists of RTP03, RTP02,
and the other consists of RTP01, RTP00. For this modulation,
since timers A1, A2, and A4 are necessary, be sure to actuate
these timers in the pulse width modulation mode.
Additionally, at this time, be sure to set the corresponding pulse
width modulation enable bit of the three-phase output data register 1
(bits 2 through 0 at address A916) to “1” in order to enable the pulse
width modulation.
The other operations are the same as that of pulse mode 0. Figure
53 shows example waveforms in pulse mode 1.
In ports selecting pulse mode 1, output can be controlled by the
waveform output control bit 1 of the waveform output mode register
(bit 7 at address A616).
When setting the waveform output control bit to “1”, waveform is out-
put from the corresponding port. When clearing that bit to “0”, wave-
form output from the corresponding port stops and the port becomes
floating. The waveform output control bit 1 is cleared to “0” by reset,
by inputting a falling edge to pin P6OUTCUT, or by executing instruc-
tions.