TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 264

no-image

TMPM382FSFG

Manufacturer Part Number
TMPM382FSFG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMPM382FSFG

Product Summaries
Summary
Lead Free
Yes
Rohs Compatible Product(s)
Available
Rom (kbytes)
64K
Rom Type
Flash
Ram (kbytes)
8K
Number Of Pins
64
Package
QFP(14x14)
Vcc
5V
Cpu Mhz
40
Ssp (ch) Spi
1
I2c/sio (ch)
1
Uart/sio (ch)
3
Usb
-
Can
-
Ethernet
-
External Bus Interface
N
Cs/wait Controller (ch)
-
Dma Controller
2
10-bit Da Converter
-
10-bit Ad Converter
-
12-bit Ad Converter
10
16-bit Timer / Counter
6
Motor / Igbt Control
Y
Real Time Clock
1
Watchdog Timer
Y
Osc Freq Detect
Y
Clock Gear
Y
Low-power Hold Function
-
Remote Control Interface
Y
Hardware Cec Controller
-
Comparators
-
Low-voltage Detector
Y
Etm Hardware Trace
2-bit
10 16-bit Multi-purpose Timers (MPTs)
<Bit 1> : Must be write “0”
• PMD Enable Register (MTPDnMDEN)
• Port Output Mode Register (MTPDnPORTMD)
<PWMEN>: Enables or disables waveform synthesis.
<PORTMD>: Port control setting
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Read/Write
Bit Symbol
Bit Symbol
Bit Symbol
Bit Symbol
Bit Symbol
Bit Symbol
Bit Symbol
Bit Symbol
After reset
After reset
After reset
After reset
After reset
After reset
After reset
After reset
0: Disable
1: Enable
Output ports that are used for the PMD become high impedance when the PMD is disabled.
Before enabling the PMD, configure other relevant settings, such as output port polarity.
0: Upper phases = High-Z
1: Upper phases = PMD output
the lower phases (X, Y and Z phases). When a tool break occurs while “High-Z” is selected, the upper
and lower phases of external output ports are set to high impedance. In other cases, external port
outputs depend on PMD outputs.
setting.
* When PWMEN=0, output ports are set to high impedance regardless of the output port setting.
* When an EMG input occurs, external port outputs are controlled depending on the MTPDnEMGMD
The <PORTMD> setting controls external port outputs of the upper phases (U, V and W phases) and
R→0
R→0
R→0
R→0
R→0
R→0
R→0
R→0
0x4005 0400, 0x4005 0480
0x4005 0404, 0x4005 0484
31
23
15
31
23
15
0
0
0
7
0
0
0
0
7
0
-
-
-
-
-
-
-
-
R→0
R→0
R→0
R→0
R→0
R→0
R→0
R→0
30
22
14
30
22
14
0
0
0
6
0
0
0
0
6
0
-
-
-
-
-
-
-
-
TMPM380/M382 - 64 / 87 -
R→0
R→0
R→0
R→0
R→0
R→0
R→0
R→0
29
21
13
29
21
13
0
0
0
5
0
0
0
0
5
0
-
-
-
-
-
-
-
-
R→0
R→0
R→0
R→0
R→0
R→0
R→0
R→0
28
20
12
28
20
12
0
0
0
4
0
0
0
0
4
0
-
-
-
-
-
-
-
-
R→0
R→0
R→0
R→0
R→0
R→0
R→0
R→0
27
19
11
27
19
11
0
0
0
0
0
0
0
0
3
3
-
-
-
-
-
-
-
-
R→0
R→0
R→0
R→0
R→0
R→0
R→0
R→0
26
18
10
26
18
10
0
0
0
0
0
0
0
0
2
2
-
-
-
-
-
-
-
-
R→0
R→0
R→0
R→0
R→0
R→0
R→0
R/W
25
17
25
17
0
0
9
0
0
0
0
9
0
0
1
1
-
-
-
-
-
-
-
-
TMPM380/M382
PORTMD
PWMEN
R→0
R→0
R→0
R→0
R→0
R→0
R/W
R/W
24
16
24
16
0
0
8
0
0
0
0
0
8
0
0
0
-
-
-
-
-
-

Related parts for TMPM382FSFG