TMP93xy20FG Toshiba, TMP93xy20FG Datasheet - Page 100

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
(1) 8-bit timer mode
The operation of 8-bit timers will be described below:
timers. When setting functions and count data, stop operation of timer 0 to 3.
1.
2.
TRUN
T10MOD
TREG1
INTET10
TRUN
Example: To generate timer 1 interrupt every 1 second at fs = 32 kHz, set each register in the following manner.
Four interval timers, designated 0 to 3, can be used independently as 8-bit interval
Generating interrupts in a fixed cycle
timer 1. Set the operation mode and input clock speed by setting T10MOD, and the
cycle time by setting TREG1. Then, enable interrupt INTT1 and start the counting of
timer 1.
Generating a 50% duty, square wave pulse
is output to timer output pin (TO1 and TO3).
Note: The input clock choices available for timer 0 and timer 1 differ from each other as
The operation of timer 1 will be explained below.
To generate timer 1 interrupts at constant intervals using timer 1 (INTT1), first stop
Use Table 3.7.1 for selecting the input clock.
Timer 1 and timer 3 have a timer flip-flop respectively.
The timer flip-flop (TFF1 and TFF3) is inverted at constant intervals, and its status
← − X − − − − 0 −
← 0 0 X X 1 0 − −
← 1 1 1 1 1 0 1 0
← 1 1 0 1 − − − −
← 1 X − − − − 1 −
follows.
Timer 0: TI0 input, φT1, φT4, φT16
Timer 1: Match detect signal of timer 0, φT1, φT16, φT256
X: Don’t care, −: No change
*
MSB
7 6 5 4 3 2 1 0
Clock condition
93CS20-98
LSB
System clock:
Prescaler clock: Low frequency (fs)
Stop timer 1, and clear it to 0.
Set the 8-bit timer mode, and select φT16 (4 ms at fs = 32
kHz) as the input clock.
Set the timer register 1, 1 s ÷ φT16 = 250 = FAH (H signifies
hexadecimal)
Enable INTT1, and set it to “level 5”.
Start timer 1 counting.
Low frequency (fs)
TMP93CS20
2004-02-10

Related parts for TMP93xy20FG