tmp89fm82t TOSHIBA Semiconductor CORPORATION, tmp89fm82t Datasheet - Page 334

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
List of the Electrical Angle Timer and Waveform Arithmetic Circuit Registers
(0x0EE1)
EDCRB
Note:Read-modify-write instructions, such as a bit manipulation instruction, cannot access the EDCRB register be-
cause this register is write only.
5,4
7
3
2
0
WVISEL
Typical Settings of Sine Wave Data
Two-phase
modulation
Three-phase
modulation
7
WVISEL
EVCALEN
CALCST
CALCBSY
EDISEL
100%
amplitude
100%
amplitude
6
-
Figure 19-21 Typical Settings of Sine Wave Data
Data
255
Data
255
(0x000)
(0x000)
Wave form input select
calculation enable by event
Start calculation by software
Calculation flag
Electrical angle interrupt
EVCALEN
5
0
0
0
0
(0x040)
(0x040)
4
64
60
64
60
CALCST
(0x080)
(0x080)
120
120
128
128
3
(0x0C0)
(0x0C0)
Page 318
180
180
192
192
CALCBSY
0: select Sine wave data RAM
1: select 3 phase wave form register
00: enable calculation synchronize with each electric angle
01: enable calculation synchronize with each PWM
10: enable calculation synchronize with each 3-phase waveform register
writing
11: disable synchronize calcuration.
0: No operation
1: Start calculation
0: Waveform Arithmetic Circuit stopped
1: Waveform Arithmetic Circuit calculating
0: Interrupt when the Electrical Angle Timer finishes counting
1: Interrupt upon end of calculation
2
(0x100)
(0x100)
240
240
256
256
(0x140)
(0x140)
320
300
320
300
1
-
EDISEL
(0x000)
(0x000)
360
360
0
0
0
Electrical angle
Electrical angle
(ELDEG)
(ELDEG)
(Initial value: 0*00 00*0)
TMP89FM82T
R/W
R/W
W
R

Related parts for tmp89fm82t