TMP93xy20FG Toshiba, TMP93xy20FG Datasheet - Page 138

no-image

TMP93xy20FG

Manufacturer Part Number
TMP93xy20FG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP93xy20FG

Package
LQFP144
Rom Types(m=mask,p=otp, F=flash,e=eeprom)
M/P
Rom Combinations
64
Ram Combinations
2
Architecture
16-bit CISC
Usb/spi Channels
-
Uart/sio Channels
2
I2c/sio Bus Channels
1
(s)dram Controller
-
Adc 10-bit Channel
8
Da Converter
-
Timer 8-bit Channel
4
Timer 16-bit Channel
4
Pwm 8-bit Channels
-
Pwm 16-bit Channels
-
Cs/wait Controller
-
Dual Clock
Y
Number Of I/o Ports
88
Power Supply Voltage(v)
4.5 to 5.5
Count clock
(TI8 input)
TFF1
Loading into CAP8
Loading into CAP9
INTT0/INTT1
Count clock
(Internal clock)
TI8 pin input
(External trigger pulse)
Match with TREG9
Timer output pin TO8
Enable inversion caused by loading
of the up counter value into CAP8.
2. Frequency measurement
Figure 3.8.23 One-shot Pulse Output (without delay)
measured in this mode. The frequency is measured by combining the 16-bit
event counter mode with the 8-bit timer (Timer 0 and timer 1). (Timer 0 and
timer 1 set the measurement time by the TFF1 inversion.)
external clock input starts counting. Timer mode control register,
T8MOD<CAP89M1:0> should be set to 11. The value of the 16-bit up counter,
UC8 is loaded into the capture register CAP8 at the rising edge of the timer
flip-flop TFF1 of the 8-bit timers (Timer 0 and timer 1). Similarly, the up
counter value is loaded into CAP9 at the falling edge of the TFF1 flip-flop.
CAP8 and CAP9, at the moment when an interrupt (INTT0 or INTT1) is
generated by either 8-bit timer.
set to 0.5 s and the difference between CAP8 and CAP9 is 100, the frequency
will be 100 ÷ 0.5 s = 200 Hz.
Using the capture function, the frequency of the external clock can be
The TI8 pin input should be selected for the count clock of timer 8. The
The frequency is calculated by the difference between the values loaded in
For example, if the value for the level 1 width of TFF1 of the 8-bit timer is
Figure 3.8.24 Frequency Measurement
C1
C1
c
Enable inversion
INT8 occurrence. Load the up counter value
into capture register 8 (CAP8).
Pulse width
93CS20-136
(p)
C2
C2
c + p
INTTR9 occurrence
Disable inversion caused by loading
of the up counter value into CAP9.
C1
Load the up counter value into
capture register 9 (CAP9).
TMP93CS20
2004-02-10
C2

Related parts for TMP93xy20FG