4283 Group
Timer 1 starts
(V1 )←1
0
“1”
“0”
Timer 1 underflow
Port CARR output
“H”
“L”
a
b
c
d
➁
➁
➁
➁
Set the interval “a” to timer 1.
Set the interval “b”
Set the interval “c”
Set the interval “d”
to reload register R1. to reload register R1.
to reload register R1.
Count source CARRY selected
(V1
1)←0
Auto-control valid Carrier wave output start
(V12)←1
Timer 1 stop
(V1
0)←0
“1”
Timer 1 underflow
“0”
“H”
“L”
CARRY
(Note)
Port CARR output “H”
“L”
“1”
2
“0”
Register V1
Auto-control invalid
Auto-control invalid
Carrier wave output start
Carrier wave output stop
Note: When timer 1 is stopped, the port CARR output auto-control is terminated regardless of bit 2 (V12) of register V1.
Fig. 15 Port CARR output control by timer 1
➁ In this case, the following is set;
• Timer 2 carrier wave generation function is valid (V22=“1”),
• “L” interval (0316) of carrier wave is set to reload register R2L
• “H” interval (0216) of carrier wave is set to reload register R2H
To expand “H” interval of carrier wave is invalid (V2
[Count source: 4.0 MHz, Resolution: 250 ns]
3=“0”)
Timer 2 count source
Timer 2 count value 0316
0216 0116 0016
0316 0216 0116 0016
(R2L)
0216 0116 0016
(R2H)
0216 0116 0016 0316 0216 0116 0016 0216 0116
(R2H) (R2L) (R2H)
(Reload register)
(R2L)
Timer 2 underflow signal
3 clocks
interval
3 clocks
interval
CARRYD
Carrier wave period:
7 clocks
Carrier wave period:
7 clocks
Timer 2 starts
To expand “H” interval of carrier wave is valid (V23=“1”)
(When count source is 4.0 MHz, carrier wave is expanded for 125 ns]
Timer 2 count source
Timer 2 count value
0316
0216 0116 0016
0316 0216 0116 0016
(R2L)
0216 0116 0016
(R2H)
0216
0116 0016 0316 0216 0116 0016 0216
(R2L) (R2H)
(Reload register) (R2L)
(R2H)
Timer 2 underflow signal
3.5 clocks
interval
3.5 clocks
interval
CARRYD
Carrier wave period:
7.5 clocks
Carrier wave period:
7.5 clocks
Timer 2 starts
Note: When to expand “H” interval of the carrier wave is valid, set “0116” or more to reload register R2H.
Fig. 16 Carrier wave generation example by timer 2
Rev.1.01 Mar 20, 2006 page 15 of 62
REJ03B0109-0101