tmp19a61f10xbg TOSHIBA Semiconductor CORPORATION, tmp19a61f10xbg Datasheet - Page 293

no-image

tmp19a61f10xbg

Manufacturer Part Number
tmp19a61f10xbg
Description
32-bit Tx System Risc Tx19 Family
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP19A61F10XBG
Manufacturer:
TOSHIBA
Quantity:
1 000
Part Number:
TMP19A61F10XBG
Manufacturer:
TOSHIBA/东芝
Quantity:
20 000
Count clock
(TBxxIN0 pin input)
TBxxOUT
Taking data into
TBxxCP0H/L
Taking data into
TBxxCP1H/L
INTTB1
Enable reverse when data is
taken into TBxxCP0H/L.
Count clock
(Prescaler output
clock )
TBxxIN0 input
(External trigger pulse)
Match TBxxRG1L/H
Timer output TBxxOUT pin
Fig. 11.4.4.2 One-shot Pulse Output Triggered by an External Pulse (Without Delay)
Frequency measurement
The frequency of an external clock can be measured by using the capture function.
To measure frequency, another 16-bit timer (TMRB01) is used in combination with the
16-bit event counter mode (TMRB01 reverses TB01FFCR to specify the measurement
time).
The TBxxIN0 pin input is selected as the TMRBxx count clock to perform the count
operation using an external input clock. TBxxMOD<TBxxCPM1: 0> is set to “11.” This
setting allows a count value of the 16-bit up-counter UC0 to be taken into the capture
register (TBxxCP0) upon rising of a timer flip-flop (TB1FFCR) of the 16-bit timer
(TMRB1), and an UC0 counter value to be taken into the capture register
(TBxxCP1H/L) upon falling of TB1FF of the 16-bit timer (TMRB01).
A frequency is then obtained from the difference between TBxxCP0H/L and
TBxxCP1H/L based on the measurement, by generating the INTTB1 16-bit timer
interrupt.
For example, if the set width of TB1FF level “1” of the 16-bit timer is 0.5 s and if the
difference between TBxxCP0H/L and TBxxCP1H/L is 100, the frequency is 100 / 0.5 s
= 200 Hz.
C1
C1
c
Taking data into capture register TBxxCP0
INT5 generation
Fig. 11.4.4.3 Frequency Measurement
Enable reverse
Pulse width
TMP19A61 (rev 1.0)11-292
(p)
c+p
INTTBxx generation
C2
C2
Disable reverse when data is taken into
TBxxCP1H/L.
Taking data into capture
register TBxxCP1H/L
C1
TMP19A61
C2

Related parts for tmp19a61f10xbg