English
Language : 

7906 Datasheet, PDF (221/531 Pages) Renesas Technology Corp – 16-BIT SINGLE-CHIP MICROCOMPUTER
THREE-PHASE WAVEFORM MODE
10.2 Block description
10.2.10 Three-phase waveform mode I/O pins
When the three-phase waveform mode is selected, port P60 through P65 pins become the three-phase
waveform output pins, pin P6OUTCUT becomes the three-phase-waveform-output-forcibly-cutoff signal input
pin. Figure 10.2.14 shows the pins used in the three-phase waveform mode.
M37906
P65/TA2IN/U/RTP11 → U-phase waveform output
P64/TA2OUT/V/RTP10 → V-phase waveform output
P63/TA1IN/W/RTP03 → W-phase waveform output
U-phase position data input → P57/INT7/TB2IN/IDU
P62/TA1OUT/U/RTP02 → U-phase waveform output
V-phase position data input → P56/INT6/TB1IN/IDV
P61/TA0IN/V/RTP01 → V-phase waveform output
W-phase position data input → P55/INT5/TB0IN/IDW
P60/TA0OUT/W/RTP00 → W-phase waveform output
P6OUTCUT/INT4 ← Three-phase-waveform-output-
forcibly-cutoff signal input
Fig. 10.2.14 Pins used in three-phase waveform mode
10.2.11 Pin P6OUTCUT (three-phase-waveform-output-forcibly-cutoff signal input pin)
When a falling edge is input to pin P6OUTCUT, the waveform output control bit (bit 7 at address A616)
becomes “0”; and then the three-phase waveform output pins enter the floating state. (In other words, the
three-phase waveform output becomes inactive.)
When restarting the three-phase waveform output after this output becomes inactive, be sure to return the
input level at pin P6OUTCUT to “H”; and then, be sure to set the waveform output control bit to “1.” When
the input level at pin P6OUTCUT is “L,” the waveform output control bit cannot be “1.”
Also, at this time, bits 0 through 5 of the port P6 direction register (address 1016) become “0000002.” (Refer
to section “5.2.3 Pin P6OUTCUT/INT4.”) Therefore, if it is necessary to switch port pins P60 through P65 to
the port output pins, be sure to do as follows:
➀ Return the input level at pin P6OUTCUT to “H” level.
➁ Write data to the port P6 register (address E16)’s bits, corresponding to the port P6 pins which will output
data.
➂ Set the port P6 direction register’s bits, corresponding to the port P6 pins in ➁, to “1” in order to set
these port pins to the output mode.
When the input level at pin P6OUTCUT is “L,” each bit of the port P6 direction register cannot be “1.”
Figure 10.2.15 shows the relationship between the P6OUTCUT input, waveform output control bit, and three-
phase waveform output pin.
Note that, when not inactivating the three-phase waveform output by using pin P6OUTCUT, be sure to
connect pin P6OUTCUT to Vcc via a resistor.
P6OUTCUT input
Three-phase waveform mode is selected (Bit 2 through 0 at address A616 = 1002)
➀
Waveform output control bit
(bit 7 at address A616)
➁
➁
➂
Three-phase waveform
output pin
Programmable
I/O port
Floating
Three-phase
waveform output
Floating
Three-phase
waveform output
➀ When the three-phase waveform mode is selected, the three-phase waveform output pins enter the floating state.
➁ Due to writing of “1” when the input level at pin P6OUTCUT = “H,” a pulse is output.
➂ Due to an input of a falling edge to P6OUTCUT, this bit becomes “0.”
Fig. 10.2.15 Relationship between P6OUTCUT input, waveform output control bit, and three-phase
waveform output pin
10-16
7906 Group User’s Manual Rev.2.0