DatasheetQ Logo
Electronic component search and free download site.
Transistors,MosFET ,Diode,Integrated circuits

SST89E54RDA-33-C-TQIE View Datasheet(PDF) - Silicon Storage Technology

Part Name
Description
Manufacturer
SST89E54RDA-33-C-TQIE
SST
Silicon Storage Technology SST
SST89E54RDA-33-C-TQIE Datasheet PDF : 84 Pages
First Prev 41 42 43 44 45 46 47 48 49 50 Next Last
FlashFlex MCU
SST89E54RD2A/RDA / SST89E58RD2A/RDA
SST89V54RD2A/RDA / SST89V58RD2A/RDA
Data Sheet
TABLE 5-2: Timer/Counter 1
TMOD
Mode
Function
Internal External
Control1 Control2
0
13-bit Timer
00H
80H
Used as 1
16-bit Timer
10H
90H
Timer
2 8-bit Auto-Reload 20H
A0H
3
Does not run
30H
B0H
0
13-bit Timer
40H
C0H
Used as 1
16-bit Timer
50H
Counter 2 8-bit Auto-Reload 60H
D0H
E0H
3
Not available
-
-
T5-2.0 1339
1. The Timer is turned ON/OFF by setting/clearing bit
TR1 in the software.
2. The Timer is turned ON/OFF by the 1 to 0 transition
on INT1# (P3.3) when TR1 = 1 (hardware control).
TABLE 5-3: Timer/Counter 2
T2CON
Mode
Internal External
Control1 Control2
16-bit Auto-Reload
00H
08H
16-bit Capture
01H
09H
Used as Baud rate generator
34H
36H
Timer receive and transmit
same baud rate
Receive only
24H
26H
Transmit only
14H
16H
Used as 16-bit Auto-Reload
02H
0AH
Counter
16-bit Capture
03H
0BH
T5-3.0 1339
1. Capture/Reload occurs only on timer/counter overflow.
2. Capture/Reload occurs on timer/counter overflow and a 1
to 0 transition on T2EX (P1.1) pin except when Timer 2 is
used in the baud rate generating mode.
5.3 Programmable Clock-Out
A 50% duty cycle clock can be programmed to come out
on P1.0. This pin, besides being a regular I/O pin, has two
alternate functions. It can be programmed:
1. to input the external clock for Timer/Counter 2, or
2. to output a 50% duty cycle clock ranging from 122
Hz to 8 MHz at a 16 MHz operating frequency (61
Hz to 4 MHz in 12 clock mode).
To configure Timer/Counter 2 as a clock generator, bit
C/#T2 (in T2CON) must be cleared and bit T20E in
T2MOD must be set. Bit TR2 (T2CON.2) also must be set
to start the timer.
The Clock-Out frequency depends on the oscillator fre-
quency and the reload value of Timer 2 capture registers
(RCAP2H, RCAP2L) as shown in this equation:
Oscillator Frequency
n x (65536 - RCAP2H, RCAP2L)
n = 2 (in 6 clock mode)
4 (in 12 clock mode)
Where (RCAP2H, RCAP2L) = the contents of RCAP2H
and RCAP2L taken as a 16-bit unsigned integer.
In the Clock-Out mode, Timer 2 roll-overs will not generate
an interrupt. This is similar to when it is used as a baud-rate
generator. It is possible to use Timer 2 as a baud-rate gen-
erator and a clock generator simultaneously. Note, how-
ever, that the baud-rate and the Clock-Out frequency will
not be the same.
©2007 Silicon Storage Technology, Inc.
42
S71339-01-000
1/07
 

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]