tmp89fm82t TOSHIBA Semiconductor CORPORATION, tmp89fm82t Datasheet - Page 332

no-image

tmp89fm82t

Manufacturer Part Number
tmp89fm82t
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
19.6
Electrical Angle Timer and Waveform Arithmetic Circuit
EDCRB
EDCRA
5, 4
5,4
7
3
2
0
7
6
3
2
1
0
19.6.1.1
Note 1: The value set in the Period Set Register (EDSET <EDT>) must be equal to or greater than 0x10. Any value
Note 2: The sine wave data that is read consists of the U phase, the V phase whose electrical angle is +/− 120
Note 3: If a period corresponding to an electrical angle of one degree is shorter than the required calculation time,
Note 4: The Voltage amplitude register setting( AMP) more than PWM period register value(MDPRD), . causes cul-
EVCALEN
CALCBSY
CALCEN
CALCST
WVISEL
RWREN
EDISEL
EDCNT
C2PEN
EDTEN
EDRV
EDCK
Functions of the Electrical Angle Timer and Waveform Arithmetic Circuit Registers
smaller than this is assumed to be 0x10.
degrees relative to the U phase, and the W phase whose electrical angle is +/− 240 degrees relative to the
U phase.
the previously calculated results are used.
curation result underflow. In this case, the culcuration result become "0".
Wave form input select
calcuration enable by event
Start calculation by software
Calculation flag
Electrical angle interrupt
Electrical angle count up/
down
Select V-, W-phase
Select clock
Switch between 2-phase and
3-phase modulations
Auto transfer calculation re-
sults to CPM registers
Enable/disable waveform cal-
culation function
Electrical angle timer
Select the wave form input method to Waveform arithmetic circuit.
Select the event which enable wave form calculation circuit.
Forcefully start calculation. When this bit is written while the waveform arithmetic circuit is
calculating, the calculation is terminated and then newly started.
By reading this bit, the operation status of the waveform arithmetic circuit can be obtained.
Set the electrical angle interrupt signal request timing to either when the electrical angle
timer finishes counting or upon end of calculation.
Set whether the electrical angle timer counts up or down.
Select phase direction of V-phase and W-phase in relation to U-phase.
Select the clock for the electrical angle timer.
Select the modulation method with which to perform waveform calculation.
Two-phase modulation DATA = ramdata (ELDEG) × AMP
Note: The ± sign during 3-phase modulation changes depending on the electrical angle.
+ for electrical angles 0 to 179 degrees (191)
− for electrical angles 180 (192) to 360 (383) degrees
Enable/disable transfer of calculation results by the waveform arithmetic circuit. When the
waveform calculation function is enabled while at the same time transfer is enabled, cal
ulation results are set as U, V, and W-phase duty cycles of the PWM generation circuit and
are reflected in the ports.
Enable/disable the waveform calculation function. Calculations are performed by the wave-
form arithmetic circuit by enabling the waveform calculation function. When the waveform
calculation function is enabled, the calculated results can be read from the U, V, and W-
phase compare registers (CMPU, V, W) of the PWM generation circuit.
Enable/disable the electrical angle timer. When enabled, the electrical angle timer starts
counting; when disabled, the electrical angle timer stops counting and is cleared to 0.
Page 316
TMP89FM82T

Related parts for tmp89fm82t