Professional Documents
Culture Documents
TMPM370 Group
The TMPM370 Group is a high-performance 32-bit RISC microprocessor product group based on the ARM
Cortex-M3 core.
The TMPM370 Group incorporates the vector engine that performs vector control combined with a built-in PMD
and high-performance ADC to reduce a load of the CPU. This product group is suitable for major appliances such as
air conditioners, washing machines, refrigerators, and actuators. Up to 512 KBytes of flash memory and 32 KBytes
of RAM are housed. The maximum operation frequency is 80 MHz.
In this group, LQFP100, QFP100, LQFP64, LQFP48, LQFP44 and SSOP30 are available. For the number of
ports, QFP100 has 82 ports and even the small package SSOP30 has 21 ports.
Vector engine (VE), Programmable Motor Driver (PMD), 12-bit high-performance ADC
Air conditioner
Vector engine (VE), Programmable Motor Driver (PMD), 12-bit high-performance ADC
Washing machine
Vector engine (VE), Programmable Motor Driver (PMD), 12-bit high-performance ADC
Refrigerator
Vector engine (VE), Programmable Motor Driver (PMD), 12-bit high-performance ADC
Actuator
Do not design your products or systems based on the information on this document.
Please contact your Toshiba sales representative for updated information before designing your products.
ARM and Cortex are registered trademarks of ARM Limited (or its subsidiaries) in the EU and/or elsewhere.
All rights reserved.
Page 1 2015/3/31
TMPM370 Group
Product Introduction Guide
M370Group
System Functions
OFD
SIO/UART
PORT 12-bit AD TMRB I2C/SIO
4Byte FIFO
VE PMD ENC
2015/3/31 Page 2
1.1 Product Lineup of the TMPM370 Group
TMPM370 Group
Product Introduction Guide
MEMORY
(FLASH)
QFP TMPM376FDDFG
512 KBytes
TMPM376FDFG
LQFP
QFP TMPM370FYDFG
256 KBytes
TMPM370FYFG
LQFP LQFP
SSOP
64 KBytes TMPM375FSDMG
PIN
30-pin 44-pin 48-pin 64-pin 100-pin
Page 3 2015/3/31
1.1 Product Lineup of the TMPM370 Group
TMPM370 Group
Product Introduction Guide
Flash 256 KBytes 128 KBytes 128 KBytes 128 KBytes 64 KBytes 512 KBytes
Memory
RAM 10 KBytes 6 KBytes 6 KBytes 6 KBytes 4 KBytes 32 KBytes
External inter-
INT 16 10 8 7 3 16
rupt
DMA DMA
Input/output 74 53 37 33 21 80
Input 2 0 0 0 0 2
Input/output Output 0 0 0 0 0 0
port
5V-tolerant
Input - - - - - -
(Note 1)
2 units 2 units
1 unit 1 unit 1 unit 1 unit
Analog function ADC (Note 2) (Note 2)
(11 channels) (7 channels) (6 channels) (4 channels)
(22 channels) (22 channels)
Debug inter-
Debug JTAG, SWD
face
QFP100 QFP100
DFG (14mm x 20mm, (14mm x 20mm,
0.65mm pitch) 0.65mm pitch)
LQFP100 LQFP100
FG (14mm x 14mm, (14mm x 14mm,
0.5mm pitch) 0.5mm pitch)
LQFP48
Package DUG (7mm x 7mm,
0.5mm pitch)
LQFP64 LQFP44
UG (10mm x 10mm, (10mm x 10mm,
0.5mm pitch) 0.8mm pitch)
SSOP30
DMG (5.6mm x 9.7mm
0.65mm pitch)
2015/3/31 Page 4
1.2 Functional Description
TMPM370 Group
Product Introduction Guide
6. Input/output ports
The MCU group has input/output ports and input ports.
7. Timer functions
16-bit timer/event counter (TMRB)
Page 5 2015/3/31
1.2 Functional Description
TMPM370 Group
Product Introduction Guide
9. Analog functions
12-bit analog-digital converter (ADC)
Op-Amp (AMP) (*Available only in the TMPM370 and TMPM375.)
Analog comparator (CMP) (*Available only in the TMPM370.)
12. Endian
Supports little-endian.
2015/3/31 Page 6
1.3 Operating Conditions
TMPM370 Group
Product Introduction Guide
Operating conditions
Products Except during Flash memory During Flash memory
write/erase time write/erase time
TMPM370FY 40 to 85C
TMPM372FW
40 to 85C (1 to 80MHz)
TMPM373FW
40 to 105C (1 to 32MHz) 0 to 70C
TMPM374FW
TMPM376FD 40 to 85C
Page 7 2015/3/31
1.4 Package
TMPM370 Group
Product Introduction Guide
1.4 Package
The following packages are available in the TMPM370 Group:
TMPM370FYFG LQFP100
TMPM376FDFG (14mm x 14mm, 0.5mm pitch)
TMPM370FYDFG QFP100
TMPM376FDDFG (14mm x 20mm, 0.65mm pitch)
LQFP64
TMPM372FWUG
(10mm x 10mm, 0.5mm pitch)
LQFP48
TMPM373FWDUG
(7mm x 7mm, 0.5mm pitch)
LQFP44
TMPM374FWUG
(10mm x 10mm, 0.8mm pitch)
SSOP30
TMPM375FSDMG
(5.6mm x 9.7mm, 0.65mm pitch)
For the TMPM370FY and TMPM376FD packages, LQFP and QFP packages having the same function are pro-
vided. Select the suitable package for your circuit board.
2015/3/31 Page 8
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
TMPM372FW
TMPM373FW 128 0 1 1 2 0 64 0.64 0.4
TMPM374FW 0.00125 0.1
Note:This table shows each register initial value after reset. A data transfer time is not included. A write time per
chip differs depending on users reprogramming method.
1.5.2 RAM
The RAM capacities for the TMPM370 Group are as follows:
RAM capacity
Products
(KB)
TMPM370FYDFG
10
TMPM370FYFG
TMPM372FWUG
TMPM373FWDUG 6
TMPM374FWUG
TMPM375FSDMG 4
TMPM376FDFG
32
TMPM376FDFG
Page 9 2015/3/31
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
TMPM372FW 9 9.5 10
TMPM373FW 9 9.5 10
TMPM374FW 9 9.5 10
TMPM376FD 9 9.5 10
2. Either the external high-speed oscillation circuit or external clock input can be selected.
3. PLL (multiplier): The number of multiplications of the TMPM375 can be selected from a factor of
four or five according to frequencies of the high-speed oscillation circuit. The number of multiplica-
tions of other products is fixed to a factor of 8.
TMPM370FY A factor of 8
TMPM372FW A factor of 8
TMPM373FW A factor of 8
TMPM374FW A factor of 8
TMPM375FS A factor of 4, 5
TMPM376FD A factor of 8
4. Clock gear: Any high-speed clock is selectable from 1/1, 1/2, 1/4, 1/8 or 1/16 (clock gear) as the sys-
tem clock (fsys).
2015/3/31 Page 10
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
(1) Outline
The TMRB is a peripheral function that incorporates a 16-bit counter and can be used as a timer,
event counter or PPG outputs.
It captures the value of the 16-bit counter at a specified timing.
Multiple channels can be started simultaneously and can be started synchronously with external
triggers.
The TMRB has the following operation modes. These operation modes can be switched in each
channel.
The mode counts up a 16-bit counter at a specified clock count of the source clock.
When the counter matches a preset value, an interrupt request occurs.
The counter value can also be captured by the capture register at a specified timing (at a
change of software capture, capture trigger and input capture input pin).
The mode counts up a 16-bit counter using an external clock instead of the source clock in
the interval timer mode.
The interrupt and capture function can be used in the same way as the interval timer mode
(the pin used by an external clock input cannot be used as a capture input).
The mode outputs a rectangular waveform at a specific frequency and duty ratio to the output
pins.
Either "active-low" or "active-high" logic can be selected for the output pins.
Page 11 2015/3/31
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
When the 16-bit up-counter matches a preset value, a compare match interrupt request
occurs. As the compare match interrupt request is a shared interrupt with an overflow interrupt,
the interrupt handler detects the factor by reading the status flag.
When the 16-bit up-counter has overflowed, an overflow interrupt request occurs. As the
overflow interrupt request is a shared interrupt with a compare match interrupt, the interrupt
handler detects the factor by reading the status flag.
When the capture register captures the value of the 16-bit up-counter, an input capture inter-
rupt request occurs.
2015/3/31 Page 12
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
(1) Outline
The serial function is a peripheral function that switches the operation modes between synchronous
communication mode (I/O interface mode) and asynchronous communication mode (UART mode).
It has a 4-stage FIFO and baud-rate generator that enable communication at various transfer rates.
The I/O interface mode is the mode where data is transferred using a half-duplex or full-
duplex communication system in synchronization with clock signals.
In the I/O interface mode, a switch between a master and slave, designation of LSB and MSB
of transfer data, and designation of a transfer clock edge of the slave mode are possible.
In addition, the hold time of the last bit and level of the data output pin after the last bit is out-
put can be specified.
The UART mode is the mode in which data is transferred at a preset transfer rate.
The flow control is implemented using CTS.
A data bit length is selectable from 7-bit, 8-bit or 9-bit. When a 7-bit or 8-bit data length is
selected, a parity bit can be added.
Page 13 2015/3/31
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
1. Transmit interrupt
When the transmit double buffer is disabled, if data transmission is complete, a trans-
mit interrupt request occurs.
When the transmit double buffer or transmit FIFO is enabled, if transmit data has
been transferred from the transmit double buffer of transmit FIFO to the shift regis-
ter, a transmit interrupt request occurs.
2. Receive interrupt
When data reception is complete, a receive interrupt request occurs. When the
receive FIFO is enabled, if the data has reached the preset fill-level of FIFO, a
reception interrupt request occurs.
1. Transmit interrupt
When the transmit double buffer is disabled, a transmit interrupt occurs immediately
before the STOP bit is output.
When the transmit double buffer or transmit FIFO is enabled, if transmit data has
been transferred from the transmit double buffer or transmit FIFO to the shift regis-
ter, a transmit interrupt request occurs.
2. Receive interrupt
A receive interrupt request occurs around the center of the first STOP bit.
2015/3/31 Page 14
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
(1) Outline
The serial bus interface is a peripheral circuit that can select I2C bus mode and synchronous clock
8-bit SIO mode.
The operation mode supports Standard mode (100 kbps max.) and Fast mode (400 kbps
max.) for I2C bus.
This transfer mode transfers data half-duplex or full-duplex synchronously with the clock
signal.
1. Standard mode
100 kHz (Master mode, slave mode)
2. Fast mode
Page 15 2015/3/31
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
(1) Outline
When the PMD generates a PMD trigger, a programmed analog input is converted to a digital
value.
When a timer trigger occurs, a programmed analog input is converted to a digital value.
When a software trigger occurs, a programmed analog input is converted to a digital value.l
value.
2015/3/31 Page 16
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
When the preset conversion value is detected, an AD monitor function interrupt request
occurs.
Page 17 2015/3/31
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
(1) Outline
The vector engine (VE) is a dedicated hardware to execute various vector control processes. It
reduces the CPU load and achieves a greater reduction in software process.
This hardware executes basic calculations such as a parameter axis conversion, phase conversion,
SIN/COS calculation and PI control for current control.
In addition, the vector engine can execute interface processes between the CPU and the motor con-
trol circuit (PMD) and high-speed AD converter.
(1) Outline
The motor control circuit (Programmable Motor Driver: PMD) easily controls brushless DC
motors by using the VE and high-speed AD converter.
It incorporates the 3-phase pulse width modulation circuit, dead-time circuit to generate a wave-
form for motor control easily.
Also, it provides an overvoltage detection input and abnormal detection input to take countermea-
sures against for emergency.
The pulse width modulation circuit generates an interrupt request synchronizing with PWM
waveforms.
The protection control circuit (EMG) generates an interrupt when the level of the abnormal
detection input becomes "Low".
2015/3/31 Page 18
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
The voltage input protection circuit (OVV) generates an interrupt when the level of the over-
voltage detection input becomes active.
(1) Outline
The AMP is used for amplifying a voltage of the shunt resistor to detect a motor current.
(2) Function
This function can be enabled or disabled. As an amplifier gain, 8 types preset value can be
selected.
(1) Outline
The analog comparator gains a result of comparison between an Op-Amp output of the shunt resis-
tor and reference voltage to detect an abnormal current.
(2) Function
An Op-Amp output of the shunt resistor is input to the analog comparator. The analog comparator
outputs a result of the comparison between an Op-Amp output of the shunt resistor and the reference
voltage of the external resistor to the EMG circuit.
Page 19 2015/3/31
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
(1) Outline
The encoder input circuit supports 4 operation modes such as the encoder mode, sensor mode
(2types) and timer mode.
Thanks to the built-in noise canceller of the input pins, an absolute position of motors can easily
obtained through the signals of incremental encoder and Hall sensor directly.
The encoder can be used as a 24-bit counter that has the counter-clear, counter-compare and
counter-capture function.
2015/3/31 Page 20
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
Then ENC has the following interrupt requests depending on the operation mode:
2. Event interrupt
An event interrupt occurs in a cycle of the encoder pulse signal that is divided by the
preset division ratio.
Event interrupt
An event interrupt occurs in a cycle of the Hall sensor pulse signal that is divided
by the preset division ratio.
2. Capture interrupt
When the counter is captured by a Z-phase input, a capture interrupt occurs.
Page 21 2015/3/31
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
(1) Outline
The WDT is a peripheral function that detects overflow of the binary counter and generates an
interrupt request or resets the MCU. This is caused when the binary counter cannot be cleared within
the preset detection time.
When the WDT is programmed to clear the binary counter within the preset detection time before-
hand, the WDT can detect an MCU malfunction.
Detection time
Products
Minimum detection time Maximum detection time
When the WDT detects that the binary counter overflows, it generates a watchdog timer
interrupt request. The watchdog timer interrupt is a non-maskable interrupt.
2015/3/31 Page 22
1.5 Functional Description
TMPM370 Group
Product Introduction Guide
(1) Outline
The OFD is a peripheral function that detects a start/stop of oscillation in abnormal mode, and
resets the MCU.
An abnormal state of the target clock is detected by using the reference clock built-in the
TMPM370 Group.
The upper limit and lower limit of detection frequency ranges can be specified respectively.
(1) Outline
The VLTD is a peripheral function detects whether a power supply voltage is lower or higher than
the preset voltage, and resets the MCU.
1. 4.1 V 0.2 V
2. 4.4 V 0.2 V
3. 4.6 V 0.2 V
Page 23 2015/3/31
1.6 Pin Layout
TMPM370 Group
Product Introduction Guide
PF2/ENCA1/SCLK3 /CTS3
PB2/TRACEDATA1
PB1/TRACEDATA0
PF4/ENCZ1/RXD3
PF3/ENCB1/TXD3
PK1/INTF/AINB12
PK0/INTE/AINB11
PJ7/INTD/AINB10
PB4/TCK/SWCLK
PB3/TMS/SWDIO
PJ6/INTC/AINB9
PB0/TRACECLK
PB5/TDO/SWV
PF1/TB7OUT
PJ5/AINB8
PB7/TRST
VOUT15
PB6/TDI
DVDD5
RVDD5
VOUT3
RESET
MODE
DVSS
DVSS
75
70
65
60
55
PJ4/AINB7 50 PF0/TB7IN/BOOT
PJ3/AINB6 X2
PJ2/AINB5 DVSS
PJ1/AINB4 X1
PJ0/AINB3 80 PG7/OVV1
AVSSB/VREFLB 45 PG6/EMG1
AVDD5B/VREFHB PG5/ZO1
PI3/AINA11/AINB2 PG4/WO1
PI2/AINA10/AINB1 PG3/YO1
PI1/AINA9/AINB0 85 DVSS
AVSSA/VREFLA 40 DVDD5
AVDD5A/VREFHA TMPM370FYFG PG2/VO1
PI0/AINA8 PG1/XO1
PH7/AINA7 PG0/UO1
PH6/AINA6 90 PD6/RXD2
PH5/AINA5 35 PD5/TXD2
PH4/AINA4 Top View PD4/SCLK2/CTS2
PH3/AINA3 PD3/INT9
PH2/INT2/AINA2 PD2/ENCZ0
PH1/INT1/AINA1 95 PD1/ENCB0/TB5OUT
PH0/INT0/AINA0 30 PD0/ENCA0/TB5IN
AMPVSS PC7/OVV0
AMPVDD5 PC6/EMG0
CVREFD PC5/ZO0
CVREFABC 100 PC4/WO0
10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INTB MODE
PL1/INTA DVSS
PC0/UO0 VOUT15
PC1/XO0 25 PF4/ENCZ1/RXD3
PC2/VO0 55 PF3/ENCB1/TXD3
PC3/YO0 PF2/ENCA1/SCLK3 /CTS3
PC4/WO0 PF1/TB7OUT
PC5/ZO0 PF0/TB7IN/BOOT
PC6/EMG0 30 X2
35
40
45
50
X1
DVDD5
PG5/ZO1
PG1/XO1
PG2/VO1
PG3/YO1
PG0/UO1
PD3/INT9
PG4/WO1
PD5/TXD2
PC7/OVV0
PD6/RXD2
PG7/OVV1
PG6/EMG1
PD2/ENCZ0
PD4/SCLK2/CTS2
PD0/ENCA0/TB5IN
PD1/ENCB0/TB5OUT
2015/3/31
Product Introduction Guide
TMPM370 Group
1.6 Pin Layout
TMPM370 Group
Product Introduction Guide
2#+066$+0
2#+066$+0
2#6$176
2,#+0$
2,#+0$
2,#+0$
2+#+0$
8176
2/:
2/:
4'5'6
8176
48&&
&8&&
/1&'
&855
#+0$2, 2'6$176
#+0$2, 2'6$176
#+0$2, 2(6$176
+06%#+0$2, 2('0%<4:&
+06&#+0$2, 2('0%$6:&
+06'#+0$2- 2('0%#5%.-%65
+06(#+0$2- 2'6$+0+06
84'(.$#855$
84'(*$#8&&$ 6/2/(97)
2'5%.-%65
2'4:&
+066$1762' 2'6:&
+066$+02' 2$6/559&+1
4:&6$+02# 6QR8KGY 2$6%-59%.-
6:&6$1762# 2$6&1598
5%.-%652# 2$6&+
+066$+02# 2$6456
6$1762# 2$64#%'#
5%.-%652&
6:&2&
4:&2&
712)
:12)
812)
;12)
912)
<12)
'/)2)
1882)
&855
&8&&
$1166$+02(
64#%'%.-2$
64#%'#2$
8176
2/:
2/:
4'5'6
8176
48&&
&8&&
/1&'
&855
#+0$2, 2(6$176
+06%#+0$2, 2('0%<4:&
+06&#+0$2, 2('0%$6:&
+06'#+0$2- 2('0%#5%.-%65
+06(#+0$2- 2'6$+0+06
84'(.$#855$
84'(*$#8&&$
6/2/(9&7)
2'5%.-%65
2'4:&
+066$1762' 2'6:&
+066$+02'
4:&6$+02#
6QR8KGY
2$6/559&+1
2$6%-59%.-
6:&6$1762# 2$6&1598
5%.-%652# 2$6&+
2&
712)
:12)
812)
;12)
912)
<12)
'/)2)
1882)
&855
&8&&
$1166$+02(
2015/3/31 Page 26
1.6 Pin Layout
TMPM370 Group
Product Introduction Guide
2,#+0$
2+#+0$
8176
2/:
2/:
4'5'6
8176
48&&
&8&&
/1&'
&855
+06%#+0$2, 2('0%<4:&
+06&#+0$2, 2('0%$6:&
+06'#+0$2- 2('0%#5%.-%65
+06(#+0$2- 2'6$+0+06
84'(.$#855$ 2'5%.-%65
84'(*$#8&&$
6/2/(97) 2'4:&
+066$1762' 2'6:&
+066$+02' 6QR8KGY 2$6/559&+1
4:&6$+02# 2$6%-59%.-
6:&6$1762# 2$6&1598
5%.-%652# 2$6&+
712)
:12)
812)
;12)
912)
<12)
'/)2)
1882)
&855
&8&&
$1166$+02(
6/2/(5&/)
#855$84'(.$#/2855 2''0%#6:&
#+$2, 2''0%$4:&6$+0
#+0$2, &8&&$
#+0$2- 2/:
#+0$2- &855$
#8&&$84'(*$#/28&& 2/:
/1&' 8176
72) 6QR8KGY 8+04')
:2) 8176
82) 2''0%<5%.-%65+06
5%.
;2) 2(6$+0$1165Ȅ:&+06%
92) 2$6$1766&+5%.5+4:&+06
<2) 2$6&15985%-
5&#
'/)1882) 2$6%-59%.-
6:&
4'5'6 2$6/559&+1
4:&
Page 27 2015/3/31
1.6 Pin Layout
TMPM370 Group
Product Introduction Guide
PF2/ENCA1/SCLK3 /CTS3
PB2/TRACEDATA1
PB1/TRACEDATA0
PF4/ENCZ1/RXD3
PF3/ENCB1/TXD3
PK1/INTF/AINB12
PK0/INTE/AINB11
PJ7/INTD/AINB10
PB4/TCK/SWCLK
PB3/TMS/SWDIO
PJ6/INTC/AINB9
PB0/TRACECLK
PB5/TDO/SWV
PF1/TB7OUT
PJ5/AINB8
PB7/TRST
VOUT15
PB6/TDI
DVDD5
RVDD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H7/AINA7
PI0/AINA8
PI1/AINA9/AINB0
PI2/AINA10/AINB1
PJ0/AINB3
PJ1/AINB4
95
90
85
100
PN1/SI/SCL 1 80 PJ2/AINB5
PN0/SO/SDA PJ3/AINB6
DVSS PJ4/AINB7
PA0/TB0IN/INT3 PJ5/AINB8
PA1/TB0OUT 5 PJ6/INTC/AINB9
PA2/TB1IN/INT4 75 PJ7/INTD/AINB10
PA3/TB1OUT PK0/INTE/AINB11
PA4/SCLK1/CTS1 PK1/INTF/AINB12
PA5/TXD1/TB6OUT PB7/TRST
PA6/RXD1/TB6IN 10 PB6/TDI
PA7/TB4IN/INT8 70 PB5/TDO/SWV
PE0/TXD0 PB4/TCK/SWCLK
PE1/RXD0 PB3/TMS/SWDIO
PE2/SCLK0/CTS0 PB2/TRACEDATA1
PE3/TB4OUT 15 PB1/TRACEDATA0
DVDD5 65 PB0/TRACECLK
PE4/TB2IN/INT5 DVSS
Page 29
PE5/TB2OUT Top View DVDD5
PE6/TB3IN/INT6 VOUT3
1.6 Pin Layout
PE7/TB3OUT/INT7 20 RESET
DVSS 60 RVDD5
TMPM376FDDFG
PL0/INTB MODE
PL1/INTA DVSS
PC0/UO0 VOUT15
PC1/XO0 25 PF4/ENCZ1/RXD3
PC2/VO0 55 PF3/ENCB1/TXD3
PC3/YO0 PF2/ENCA1/SCLK3 /CTS3
PC4/WO0 PF1/TB7OUT
PC5/ZO0 PF0/TB7IN/BOOT
PC6/EMG0 30 PM1/X2
35
40
45
50
DVSS
DVSS
PG5/ZO1
PG1/XO1
PG2/VO1
PG3/YO1
PG0/UO1
PD3/INT9
PG4/WO1
PD5/TXD2
PC7/OVV0
PD6/RXD2
PG7/OVV1
PG6/EMG1
PD2/ENCZ0
PD4/SCLK2/CTS2
PD0/ENCA0/TB5IN
PD1/ENCB0/TB5OUT
2015/3/31
Product Introduction Guide
TMPM370 Group
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-5 Peripheral functions and corresponding pin names and functions
Input
Peripheral function Pin name or Function
Output
AINAx Input Analog input pin. (Available only in the TMPM370 and TMPM376FD.)
Analog-digital converter
AINBx Input Analog input pin.
2015/3/31 Page 30
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Input
Debug pin
or Function
name
Output
Input
Control pin
or Function
name
Output
Mode pin.
MODE Input
Must be fixed to "Low" level.
Input
Clock pin name or Function
Output
Page 31 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Power supply
Function
pin names
Table 1-10 Power supply pin names and functions (TMPM372, TMPM373, TMPM374)
2015/3/31 Page 32
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Note 1: Analog power supplies (AVDD5B, VREFHB and AMPVDD5) are shared.
Note 2: Analog GNDs (AVSSB, VREFLB and AMPVSS) are shared.
Page 33 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
VOUT15
VOUT3
Capacitor for regulators
(Place the capacitor in
DVSS shortest distance from
VOUT15, VOUT3 and DVSS
GND
2015/3/31 Page 34
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
1. Function A
Dual functions in which the pins are assigned to ports without the function register settings
are described.
2. Function B
Dual functions in which the pins are assigned to ports by the register settings are described.
The numbers shown in the "Function B" Column correspond to the numbers of function regis-
ters.
3. Pin specifications
The symbols below have the following meanings:
SMT/CMOS: Input gate
SMT: Schmitt trigger input
CMOS: CMOS input
5V_T: 5V tolerant
-: Not applicable. This product group operates at 5 V.
Page 35 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
The tables below show pin numbers and pin names by the PORT order.
Table 1-13 TMPM370FYFG/TMPM370FYDFG Pin numbers and pin names <PORT order> (1/3)
PORT A
PORT B
TRACE
65 63 PB0 PU Yes - SMT
CLK
TRACE
66 64 PB1 PU Yes - SMT
DATA0
TRACE
67 65 PB2 PU Yes - SMT
DATA1
TMS/
68 66 PB3 PU Yes - SMT
SWDIO
TCK/
69 67 PB4 PD Yes - SMT
SWCLK
TDO/
70 68 PB5 PU Yes - SMT
SWV
PORT C
2015/3/31 Page 36
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-13 TMPM370FYFG/TMPM370FYDFG Pin numbers and pin names <PORT order> (2/3)
PORT D
PORT E
PORT F
PORT G
PORT H
Page 37 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-13 TMPM370FYFG/TMPM370FYDFG Pin numbers and pin names <PORT order> (3/3)
PORT I
AINA9/
87 85 PI1 PU/PD Yes - SMT
AINB0
AINA10/
86 84 PI2 PU/PD Yes - SMT
AINB1
AINA11/
85 83 PI3 PU/PD Yes - SMT
AINB2
PORT J
PORT K
PORTL
2015/3/31 Page 38
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-14 TMPM372FWUG Pin numbers and pin names <PORT order>(1/3)
PORT A
PORT B
TRACE
15 PB0 PU Yes - SMT
CLK
TRACE
16 PB1 PU Yes - SMT
DATA0
TRACE
17 PB2 PU Yes - SMT
DATA1
TMS/
22 PB3 PU Yes - SMT
SWDIO
TCK/
21 PB4 PD Yes - SMT
SWCLK
TDO/
20 PB5 PU Yes - SMT
SWV
PORT D
PORT E
Page 39 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-14 TMPM372FWUG Pin numbers and pin names <PORT order>(2/3)
PORT F
PORT G
PORT I
PORT J
PORT K
2015/3/31 Page 40
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-14 TMPM372FWUG Pin numbers and pin names <PORT order>(3/3)
PORT M
Page 41 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-15 TMPM373FWDUG Pin numbers and pin names <PORT order>(1/2)
PORT A
PORT B
TMS/
16 PB3 PU Yes - SMT
SWDIO
TCK/
15 PB4 PD Yes - SMT
SWCLK
TDO/
14 PB5 PU Yes - SMT
SWV
PORT D
PORT E
PORT F
PORT G
2015/3/31 Page 42
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-15 TMPM373FWDUG Pin numbers and pin names <PORT order>(2/2)
PORT I
PORT J
PORT K
PORT M
Page 43 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-16 TMPM374FWUG Pin numbers and pin names <PORT order>(1/2)
PORT A
PORT B
TMS/
15 PB3 PU Yes - SMT
SWDIO
TCK/
14 PB4 PD Yes - SMT
SWCLK
TDO/
13 PB5 PU Yes - SMT
SWV
PORT E
PORT F
PORT G
2015/3/31 Page 44
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-16 TMPM374FWUG Pin numbers and pin names <PORT order>(2/2)
PORT I
PORT J
PORT K
PORT M
Page 45 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-17 TMPM375FSDMG Pin numbers and pin names <PORT order>(1/2)
PORT B
TMS/ RXD1
16 PB3 PU/PD Yes - SMT
SWDIO (Note 1)
TCK/ TXD1
17 PB4 PU/PD Yes - SMT
SWCLK (Note 2)
SDA0/
TDO/
18 PB5 SCK0 SO0 PU/PD Yes - SMT
SWV
(Note 3)
SCL0/
RXD1
19 PB6 TDI SIO TB7OUT INT6 PU/PD Yes - SMT
(Note 1)
(Note 4)
PORT E
SCL0
21 PE2 SCLK0 CTS0 ENCZ INT7 PU/PD Yes - SMT
(Note 4)
PORT F
SDA0/
TXD1
20 PF0 BOOT TB7IN SO0 INTC PU/PD Yes - SMT
(Note 2)
(Note 3)
PORT G
PORT J
PORT K
2015/3/31 Page 46
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-17 TMPM375FSDMG Pin numbers and pin names <PORT order>(2/2)
PORT M
Page 47 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-18 TMPM376FDFG/TMPM376FDFG Pin numbers and pin names <PORT order> (1/4)
PORT A
PORT B
TRACE
65 63 PB0 PU Yes - SMT
CLK
TRACE
66 64 PB1 PU Yes - SMT
DATA0
TRACE
67 65 PB2 PU Yes - SMT
DATA1
TMS/
68 66 PB3 PU Yes - SMT
SWDIO
TCK/
69 67 PB4 PD Yes - SMT
SWCLK
TDO/
70 68 PB5 PU Yes - SMT
SWV
PORT C
PORT D
2015/3/31 Page 48
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-18 TMPM376FDFG/TMPM376FDFG Pin numbers and pin names <PORT order> (2/4)
PORT E
PORT F
TB7IN
52 50 PF0 BOOT PU/PD Yes - SMT
(Note)
PORT G
PORT H
Page 49 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-18 TMPM376FDFG/TMPM376FDFG Pin numbers and pin names <PORT order> (3/4)
PORT I
AINA9/
87 85 PI1 PU/PD Yes - SMT
AINB0
AINA10/
86 84 PI2 PU/PD Yes - SMT
AINB1
AINA11/
85 83 PI3 PU/PD Yes - SMT
AINB2
PORT J
PORT K
PORTL
PORTM
2015/3/31 Page 50
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
Table 1-18 TMPM376FDFG/TMPM376FDFG Pin numbers and pin names <PORT order> (4/4)
PORTN
TB7IN
99 97 PN3 PU/PD Yes - SMT
(Note)
Page 51 2015/3/31
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
TMPM370FYDFG TMPM370FYFG
Products TMPM372FWUG TMPM373FWDUG TMPM374FWUG TMPM375FSDMG
TMPM376FDDFG TMPM376FDFG
Pin No.
Control Pin names
QFP100 LQFP100 LQFP64 LQFP48 LQFP44 SSOP30
MODE 59 57 41 31 28 7
RESET 61 59 44 34 31 15
TMPM370FYDFG TMPM370FYFG
Products TMPM372FWUG TMPM373FWDUG TMPM374FWUG TMPM375FSDMG
TMPM376FDDFG TMPM376FDFG
Pin No.
Clock Pin names
QFP100 LQFP100 LQFP64 LQFP48 LQFP44 SSOP30
X1(Note) 49 47 37 27 24 25
X2(Note) 51 49 39 29 26 27
XT1 - - - - - -
XT2 - - - - - -
Note: X1 and X2 are dedicated pins only in the TMPM370. In the other products, these pins are shared
with input/output pins.
2015/3/31 Page 52
1.7 Pin Names and Functions
TMPM370 Group
Product Introduction Guide
TMPM370FYDFG TMPM370FYFG
Products TMPM372FWUG TMPM373FWDUG TMPM374FWUG TMPM375FSDMG
TMPM376FDFG TMPM376FDFG
RVDD5 60 58 42 32 29 -
AVDD5A 89 87 - - - -
AVDD5B 84 82 57 43 39 6 (Note2)
VOUT15 57 55 40 30 27 24
VOUT3 62 60 43 33 30 22
AVSSA 88 86 - - - -
AVSSB 83 81 56 42 38 1 (Note3)
DVDD5B - - - - - 28
DVSSB - - - - - 26
VINREG5 - - - - - 23
Page 53 2015/3/31
1.8 Port Equivalent Circuit Schematic
TMPM370 Group
Product Introduction Guide
Note: Resistors without values in the following figures indicate input protection resistors.
1.8.1 Ports
Schmitt trigger
Programmable
Input Enable Pull-up Resistor
Programmable
Pull-down Resistor
2015/3/31 Page 54
1.8 Port Equivalent Circuit Schematic
TMPM370 Group
Product Introduction Guide
TMPM370
PB0 to PB3,
TMPM372
PB5 to PB7 Output Data
TMPM376 P-ch
Open-drain Enable
Output Data
P-ch
TMPM370
TMPM372
Input Data I/O port
TMPM373 PB4
TMPM374 Schmitt trigger
TMPM376 Input Enable
Pull-down Enable
Programmable
Pull-down Resistor
Page 55 2015/3/31
1.8 Port Equivalent Circuit Schematic
TMPM370 Group
Product Introduction Guide
AVDD5A/VREFHA,
AVSSA/VREFLA, AVDD AVDD5(VREFH)
TMPM370
AVDD5B/VREFHB,
AVSSB/VREFLB ADC
VREFH
AVDD5B/VREFHB,
TMPM372
AVSSB/VREFLB
AVDD5B/VREFHB,
TMPM373 Resistor
AVSSB/VREFLB ladder
AVDD5B/VREFHB,
TMPM374
AVSSB/VREFLB
CVREFABC
TMPM370 +PRWV
CVREFD
Input Pin
MODE
Schmitt trigger
Pull-up Resistor
RESET
Input Pin
Schmitt trigger
2015/3/31 Page 56
1.8 Port Equivalent Circuit Schematic
TMPM370 Group
Product Introduction Guide
1.8.4 Clocks
Clock
Oscillator Circuit
X2
500M 1k (typ.)
(typ.)
X1, X2
High-frequency
Oscillation Enable
X1
Page 57 2015/3/31
1.9 Revision History
TMPM370 Group
Product Introduction Guide
2015/3/31 Page 58
1.9 Revision History
TMPM370 Group
Product Introduction Guide
Page 59 2015/3/31
1.9 Revision History
TMPM370 Group
Product Introduction Guide
2015/3/31 Page 60