M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6
12.3.2 Three-phase/Port Output Switch Function
When the INVC03 bit in the INVC0 register set to "1"(Timer output enabled for three-phase motor control)
and setting the PFCi (i=0 to 5) in the PFCR register to "0"(I/O port), the three-phase PWM output pin (U,
__
__
___
U, V, V, W and W) functions as I/O port. Each bit in the PFCi bits (i=0 to 5) is applicable for each one of
three-phase PWM output pins. Figure 12.3.2.1 shows the example of three-phase/port output switch
function. Figure 12.3.2.2 shows the PFCR register and the three-phase protect control register.
Timer B2
U phase
V Phase
W phase
Writing PFCR register
PFC0 bit : "1"
PFC2 bit : "1"
PFC4 bit : "0"
NOTE:
1. A hazard may be generated at the output signal, depending on the output switch timing. Also, do not generate (short) be switching to port output
during the dead time of three-phase output.
Figure 12.3.2.1. Usage Example of Three-phse/Port output switch function
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
Functions as port P7
(1)
page 130
f o
3
2
9
C
2 /
6
) T
4
(1)
Writing PFCR register
PFC0 bit : "1"
PFC2 bit : "0"
PFC4 bit : "1"
Functions as port P7
2
12. Timer