TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 26

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
4 Dubug Interface
4.5
4.5.1
4.5.2
The table 4-2 below summarizes the debug interface pin functions and related port settings after reset.
Table 4-3 Debug Interface
Table 4-2 Debug interface pins and port setting after reset
○:Enable、×:Disable (Can use general purpose port)
When using a low power consumption mode, take note of the following points.
JTAG+SW (After RESET)
JTAG+SW (No TRST
JTAG+TRACE
SW
SW+SWV
Disable Debug function
DEBUG
DEBUG
DEBUG
DEBUG
DEBUG
Setting
PORT
PORT
PORT
Initial
Connection with a Debug Tool
registers be sure their settings.
MCU will be unable to control signals received from the debugging tools and can not continue
debugging. According to the usage of the debug interface pins, be sure their settings.
(Note 1) If PB3 and PB5 are configured as debug function pins, output continues to be enabled
(Note 2) If PB4 is configured as a debug function pin, it prevents a low power consumption mode
When debugging, do not change setting debug interface to general purpose port by program. Then,
For how to connect a debug tool, refer to the method recommended by each manufacturer.
Debug interface pins have pull-up or pull-down register. When connect with pull-up or pull-down
How to connect
When use general purpose port
even in STOP mode regardless of the setting of the CGSTBYCR<DRVE> .
from being fully effective. Configure PB4 to function as a general-purpose port if the
debug function is not used.
name)
PORT
PB0
PB1
PB2
PB3
PB4
PB5
PB6
PB7
(Bit
------------------
)
Debug Function
TARCEDATA0
TRACEDATA1
TCK/SWCLK
TMS/SWDIO
TRACECLK
TDO/SWV
------------------
TRST
---------------
TRST
×
×
×
×
TDI
TMPM380/M382 - 2 / 3 -
TDI
×
×
×
TDO/
SWV
Function
(PBFR)
×
×
0
0
0
1
1
1
1
1
Using Debug Interface pins
SWCLK
TCK/
×
(PBIE)
Input
0
0
0
1
1
0
1
1
Port Setting After Reset
SWDIO
TMS/
×
(PBCR)
Output
0
0
0
0
1
0
1
0
TRACE
DATA1
×
×
×
×
×
(PBPUP)
Pull-up
0
0
0
1
0
0
1
1
TMPM380/M382
TARCE
DATA0
×
×
×
×
×
Pull-down
(PBPDN)
TRACE
CLK
0
0
0
0
1
0
0
0
×
×
×
×
×

Related parts for TMPM382FSFG