r5f71374an80fpv Renesas Electronics Corporation., r5f71374an80fpv Datasheet - Page 385

no-image

r5f71374an80fpv

Manufacturer Part Number
r5f71374an80fpv
Description
32-bit Risc Microcomputer Superh?? Risc Engine Family
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F71374AN80FPV
Manufacturer:
TI
Quantity:
1 001
Procedure for Selecting the Reset-Synchronized PWM Mode: Figure 10.35 shows an example
of procedure for selecting the reset synchronized PWM mode.
Reset-synchronized PWM mode
PWM cycle output enabling,
Figure 10.35 Procedure for Selecting Reset-Synchronized PWM Mode
PWM output level setting
Select counter clock and
Enable waveform output
Set reset-synchronized
Start count operation
counter clear source
Brushless DC motor
Reset-synchronized
Stop counting
control setting
PWM mode
PFC setting
PWM mode
Set TCNT
Set TGR
Note: The output waveform starts to toggle operation at the point of
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
TCNT_3 = TGRA_3 = X by setting X = TGRA, i.e., cycle = duty.
[1] Clear the CST3 and CST4 bits in the TSTR
[2] Set bits TPSC2 to TPSC0 and CKEG1 and
[3] When performing brushless DC motor control,
[4] Reset TCNT_3 and TCNT_4 to H'0000.
[5] TGRA_3 is the period register. Set the waveform
[6] Select enabling/disabling of toggle output
[7] Set bits MD3 to MD0 in TMDR_3 to B'1000 to select
[8] Set the enabling/disabling of the PWM waveform output
[9] Set the port control register and the port I/O register.
[10] Set the CST3 bit in the TSTR to 1 to start the count
to 0 to halt the counting of TCNT. The
reset-synchronized PWM mode must be set
up while TCNT_3 and TCNT_4 are halted.
CKEG0 in the TCR_3 to select the counter
clock and clock edge for channel 3. Set bits
CCLR2 to CCLR0 in the TCR_3 to select TGRA
compare-match as a counter clear source.
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.
period value in TGRA_3. Set the transition timing
of the PWM output waveforms in TGRB_3,
TGRA_4, and TGRB_4. Set times within the
compare-match range of TCNT_3.
synchronized with the PMW cycle using bit PSYE
in the timer output control register (TOCR1), and set
the PWM output level with bits OLSP and OLSN.
When specifying the PWM output level by using TOLBR
as a buffer for TOCR2, see figure 10.3.
the reset-synchronized PWM mode. Do not set to TMDR_4.
pin in TOER.
operation.
X ≤ TGRA_3 (X: set value).
Section 10 Multi-Function Timer Pulse Unit 2 (MTU2)
Rev. 1.00 Sep. 21, 2007 Page 359 of 1124
REJ09B0402-0100

Related parts for r5f71374an80fpv