
349
4.When performing brushless DC motor control, set bit BDC in the timer gate control register
(TGCR) and set the feedback signal input source and output chopping or gate signal direct
output.
5.Reset TCNT3 and TCNT4 to H'0000.
6. TGR3A is the period register. Set the waveform period value in TGR3A. Set the transition
times of the PWM output waveforms in TGR3B, TGR4A, and TGR4B. Set times within the
compare-match range of TCNT3. X
≤
TGR3A (X: set value). With X = TGRA (cycle = duty
cycle), the output waveform goes into toggle operation at the point where TCNT3 = TGR3A =
X.
7.Select enabling/disabling of toggle output synchronized with the PMW cycle using bit PSYE
in the timer output control register (TOCR), and set the PWM output level with bits OLSP and
OLSN.
8.Set bits MD3–MD0 in TMDR3 to B'1000 to select the reset-synchronized PWM mode.
TIOC3B, TIOC3D, TIOC4A, TIOC4B, TIOC4C, and TIOC4D become PWM output pins.
9.Set the CST3 bit in the TSTR to 1 to start the count operation.
10.Set the STR3 bit in the TSTR to 1 to let the TCNT3 start counting.
Содержание SH7041 Series
Страница 2: ......
Страница 6: ......
Страница 38: ...xvi ...
Страница 44: ...6 ...
Страница 46: ...8 ...
Страница 48: ...10 ...
Страница 82: ...44 ...
Страница 114: ...76 ...
Страница 118: ...80 ...
Страница 124: ...86 ...
Страница 170: ...132 ...
Страница 250: ...212 ...
Страница 492: ...454 ...
Страница 506: ...468 ...
Страница 604: ...566 ...
Страница 684: ...646 ...
Страница 706: ...668 ...
Страница 778: ...740 ...
Страница 780: ...742 ...
Страница 818: ...780 ...
Страница 850: ...812 ...
Страница 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...