TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 340

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
12 Encoder Input Circuit (ENC)
(1) When <P3EN> = 1 (<EN0INT> = 0x0002)
(2) When <P3EN> = 0 (<EN0INT> = 0x0002)
Encoder Pulse, ENCLK
12.3.1.2
Encoder Pulse, ENCLK
Encoder Counter
Encoder Counter
・ When <ENCLR> is set to 1, causing the encoder counter to be cleared to 0.
・ <U/D> is set to 1 during CW rotation and cleared to 0 during CCW rotation.
・ TIMPLS, which is derived by dividing ENCLK by a programmed factor, can be driven out
・ If <CMPEN> is set to 1, an interrupt is generated when the value of the encoder counter has
・ Clearing <ENRUN> to 0 clears <ZDET> and <U/D> to 0.
・ In Sensor Event Count mode, the Hall sensor inputs of the TMPM370 should be connected to the
・ During CW rotation, the encoder counter counts up; when it has reached 0xFFFF, it wraps around
Rotation Direction
Interrupt, INTENC0
Interrupt, INTENC0
Encoder Input, A
Encoder Input, B
Encoder Input, Z
Encoder Input, A
Encoder Input, B
Encoder Input, Z
Rotation Direction
(÷2) TIMPLS
(÷2) TIMPLS
If the ENCLK and Z edges coincide, the encoder counter is cleared to 0 without incrementing or
decrementing.
externally.
reached the value of <EN0INT>. When <ZEN> = 1, however, an interrupt does not occur while
<ZDET> = 0.
A(U), B(V) and Z(W) channels. The encoder counter counts the pulses of ENCLK, which is either
multiplied_by_4 clock (when <P3EN> = 0) derived from the decoded A(U) and B(V) signals or
multiplied_by_6 clock (when <P3EN> = 1) derived from the decoded A(U), B(V) and Z(W)
signals.
to 0 on the next ENCLK.
Sensor Event Count Mode
fsys
fsys
dir
dir
FFFC
FFFC
FFFD
FFFD
FFFE
FFFE
TMPM380/M382 - 14 / 23 -
FFFF
FFFF
0
0
CW
CW
1
1
2
2
3
3
2
2
1
1
0
0
FFFF
FFFF
FFFE
FFFE
CCW
CCW
FFFD
FFFD
TMPM380/M382
FFFC
FFFC
FFFB
FFFB
FFFA
FFFA

Related parts for TMPM382FSFG