SST89V58RD Silicon Storage Technology, SST89V58RD Datasheet - Page 38

no-image

SST89V58RD

Manufacturer Part Number
SST89V58RD
Description
FlashFlex51 MCU
Manufacturer
Silicon Storage Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
SST89V58RD2-33-C-NJE
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
SST89V58RD2-33-C-NJE
Manufacturer:
SST
Quantity:
20 000
Part Number:
SST89V58RD2-33-C-TQJE
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
SST89V58RD2-33-I-N
Manufacturer:
SST
Quantity:
134
Part Number:
SST89V58RD2-33-I-NJE
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
SST89V58RD2-33-I-TQJE
Manufacturer:
Microchip Technology
Quantity:
10 000
www.DataSheet4U.com
Data Sheet
TABLE
Note: DISIAPL pin in PLCC or TQFP will also disable IAP commands if it is externally pulled low when reset.
5.0 TIMERS/COUNTERS
5.1 Timers
The device has three 16-bit registers that can be used as
either timers or event counters. The three timers/counters
are denoted Timer 0 (T0), Timer 1 (T1), and Timer 2 (T2).
Each is designated a pair of 8-bit registers in the SFRs.
The pair consists of a most significant (high) byte and least
significant (low) byte. The respective registers are TL0,
TH0, TL1, TH1, TL2, and TH2.
5.2 Timer Set-up
Refer to Table 3-8 for TMOD, TCON, and T2CON registers
regarding timers T0, T1, and T2. The following tables pro-
vide TMOD values to be used to set up Timers T0, T1, and
T2.
Except for the baud rate generator mode, the values given
for T2CON do not include the setting of the TR2 bit. There-
fore, bit TR2 must be set separately to turn the timer on.
©2006 Silicon Storage Technology, Inc.
Operation
Chip-Erase
Block-Erase
Sector-Erase
Byte-Program
Byte-Verify (Read)
Prog-SB1
Prog-SB2
Prog-SB3
Prog-SC0
Prog-SC1
Enable-Clock-Double
1. SFCF[6]=1 enables IAP commands; SFCF[6]=0 disables IAP commands.
2. Interrupt/Polling enable for flash operation completion
3. Chip-Erase only functions in IAP mode when EA#=0 (external memory execution) and device is not in level 4 locking.
4. X can be V
5. AH = Address high order byte
6. AL = Address low order byte
7. DI = Data Input, DO = Data Output, all other values are in hex.
8. SFAH[7:5] = 111b selects Block 1, SFAH[7] = 0b selects Block 0
9. Instruction must be located in Block 1 or external code memory.
SFCM[7] = 1: Interrupt enable for flash operation completion
9
9
9
9
9
4-2: IAP Commands
3
0: polling enable for flash operation completion
IL
or V
8
IH
9
, but no other value.
1
SFCM [6:0]
SST89E52RD2/RD / SST89E54RD2/RD / SST89E58RD2/RD
SST89V52RD2/RD / SST89V54RD2/RD / SST89V58RD2/RD
0DH
0BH
0EH
0CH
01H
0FH
03H
05H
09H
09H
08H
2
SFDT [7:0]
38
AAH
AAH
AAH
AAH
AAH
AAH
55H
DO
55H
DI
X
TABLE
7
Used as
Timer
Used as
Counter
7
1. The Timer is turned ON/OFF by setting/clearing
2. The Timer is turned ON/OFF by the 1 to 0 transition
bit TR0 in the software.
on INT0# (P3.2) when TR0 = 1 (hardware control).
Mode
5-1: Timer/Counter 0
0
1
2
3
0
1
2
3
SFAH [7:0]
8-bit Auto-Reload
8-bit Auto-Reload
Two 8-bit Timers
Two 8-bit Timers
AAH
5AH
13-bit Timer
16-bit Timer
13-bit Timer
16-bit Timer
AH
55H
AH
AH
AH
X
Function
X
X
X
4
5
FlashFlex51 MCU
Control
Internal
S71255-05-000
00H
01H
02H
03H
04H
05H
06H
07H
SFAL [7:0]
TMOD
AL
AL
AL
1
X
X
X
X
X
X
X
X
6
External
Control
T4-2.0 1255
T5-1.0 1255
0CH
0DH
08H
09H
0AH
0BH
0EH
0FH
5/06
2

Related parts for SST89V58RD