TMPM370FYFG Toshiba, TMPM370FYFG Datasheet - Page 171

no-image

TMPM370FYFG

Manufacturer Part Number
TMPM370FYFG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMPM370FYFG

Product Summaries
Summary
Lead Free
Yes
Rohs Compatible Product(s)
Available
Rom (kbytes)
256K
Rom Type
Flash
Ram (kbytes)
10K
Number Of Pins
100
Package
LQFP(14x14)
Vcc
5V
Cpu Mhz
80
Ssp (ch) Spi
-
I2c/sio (ch)
-
Uart/sio (ch)
4
Usb
-
Can
-
Ethernet
-
External Bus Interface
N
Cs/wait Controller (ch)
-
Dma Controller
-
10-bit Da Converter
-
10-bit Ad Converter
-
12-bit Ad Converter
27
16-bit Timer / Counter
8
Motor / Igbt Control
Vector Engine
Real Time Clock
-
Watchdog Timer
Y
Osc Freq Detect
Y
Clock Gear
Y
Low-power Hold Function
-
Remote Control Interface
-
Hardware Cec Controller
-
Comparators
4
Low-voltage Detector
Y
Etm Hardware Trace
2-bit

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMPM370FYFG
Manufacturer:
TOSHIBA
Quantity:
1 000
Part Number:
TMPM370FYFG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Prescaler output clock
TB0IN pin input
(external pulse)
Taking data into TB0CP0
Taking data into TB0CP1
INTCAP00
INTCAP01
Pulse width measurement
By using the capture function, the “H” level width of an external pulse can be measured.
Specifically, by putting it in a free-running state using the prescaler output clock, an
external pulse is input through the TB0IN pin and the up-counter (UC) is made to count
up. A trigger is generated at each rising and falling edge of the external pulse by using
the capture function and the value of the up-counter is taken into the capture registers
(TB0CP0, TB0CP1). The CPU must be programmed so that INTCAP01 is generated
at the falling edge of an external pulse input through the TB0IN pin.
The “H” level pulse width can be calculated by multiplying the difference between
TB0CP0 and TB0CP1 by the clock cycle of an internal clock.
For example, if the difference between TB0CP0 and TB0CP1 is 100 and the cycle of
the prescaler output clock is 0.5 us, the pulse width is 100 × 0.5 us = 50 us.
Caution must be exercised when measuring pulse widths exceeding the UC maximum
count time which is dependant upon the source clock used. The measurement of such
pulse widths must be made using software.
The “L” level width of an external pulse can also be measured. In such cases, the
difference between C2 generated the first time and C1 generated the second time is
initially obtained by performing the second stage of INTCAP00 interrupt processing as
shown in “Fig. 9-8 Pulse Width Measurement” and this difference is multiplied by the
cycle of the prescaler output clock to obtain the “Low” level width.
C1
Fig. 9-8 Pulse Width Measurement
TMPM370 9-28
C2
C2
C1
16-bit Timer/Event Counters
C2
TMPM370

Related parts for TMPM370FYFG