TMPM382FSFG Toshiba, TMPM382FSFG Datasheet - Page 199

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
( 2 )
Count clock
(TB0IN pin input)
TB7OUT
Taking data into TB0CP0
Taking data into TB0CP1
INTTB70
INTTB71
mode. As an example, we explain with TMRB0 and TMRB7. TB7OUT of the 16-bit timer TMRB7 is
used to specify the measurement time.
an external input clock. TB0MOD<TBCPM1:0> is set to “11.” This setting allows a count value of
the 16-bit up-counter UC to be taken into the capture register (TB0CP0) upon rising of a timer
flip-flop output (TB7OUT) of the 16-bit timer (TMRB7), and an UC counter value to be taken into the
capture register (TB0CP1) upon falling of TB7OUT of the 16-bit timer (TMRB7).
measurement, by generating the INTTB70 and INTTB71 16-bit timer interrupt.
between TB0CP0 and TB0CP1 is 100, the frequency is 100 / 0.5 s = 200 Hz.
Frequency
The frequency of an external clock can be measured by using the capture function.
To measure frequency, another 16-bit timer is used in combination with the 16-bit event counter
The TB0IN pin input is selected as the TMRB0 count clock to perform the count operation using
A frequency is then obtained from the difference between TB0CP0 and TB0CP1 based on the
For example, if the set width of TB7FF0 level “1” of the 16-bit timer is 0.5 s and if the difference
measurement
C1
C1
Fig 9-8 Frequency Measurement
TMPM380/M382 - 33 / 34 -
C2
C2
C1
TMPM380/M382
C2

Related parts for TMPM382FSFG