![](http://datasheet.mmic.net.cn/30000/M37905M4C-XXXFP_datasheet_2360025/M37905M4C-XXXFP_234.png)
THREE-PHASE WAVEFORM MODE
7905 Group User’s Manual Rev.1.0
10-17
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.
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 7 of the port P6 direction register (address 1016) become “0000002.” (Refer
to section “5.2.4 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.
Fig. 10.2.14 Pins used in three-phase waveform mode
Fig. 10.2.15 Relationship between P6OUTCUT input, waveform output control bit, and three-phase
waveform output pin
M37905
U-phase waveform output
V-phase waveform output
W-phase waveform output
U-phase waveform output
V-phase waveform output
W-phase waveform output
Three-phase-waveform-output-
forcibly-cutoff signal input
P57/INT7/TB2IN/IDU
P56/INT6/TB1IN/IDV
P55/INT5/TB0IN/IDW
U-phase position data input
V-phase position data input
W-phase position data input
P65/TA2IN/U/RTP11
P64/TA2OUT/V/RTP10
P63/TA1IN/W/RTP03
P62/TA1OUT/U/RTP02
P61/TA0IN/V/RTP01
P60/TA0OUT/W/RTP00
P6OUTCUT/INT4
→
←
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.”
Programmable
I/O port
Floating
Waveform output control bit
(bit 7 at address A616)
Three-phase waveform
output pin
P6OUTCUT input
Three-phase
waveform output
Three-phase
waveform output
Floating
Three-phase waveform mode is selected (Bit 2 through 0 at address A616 = 1002)