TMPM370FYFG Toshiba, TMPM370FYFG Datasheet - Page 169

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
9.7 Application example using the Capture Function
Count clock
(Internal clock)
TB0IN pin input
(External trigger pulse)
Match with TB0RG0
Match with TB0RG1
Timer output TB0OUTpin
The capture function can be used to develop many applications, including those described below:
One-shot pulse output triggered by an external pulse is carried out as follows:
The 16-bit up-counter is made to count up by putting it in a free-running state using the prescaler
output clock. An external pulse is input through the TB0IN pin. A trigger is generated at the rising of
the external pulse by using the capture function and the value of the up-counter is taken into the
capture registers (TB0CP0).
The CPU must be programmed so that an interrupt INTCAP00 is generated at the rising of an
external trigger pulse. This interrupt is used to set the timer registers (TB0RG0) to the sum of the
TB0CP0 value (c) and the delay time (d), (c + d), and set the timer registers (TB0RG1) to the sum of
the TB0RG0 values and the pulse width (p) of one-shot pulse, (c + d + p).
TB0RG1 change must be completed before the next match.
In addition, the timer flip-flop control registers (TB0FFCR<TB0E1T1, TB0E0T1>) must be set to “11.”
This enables triggering the timer flip-flop (TB0FF0) to reverse when UC matches TB0RG0 and
TB0RG1. This trigger is disabled by the INTTB01 interrupt after a one-shot pulse is output.
Symbols (c), (d) and (p) used in the text correspond to symbols c, d and p in Fig. 9-6 One-shot Pulse
Output (With Delay).”
One-shot pulse output triggered by an external pulse
One-shot pulse output triggered by an external pulse
Pulse width measurement
Fig. 9-6 One-shot Pulse Output (With Delay)
c
Put the counter in a free-running state.
Disable reverse when
data is taken into CAP0
Taking data into the capture register (TB0CP0)
INTCAP00 generation
Delay time
Enable reverse
(d)
TMPM370 9-26
c + d
Enable
reverse
INTTB00
Pulse width
(p)
c + d + p
INTTB01 generation
16-bit Timer/Event Counters
TMPM370

Related parts for TMPM370FYFG