TMP93xy20FG Toshiba, TMP93xy20FG Datasheet - Page 136

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
d.
Counter clock
(Internal clock)
TI8 pin input
(External trigger pulse)
Match with TREG8
Match with TREG9
Timer output pin TO8
Application examples of the capture function
Used capture function, they can be applied in many ways, for example:
1. One-shot pulse output from external trigger pulse
2. Frequency measurement
3. Pulse width measurement
4. Time difference measurement
These four application examples are described in detail below.
1. One-shot pulse output from external trigger pulse
with the internal input clock, input the external trigger pulse from the TI8 pin,
and load the value of the up counter into capture register CAP8 at the rising
edge of the TI8 pin.
set the CAP8 value (c) plus a delay time (d) to TREG8 (= c + d), and set the
above set value (c + d) plus a one-shot pulse width (p) to TREG9 (= c + d + p).
When the interrupt INT8 occurs, the T8FFCR<EQ9T8 and EQ8T8>register
should be set to 11 so that the TFF8 inversion is enabled only when the up
counter value matches TREG8 or TREG9. When interrupt INTTR9 occurs,
this inversion will be disabled.
delay)”.
Figure 3.8.22 One-shot Pulse Output (with delay)
To program this application, set the up counter UC8 in free-running mode
When the interrupt INT8 is generated at the rising edge of the TI8 input,
(c), (d), and (p) are described in Figure 3.8.22 “One-shot Pulse Output (with
Set the counter in free-running mode.
c
Disable inversion caused by
loading of the up counter
value into CAP8.
93CS20-134
Load the up counter value into capture
register 8 (CAP8) when INT8 occurs
Delay time
Enable
inversion
(d)
c + d
Enable
inversion
Pulse width
(p)
c + d + p
INTTR9
occurrence
TMP93CS20
2004-02-10

Related parts for TMP93xy20FG