TMPM361F10FG Toshiba, TMPM361F10FG Datasheet - Page 342

no-image

TMPM361F10FG

Manufacturer Part Number
TMPM361F10FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMPM361F10FG

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMPM361F10FG
Manufacturer:
Toshiba
Quantity:
10 000
11.7
Applications using the Capture Function
11.7.2
11.7.3
an example, we explain with TMRB5 and TMRB0. TB0OUT of the 16-bit timer TMRB0 is used to specify
the measurement time.
TB5MOD<TBCPM[1:0]> is set "11", TMRB5 count clock takes the counter value into the TB5CP0 at the ris-
ing edge of TB0OUT and takes the counter value into TB5CP1 at the falling edge of TB0OUT.
(TB5CP0) upon rising of a timer flip-flop output (TB0OUT) of the 16-bit timer (TMRB0), and an UC coun-
ter value to be taken into the capture register (TB5CP1) upon falling of TB0OUT of the 16-bit timer (TMRB0).
ment, by generating the INTTB0 16-bit timer interrupt.
TB0OUT is 0.5 s, the frequency is 200 Hz (100 ÷ 0.5 s = 200 Hz).
by putting it in a free-running state using the prescaler output clock, an external pulse is input through the
TBxIN0 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 cap-
ture registers (TBxCP0, TBxCP1). The CPU must be programmed so that INTCAPx1 is generated at the fall-
ing edge of an external pulse input through the TBxIN0 pin.
TBxCP1 by the clock cycle of an internal clock.
clock is 0.5 μs, the pulse width is 100 × 0.5 μs = 50 μs.
dependant upon the source clock used. The measurement of such pulse widths must be made using software.
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 mode. As
TMRB5 count clock selects TB5IN0 input and performs count operation by using external clock input. If
This setting allows a count value of the 16-bit up-counter UC to be taken into the capture register
A frequency is then obtained from the difference between TB5CP0 and TB5CP1 based on the measure-
For example, if the difference between TB5CP0 and TB5CP1 is 100 and the level width setting value of
By using the capture function, the "High" level width of an external pulse can be measured. Specifically,
The "High" level pulse width can be calculated by multiplying the difference between TBxCP0 and
For example, if the difference between TBxCP0 and TBxCP1 is 100 and the cycle of the prescaler output
Caution must be exercised when measuring pulse widths exceeding the UC maximum count time which is
Frequency measurement
Pulse width measurement
Count clock
(TB5IN0 pin input)
TB0OUT
Taking data into
TB5CP0
Taking data into
TB5CP1
INTTB0
Figure 11-8 Frequency Measurement
C1
C1
Page 318
C2
C2
C1
C2
TMPM361F10FG

Related parts for TMPM361F10FG