Silicon Storage Technology Inc SST89V564RC-25-C-PJ, SST89V564RC-25-C-PI, SST89V564RC-25-C-NJ, SST89V564RC-25-C-NI, SST89V564RD-40-C-NI Datasheet

...
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
1
The SST logo and SuperFlash are registered trademarks of Silicon Storage Technology, Inc.
FlashFlex, In-Application Programming, IAP, and SoftLock are trademarks of Silicon Storage Technology, Inc.
These specifications are subject to change without notice.
Preliminary Specifications
FEATURES:
• SST89E564RD/SST89E554RC is 5V Operation
– 0 to 40 MHz Operation at 5V
• SST89V564RD/SST89V554RC is 3V Operation
– 0 to 25 MHz Operation at 3V
• Fully Software and Developmen t Tool set Compatible as well as Pin -For -Pin Packa ge Compatible with Stan dar d 8xC5x Micr ocont r ollers
• 1 KByte Register/Data RAM
• Dual Block SuperFlash EEPROM
– SST89E564RD/SST89V564RD: 64 KByte pri-
mary block + 8 KByte secondary block (128-Byte sector size)
– SST89E554RC/SST89V554RC: 32 KByte pri-
mary block + 8 KByte secondary block
(128-Byte sector size) – Individual Block Security Lock – Concurrent Operation during In-Application
Programming (IAP) – Block Address Re-mapping
• Support External Address Range up to 64 KByte of Program and Data Memory
• Three High-Current Drive Pins (16 mA each)
• Three 16-bit Timers/Counters
• Full-Duplex Enhanced UART
– Framing error detection – Automatic address recognition
• Nine Interrupt Sources at 4 Priority Levels
• Watchdog Timer (WDT)
• Programmable Counter Array (PCA)
• Four 8-bit I/O Ports (32 I/O Pins)
• Second DPTR register
• Reduce EMI Mode (In hibi t ALE t hro ugh AUXR SFR )
• SPI Serial Interface
• TTL- and CMOS-Compatible Logic Levels
• Brown-out Detection
• Extended Power-Saving Modes
– Idle Mode – Power Down Mode with External Interrupt Wake-up – Standby (Stop Clock) Mode
• PDIP-40, PLCC-44 and TQFP-44 Packages
• Temperature Ranges:
– Commercial (0°C to +70°C) – Industrial (-40°C to +85°C)
PRODUCT DESCRIPTION
SST89E564RD, SST89V564RD, SST89E554RC, and SST89V554RC are members of the Fla shFlex5 1 famil y of 8­bit microcontroller s. The Flash Flex51 is a family o f microcon­troller products designed and manufactured on the state-of­the-art SuperFlash CMOS semiconductor process technol­ogy. The device uses the same powerful instruction set and is pin-fo r-pin com patib le with standard 8xC 5x microco ntroller devices.
The device comes with 72/40 KByte of on-chip flash EEPROM program memory using SST’s patented and pro­prietary CMO S Super Flash E EPROM tech nolo gy with the SST’s field-enhancing, tunnel ing injector, split-gate mem­ory cells. The SuperFlash memory is partitioned into 2 independent program memory blocks. The primary Super­Flash Block 0 occupies 64 /32 KByte of internal program memory space and the secondary SuperFlash Block 1 occupies 8 KByte of i nt ernal program memory space. The 8-KByte second ary SuperFlash block ca n be mapped to the lowest location of the 64 /32 KByte address space; it can also be hidden from the program counter and used as an independent EEPROM-like data memory. The flash memory blocks can be programmed via a standard 87C5x OTP EPR OM prog ramm er fitted wi th a specia l adapter and
firmware for SST’s device. During the power-on reset, the device can be configured as a slave to an external host for source code storage or as a master to an external host for In-Application Pro grammi ng ( IA P) operation. The device is designed to be p rogrammed “In-System ” and “In-Applic a­tion” on the printed circuit board for maximum flexibility. The device is pre-programmed with an example of bootstrap loader in the memo ry, demonstrating the initial user pro­gram code loading or su bsequent user c ode updating v ia the “IAP” operatio n. An example of bootstrap loader is for the user’s reference and convenience only. SST does not guarantee the functionality or the usefulness of the sample bootstrap loader. Chip-Erase or Block-Erase operations will erase the pr e-pro gra mmed samp le code .
In addition to 72/40 K Byte of SuperFlash EEPROM pro­gram memory on-chip, the device can address up to 64 KByte of e x te rnal pro g r a m me mo ry. In additio n to 10 24 x 8 bits of on-chip RAM, up to 64 KByte of external RAM can be addressed.
SST’s highly reliable, patented SuperFlash technology and memory cell architecture have a number of important advantages for designing and manufacturing flash EEPROMs. These advantages translate into significant cost and reliability benefits for our customers.
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
SST89E/V564RD SST89E/VE554RC FlashFlex51 MCU
2
Preliminary Specifications
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
TABLE OF CONTENTS
PRODUCT DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
LIST OF FIGURES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
LIST OF TABLES. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.0 FUNCTIONAL BLOCKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Functional Block Diagram. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2.0 PIN ASSIGNMENTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Pin Descriptions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3.0 MEMORY ORGANIZATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.1 Program Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3.2 Program Memory Block Switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.2.1 Reset Configuration of Program Memory Block Switching. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.3 Data Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.4 Dual Data Pointers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
3.5 Special Function Registers (SFR) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.0 FLASH MEMORY PROGRAMMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.1 External Host Programming Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.1.1 Product Identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.1.2 Arming Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.1.3 Detail Explanation of the External Host Mode Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
4.1.4 External Host Mode Clock Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.1.5 Flash Operation Status Detection Via External Host Handshake . . . . . . . . . . . . . . . . . . . . . . . . 30
4.1.6 Step-by-step instructions to perform
External Host Mode commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
4.1.7 Flash Memory Programming Timing Diagrams with External Host Mode . . . . . . . . . . . . . . . . . . 31
4.2 In-Application Programming Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.2.1 In-Application Programming Mode Clock Source. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.2.2 Memory Bank Selection for In-Application Programming Mode. . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.2.3 IAP Enable Bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.2.4 In-Application Programming Mode Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
4.2.5 Polling. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4.2.6 Interrupt Termination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
5.0 TIMERS/COUNTERS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.0 SERIAL I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.1 Enhanced Universal Asynchronous Receiver/Transmitter (UART) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.1.1 Framing Error Detection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.1.2 Automatic Address Recognition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
6.2 Serial Peripheral Interface (SPI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Preliminary Specifications
FlashFlex51 MCU SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
3
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
7.0 WATCHDOG TIMER . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
8.0 PROGRAMMABLE COUNTER ARRAY (PCA) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.1 PCA Timer/Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.2 PCA Compare/Capture Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.2.1 Capture Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
8.2.2 16-Bit Software Timer Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
8.2.3 High Speed Output Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
8.2.4 Pulse Width Modulator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
8.2.5 Watchdog Timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.0 SECURITY LOCK. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.1 Hard Lock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.2 SoftLock. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
9.3 Security Lock Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
10.0 RESET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
10.1 Power-On Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
10.2 Software Reset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
10.3 Brown-out Detection Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
10.4 Interrupt Priority and Polling Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
10.5 Power-Saving Modes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.5.1 Idle Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.5.2 Power Down Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.5.3 Standby Mode (Stop Clock) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
10.6 Clock Input Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
10.7 Recommended Capacitor Values for Crystal Oscillator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
11.0 ELECTRICAL SPECIFICATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Absolute Maximum Stress Ratings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
11.1 Operation Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
11.2 Reliability Characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
11.3 DC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
11.4 AC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
11.5 AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
12.0 PRODUCT ORDERING INFORMATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
12.1 Valid Combinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
13.0 PACKAGING DIAGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
4
Preliminary Specifications
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
LIST OF FIGURES
FIGURE2-1: Pin Assignments for 40-pin PDIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
FIGURE2-2: Pin Assignments for 44-lead TQFP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
FIGURE2-3: Pin Assignments for 44-lead PLCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
FIGURE3-1: Program Memory Organization for SST89E564RD and SST89V564RD . . . . . . . . . . . . . . . . 10
FIGURE3-2: Program Memory Organization for SST89E554RC and SST89V554RC . . . . . . . . . . . . . . . . 11
FIGURE4-1: I/O Pin Assignments for External Host Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
FIGURE4-2: Read-ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
FIGURE4-3: Select-Block1 / Select-Block0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
FIGURE4-4: Chip-Erase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
FIGURE4-5: Block-Erase for SST89E564RD/SST89V564RD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
FIGURE4-6: Block-Erase for SST89E554RC/SST89V554RC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
FIGURE4-7: Sector-Erase. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
FIGURE4-8: Byte-Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
FIGURE4-9: Prog-SB1 / Prog-SB2 / Prog-SB3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
FIGURE4-10: Prog-SC0 / Prog-SC1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
FIGURE4-11: Byte-Verify . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
FIGURE6-1: SPI Master-slave Interconnection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
FIGURE6-2: SPI Transfer Format with CPHA = 0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
FIGURE6-3: SPI Transfer Format with CPHA = 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
FIGURE7-1: Block Diagram of Programmable Watchdog Timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
FIGURE9-1: Security Lock Levels. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
FIGURE10-1: Power-on Reset Circuit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
FIGURE10-2: Oscillator Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
FIGURE11-1: I
DD
Test Condition, Active Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
FIGURE11-2: I
DD
Test Condition, Idle Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
FIGURE11-3: I
DD
Test Condition, Power-Down Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
FIGURE11-4: I
DD
Test Condition, Standby (Stop Clock) Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
FIGURE11-5: AC Testing Input/Output, Float Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
FIGURE11-6: External Program Memory Read Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
FIGURE11-7: External Data Memory Read Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
FIGURE11-8: External Data Memory Write Cycle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
FIGURE11-9: External Clock Drive Waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
FIGURE11-10: Shift Register Mode Timing Waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Preliminary Specifications
FlashFlex51 MCU SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
5
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
LIST OF TABLES
TABLE 2-1: Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
TABLE 3-1: SFCF Values for Program Memory Block Switching for SST89E564RD/SST89V564RD . . . 11 TABLE 3-2: SFCF Values for Program Memory Block Switching for SST89E554RC/SST89V554RC . . . 12
TABLE 3-3: SFCF Values Under Different Reset Conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
TABLE 3-4: FlashFlex51 SFR Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
TABLE 3-5: CPU related SFRs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
TABLE 3-6: Flash Memory Programming SFRs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
TABLE 3-7: Watchdog Timer SFRs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
TABLE 3-8: Timer/Counters SFRs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
TABLE 3-9: Interface SFRs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
TABLE 3-10: PCA SFRs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
TABLE 3-11: PCA Module Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
TABLE 4-1: External Host Mode Commands for SST89E564RD/SST89V564RD . . . . . . . . . . . . . . . . . . 27
TABLE 4-2: External Host Mode Commands for SST89E554RC/SST89V554RC . . . . . . . . . . . . . . . . . . 28
TABLE 4-3: Signature Bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
TABLE 4-4: IAP Address Resolution for SST89E564RD/SST89V564RD . . . . . . . . . . . . . . . . . . . . . . . . . 36
TABLE 4-5: In-Application Programming Mode Commands for SST89E564RD/SST89V564RD . . . . . . . 38
TABLE 4-6: In-Application Programming Mode Commands for SST89E554RC/SST89V554RC . . . . . . . 38
TABLE 4-7: Flash Memory Programming/Verification Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
TABLE 8-1: Count Pulse Selected Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
TABLE 8-2: Possible Modes and Associated Values for CCAPMn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
TABLE 9-1: Security Lock Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
TABLE 9-2: Security Lock Access Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
TABLE 10-1: Interrupt Polling Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
TABLE 10-2: Power Saving Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
TABLE 11-1: Operating Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
TABLE 11-2: Reliability Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
TABLE 11-3: DC Electrical Characteristics: 40MHz devices; 4.5-5.5V . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
TABLE 11-4: DC Electrical Characteristics: 25MHz devices; 2.7-3.6V . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
TABLE 11-5: AC Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
TABLE 11-6: External Clock Drive. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
TABLE 11-7: Serial Port Timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
6
Preliminary Specifications
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
1.0 FUNCTIONAL BLOCKS
9 Interrupts
SuperFlash
EEPROM
Primary
Block
32K/64K x8
1
Secondary
Block 8K x8
I/O
I/O
I/O
I/O
Watchdog Timer
Interrupt
Control
8051
CPU Core
RAM
1K x8
Security
Lock
I/O Port 0
I/O Port 1
I/O Port 2
I/O Port 3
8-bit
Enhanced
UART
SPI
Timer 0 (16-bits)
Timer 1 (16-bits)
Timer 2 (16-bits)
88
8
8
555 ILL B1.0
PCA
1. 64K x8 for SST89E564RD and SST89V564RD 32K x8 for SST89E554RC and SST89V554RC
FUNCTIONAL BLOCK DIAGRAM
Preliminary Specifications
FlashFlex51 MCU SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
7
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
2.0 PIN ASSIGNMENTS
FIGURE 2-1: PIN ASSIGNMENTS FOR 40-PIN PDIP FIGURE 2-2: PIN ASSIGNMENTS FOR 44-LEAD TQFP
FIGURE 2-3: P
IN ASSIGNMENTS FOR 44-LEAD PLCC
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21
(T2) P1.0
(T2 Ex) P1.1
P1.2 P1.3
(SS#) P1.4 (MOSI) P1.5 (MISO) P1.6
(SCK) P1.7
RST
(RXD) P3.0
(TXD) P3.1 (INT0#) P3.2 (INT1#) P3.3
(T0) P3.4 (T1) P3.5
(WR#) P3.6
(RD#) P3.7
XTAL2 XTAL1
V
SS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
V
DD P0.0 (AD0) P0.1 (AD1) P0.2 (AD2) P0.3 (AD3) P0.4 (AD4) P0.5 (AD5) P0.6 (AD6) P0.7 (AD7) EA# ALE/PROG# PSEN# P2.7 (A15) P2.6 (A14) P2.5 (A13) P2.4 (A12) P2.3 (A11) P2.2 (A10) P2.1 (A9) P2.0 (A8)
40-pin PDIP
T op View
555 ILL F1a.0
(MOSI) P1.5 (MISO) P1.6
(SCK) P1.7
RST
(RXD) P3.0
Reserved
(TXD) P3.1 (INT0#) P3.2 (INT1#) P3.3
(T0) P3.4
(T1) P3.5
P0.4 (AD4) P0.5 (AD5) P0.6 (AD6) P0.7 (AD7) EA# Reserved ALE/PROG# PSEN# P2.7 (A15) P2.6 (A14) P2.5 (A13)
P1.4 (SS#)
P1.3
P1.2
P1.1 (T2 Ex)
P1.0 (T2)
Reserved
VDDP0.0 (AD0)
P0.1 (AD1)
P0.2 (AD2)
P0.3 (AD3)
(WR#) P3.6
(RD#) P3.7
XTAL2
XTAL1
V
SS
Reserved
(A8) P2.0
(A9) P2.1
(A10) P2.2
(A11) P2.3
(A12) P2.4
555 ILL F1b.0
1 2 3 4 5 6 7 8 9 10 11
33 32 31 30 29 28 27 26 25 24 23
44 43 42 41 40 39 38 37 36 35 34
12 13 14 15 16 17 18 19 20 21 22
44-lead TQFP
T op View
39 38 37 36 35 34 33 32 31 30 29
7 8 9 10 11 12 13 14 15 16 17
(MOSI) P1.5 (MISO) P1.6
(SCK) P1.7
RST
(RXD) P3.0
Reserved
(TXD) P3.1 (INT0#) P3.2 (INT1#) P3.3
(T0) P3.4 (T1) P3.5
P0.4 (AD4) P0.5 (AD5) P0.6 (AD6) P0.7 (AD7) EA# Reserved ALE/PROG#
PSEN# P2.7 (A15) P2.6 (A14) P2.5 (A13)
6 5 4 3 2 1 44 43 42 41 40
18 19 20 21 22 23 24 25 26 27 28
P1.4 (SS#)
P1.3
P1.2
P1.1 (T2 Ex)
P1.0 (T2)
Reserved
VDDP0.0 (AD0)
P0.1 (AD1)
P0.2 (AD2)
P0.3 (AD3)
(WR#) P3.6
(RD#) P3.7
XTAL2
XTAL1
V
SS
Reserved
(A8) P2.0
(A9) P2.1
(A10) P2.2
(A11) P2.3
(A12) P2.4
44-lead PLCC
T op Vie w
555 ILL F01c.0
8
Preliminary Specifications
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
2.1 Pin Descriptions
TABLE 2-1: PIN DESCRIPTIONS (1 OF 2)
Symbol Type
1
Name and Functions
P0[7:0] I/O Port 0: Port 0 is an 8-bit open drain bi-directional I/O port. As an output port each pin can
sink several LS TTL inputs. Port 0 pins float that have “1”s written to them, and in this state can be used as high-impedance inputs. Port 0 is also the multiplexed low-order address and data bus during accesses to external memory. In this application, it uses strong internal pull­ups when transitioning to V
OH
. Port 0 also receives the code bytes during the external host mode programming, and outputs the code bytes during the external host mode verification. External pull-ups are required during program verific ation.
P1[7:0] I/O with internal
pull-ups
Port 1: Port 1 is an 8-bit bi-directional I/O port with internal pull-ups. The P o rt 1 output buff ers can drive LS TTL inputs. Port 1 pins are pulled high by the internal pull-ups when “1”s are written to them and can be used as inputs in this state. As inputs, Port 1 pins that are exter­nally pulled low will so urce cu rrent (I
IL
, see Tables 11-3 and 11-4 ) beca use of t he inte rnal pull­ups. P1[5, 6, 7] have high current drive of 16 mA. Port 1 also receives the low-order address bytes during the external host mode programming and verif ication.
P1[0] I/O T2: External count input to Timer/Counter 2 or Clock-out from Timer/Counter 2 P1[1] I T2EX: Timer/Counter 2 capture/reload trigger and direction control P1[2] I ECI: PCA Timer/Counter External Input:
This signal is the external clock input for the PCS timer/counter.
P1[3] I/O CEX0: Compare/Capture Module External I/O
Each compare/capture module connects to a Port 1 pin for external I/O. When not used by the PCA, this pin can handle standard I/O.
P1[4] I/O SS#: Master Input or Slave Output for SPI.
OR CEX1: Compare/Capture Module External I/O
P1[5] I/O MOSI: Master Output line, Slave Input line for SPI
OR CEX2: Compare/Capture Module External I/O
P1[6] I/O MISO: Master Input line, Slave Output line for SPI
OR CEX3: Compare/Capture Module External I/O
P1[7] I/O SCK: Master clock output, slave clock input line for SPI
OR CEX4: Compare/Capture Module External I/O
P2[7:0] I/O with internal
pull-ups
Port 2: Port 2 is an 8-bit bi-directional I/O port with internal pull-ups. Port 2 pins are pulled high by the internal pull-ups when “1”s are written to them and can be used as inputs in this state. As inputs, Port 2 pins that are externally pulled low will source current (I
IL
, see Tables 11-3 and 11-4) because of the internal pull-ups. Port 2 sends the high-order address byte during fetches from exte rnal Program me mory and during acce sses to e xternal Data Mem ory that use 16-bit address (MOVX@DPTR). In this application, it uses strong internal pull-ups when transitioning to V
OH
. Port 2 also receives some control signals and a partial of high-
order address bits during the external host mode programming and verification.
P3[7:0] I/O with internal
pull-ups
Port 3: Port 3 is an 8-bit bidirecti onal I/O port with internal pull-ups. The P ort 3 output buffers can drive LS TTL inputs. Port 3 pins are pulled high by the internal pull-ups when “1”s are written to them and can be used as inputs in this state. As inputs, Port 3 pins that are exter­nally pulled low will so urce cu rrent (IIL, see Tables 11-3 and 11-4 ) beca use of t he inte rnal pull­ups. P ort 3 also receives some control signals and a partial of high-order addre ss bits during the external host mode programming and verification.
P3[0] I RXD: Serial input line P3[1] O TXD: Serial output lin e P3[2] I INT0#: External Interrupt 0 Input
Preliminary Specifications
FlashFlex51 MCU SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
9
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
P3[3] I INT1#: External Interrupt 1 Input P3[4] I T0: External count input to Timer/Counter 0 P3[5] I T1: External count input to Timer/Counter 1 P3[6] O WR#: External Data Memory Write strobe P3[7] O RD#: External Data Memory Read strobe
PSEN# I/O Program Store Enable: PSEN# is the Read strobe to External Program Store. When the
device is executing from Internal Program Memory, PSEN# is inactive (V
OH
). When the device is executing code from External Program Memory, PSEN# is activated twice each machine cycle, ex ce pt whe n acce ss to Exte rnal Data Memory while one PSEN# activation is skipped in each machine cycle. A forced high-to-low input transition on the PSEN# pin while the RST input is continually held high for more than ten mac hin e c yc les wil l ca us e the device to enter External Host mode for programming.
RST I Reset: Whil e the oscill ator is running, a hi gh logic sta te on this pin for tw o machine c ycles will
reset the device. After a reset, if the PSEN# pin is driven by a high-to-low input transition while the RST input pin is held high, the device will enter the Exter nal Host mode, otherwise the device will enter the Normal operation mode.
EA# I External Access Enable: EA# must be driven to V
IL
in order to enable the device to fetch
code from the External Program Memory. EA# must be driven to V
IH
for internal program exe­cution. However, Security lock level 4 will disable EA#, and program execution is only possi­ble from internal program memory. The EA# pin can tolerate a high voltage2 of 12V (see “Absolute Maximum Stress Ratings” on page 51).
ALE/PROG# I/O Address Latch Enable: ALE is the output signal for latching the low byte of the address dur-
ing access es to external memor y. This pin is also the programming pulse input (PROG#) for the external host mode. ALE is activated twice each machine cycle, except when access to External Data Memory, one ALE activation is skipped in th e seco nd mac hine cycl e . Ho wever, if AO is set to 1, ALE is disabled. (see “Auxiliary Register (AUXR)” on page20)
XTAL1 XTAL2
I
O
Oscillator: Input and output to the inverting oscillator amplifier. XTAL1 is input to internal clock generation circuits from an external clock source.
V
DD
I Power Supply: Supply voltage during normal, Idle, Power Down, and Standby Mode opera-
tions.
V
SS
I Ground: Circuit ground. (0V reference)
T2-1.0 555
1. I = Input; O = Output
2. It is not necessary to receive a 12V programming supply voltage during flash programming.
TABLE 2-1: PIN DESCRIPTIONS (CONTINUED) (2 OF 2)
Symbol Type
1
Name and Functions
10
Preliminary Specifications
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
3.0 MEMORY ORGANIZATION
The device has separate addr e ss s pa ces for program an d data memory.
3.1 Program Memory
There are two internal flash memor y blocks in the device. The primary flash memory block (Block 0) has 64/32 KByte. The secondary flash memory block (Block 1) has 8 KByte. Since the total program address space is limited to 64/32 KByte, the SFCF[1:0] bit are used to control Program
Bank Selectio n. Please re fer to Figure 3-1 and F igure 3-2 for the program memory configurations. Program Bank Select is described in the next section.
The 64K/32K x8 primary SuperFlash block is organized as 512/256 sectors, each sector consists of 128 Bytes.
The 8K x8 secondary SuperFlash block is organized as 64 sectors, each sector consists also of 128 Bytes.
For both blocks, the 7 least significant program address bits select the byte within the sector. The remainder of the pro­gram addr ess bits selec t the sect or with in the b loc k.
FIGURE 3-1: P
ROGRAM MEMORY ORGANIZATION FOR SST89E564RD AND SST89V564RD
555 ILL F02.0
External
64 KByte
EA# = 0
FFFFH
0000H
64 KByte
Block 0
EA# = 1
SFCF[1:0] = 01, 10, 11
FFFFH
0000H
56 KByte
Block 0
8 KByte
Block 1
EA# = 1
SFCF[1:0] = 00
FFFFH
2000H
0000H
1FFFH
Preliminary Specifications
FlashFlex51 MCU SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
11
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
FIGURE 3-2: PROGRAM MEMORY ORGANIZATION FOR SST89E554RC AND SST89V554RC
3.2 Program Memory Block Switching
The program memory block s wit ch in g feature of the device allows either Block 1 or the lowest 8 KByte of Block 0 to be used for the lowest 8 KByte of the program address space. SFCF[1:0] controls program memory block switching.
555 ILL F03.2
External
64 KByte
EA# = 0
FFFFH
0000H
32 KByte
Block 0
EA# = 1
SFCF[1:0] = 10, 11
FFFFH
0000H
24 KByte
Block 0
8 KByte
Block 1
8 KByte
Block 1
EA# = 1
SFCF[1:0] = 00
FFFFH
2000H
7FFFH
8000H
DFFFH
E000H
DFFFH
E000H
7FFFH
8000H
0000H
1FFFH
External
24 KByte
8 KByte
Block 1
External
24 KByte
External
32 KByte
EA# = 1
SFCF[1:0] = 01
FFFFH
7FFFH
8000H
0000H
32 KByte
Block 0
TABLE 3-1: SFCF VALUES FOR P ROGRAM MEMORY BLOCK SWITCHING FOR SST89E564RD/SST89V564RD
SFCF[1:0] Program Memory Block Switching
01, 10, 11 Block 1 is not visible to the PC;
Block 1 is reacha ble only via In-Application Programming from 000H - 1FFFH.
00 Block 1 is overlaid onto the low 8K of the program address space; occupying address locations 0000H - 1FFFH.
When the PC falls within 0000H - 1FFFH, the instruction will be fetched from Block 1 instead of Block 0. Outside of 0000H - 1FFFH, Block 0 is used. Locations 0000H - 1FFFH of Block 0 are reachable through In-Application Programming.
T3-1.0 555
12
Preliminary Specifications
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
3.2.1 Reset Configuration of Program Memory Block Switching
Program memor y block switching is initialized after reset according to the state of the Start-up Configuration bit SC0. The SC0 bit is programmed via an External Host Mode command or an IAP Mode command. Se e Table 4-2 and Table 4-6.
Once out of reset, the SFCF[0] bit can be changed dynam­ically by th e progr am f or desir ed eff ects . Changing SFCF[0] will not change the SC0 bit.
Caution must be taken when dynamically changing the SFCF[0] bit. Since this will cause different physical memory to be mapped to t he logical program address s pace. The user must avoid executing block switching instructions within the address range 0000H to 1FFFH.
3.3 Data Memory
The device has 1024 x8 bits of on-chip RAM and can address up to 64 KByte of external data memory.
The device has f our sect ions of internal dat a memory:
1. The lower 128 Bytes of RAM (00H to 7FH) are directly and indirectly addressable.
2. The higher 128 Bytes of RAM (80H to FFH) are indirectly addressable.
3. The Special Function Registers (SFRs, 80H to FFH) are directly addressable only.
4. The expanded RAM of 768 Bytes (00H to 2FFH) is indirectly addressable by the move external instruction (MOVX) and clearing the EXTRAM bit. (See “Auxiliary Register (AUXR)” on page 20)
3.4 Dual Data Pointers
The device has two 16-bit data pointers. The DPTR Select (DPS) bit in AUXR1 determines which of the two data pointers is accessed. When DPS=0, DPTR0 is selected; when DPS=1, DPTR1 is selected. Quickly switching between the two data pointers can be accomplished by a single INC instruction on AUXR1.
3.5 Special Function Registers (SFR)
Most of the unique features of the Flash Flex51 microcon­troller family are contr o ll ed by bits i n s pe ci al fun c tio n r eg is­ters (SFRs) located in the SFR Memory Map shown in Table 3-4. Individual descriptions of each SFR are provided and Reset values indicated in T ables 3-5 to 3-9.
TABLE 3-2: SFCF V
ALUES FOR PROGRAM MEMORY BLOCK SWITCHING FOR SS T8 9E554RC/SST 89V 554RC
SFCF[1:0] Program Memory Block Switching
10, 11 Block 1 is not visible to the PC;
Block 1 is reachable only via In-Application Programming from E000H - FFFFH.
01 Both Block 0 and Block 1 are visible to the PC.
Block 0 is occupied from 0000H - 7FFFH. Block 1 is occupied from E000H - FFFFH.
00 Block 1 is overlaid onto the low 8K of the program address space; occupying address locations 0000H - 1FFFH.
When the PC falls within 0000H - 1FFFH, the instruction will be fetched from Block 1 instead of Block 0. Outside of 0000H - 1FFFH, Block 0 is used. Locations 0000H - 1FFFH of Block 0 are reachable through In-Application Programming.
T3-2.0 555
TABLE 3-3: SFCF VALUES UNDER DIFFERENT
R
ESET CONDITIONS
SC1
1
1. SC1 only applies to SST89E554RC and SST89V554RC.
SC0
State of SFCF[1:0] after:
Power-on
or
External
Reset
WDT
Reset
or
Brown-out
Reset
Software
Reset
11 00
(default)
x0 10
10 01 x1 11 0 1 10 10 10 0 0 11 11 11
T3-3.0 555
Preliminary Specifications
FlashFlex51 MCU SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
13
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
TABLE 3-4: FLASHFLEX51 SFR MEMORY MAP
8 BYTES
F8H IPA
1
CH CCAP0H CCAP1H CCAP2H CCAP3H CCAP4H FFH
F0H B
1
IPAH F7H
E8H IEA
1
CL CCAP0L CCAP1L CCAP2L CCAP3L CCAP4L EFH
E0H ACC
1
E7H
D8H CCON
1
CMOD CCAPM0 CCAPM1 CCAPM2 CCAPM3 CCAPM4 DFH
D0H PSW
1
SPCR D7H
C8H T2CON
1
T2MOD RCAP2L RCAP2H TL2 TH2 CFH
C0H WDTC
1
C7H
B8H IP
1
SADEN BFH
B0H P3
1
SFCF SFCM SFAL SFAH SFDT SFST IPH B7H
A8H IE
1
SADDR SPSR AFH
A0H P2
1
AUXR1 A7H
98H SCON
1
SBUF 9FH
90H P1
1
97H
88H TCON
1
TMOD TL0 TL1 TH0 TH1 AUXR 8FH
80H P0
1
SP DPL DPH WDTD SPDR PCON 87H
T3-4.1 555
1. SFRs are bit addressable.
14
Preliminary Specifications
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
TABLE 3-5: CPU RELATED SFRS
Symbol Description
Direct
Address
Bit Address, Symbol, or Alternative Port Function
RESET
ValueMSB LSB
ACC
1
Accumulator E0H ACC[7:0] 00H
B
1
B Register F0H B[7:0] 00H
PSW
1
Program Status Word
D0H CY AC F0 RS1 RS0 OV F1 P 00H
SP Stack Pointer 81H SP[7:0] 07H DPL Data Pointer
Low
82H DPL[7:0] 00H
DPH Data Pointer
High
83H DPH[7:0] 00H
IE
1
Interrupt Enable A8H EA EC ET2 ES0 ET1 EX1 ET0 EX0 40H
IEA
1
Interrupt Enable A
E8H - - - - EBO - - - xxxx0xxxb
IP
1
Interrupt Priority Reg
B8H - PPC PT2 PS PT1 PX1 PT0 PX0 x0000000b
IPH Interrupt Priority
Reg High
B7H - PPCH PT2H PSH PT1H PX1H PT0H PX0H x0000000b
IPA
1
Interrupt Priority Reg A
F8H - - - - PBO - - - xxxx0xxxb
IPAH Interrupt Priority
Reg A High
F7H - - - - PBO
H
- - - xxxx0xxxb
PCON Power Control 87H SMOD1 SMOD0 BOF POF GF1 GF0 PD IDL 00010000b AUXR Auxiliary Reg 8EH - - - - - - EXTRAM AO xxxxxxx00b AUXR1 Auxiliary Reg 1 A2H - - - - GF2 0 - DPS xxxx00x0b
T3-5.1 555
1. Bit Addressable SFRs
TABLE 3-6: FLASH MEMORY PROGRAMMING SFRS
Symbol Description
Direct
Address
Bit Address, Symbol, or Alternative Port Function
RESET
ValueMSB LSB
SFST SuperFlash
Status
B6H SECD1 SECD2 SECD3 - - FLASH_BUSY - - xxxxx0xxb
SFCF SuperFlash
Configuration
B1H - IAPEN - - - - SWR BSEL x0xxxxxxb
SFCM SuperFlash
Command
B2H FIE FCM 00H
SFDT SuperFlash
Data
B5H SuperFlash Data Register 00H
SFAL SuperFlash
Address Low
B3H SuperFlash Low Order Byte Address Register - A
7
to A0 (SFAL) 00H
SFAH SuperFlash
Address High
B4H SuperFlash High Order Byte Address Register - A
15
to A8 (SFAH) 00H
T3-6.0 555
Preliminary Specifications
FlashFlex51 MCU SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
15
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
TABLE 3-7: WATCHDOG TIMER SFRS
Symbol Description
Direct
Address
Bit Address, Symbol, or Alternative Port Function
RESET
ValueMSB LSB
WDTC
1
Watchdog Timer Control
C0H - - - WDOUT WDRE WDTS WDT SWDT xxx00x00b
WDTD Watchdog Timer
Data/Reload
85H Watchdog Timer Data/Reload 00H
T3-7.0 555
1. Bit Addressable SFRs
TABLE 3-8: TIMER/COUNTERS SFRS
Symbol Description
Direct
Address
Bit Address, Symbol, or Alternative Port Function
RESET
ValueMSB LSB
TMOD Timer/Counter
Mode Control
89H Timer 1 Timer 0 00H
GATE C/T# M1 M0 GATE C/T# M1 M0
TCON
1
1. Bit Addressable SFRs
Timer/Counter Control
88H TF1 TR1 TF0 TR0 IE1 IT1 IE0 IT0 00H
TH0 Timer 0 MSB 8CH TH0[7:0] 00H TL0 Timer 0 LSB 8AH TL0[7:0] 00H TH1 Timer 1 MSB 8DH TH1[7:0] 00H TL1 Timer 1 LSB 8BH TL1[7:0] 00H T2CON
1
Timer / Counter 2 Control
C8H TF2 EXF2 RCLK TCLK EXEN2 TR2 C/T2# CP/RL2# 00H
T2MOD# Timer2
Mode Control
C9H---- - -T2OEDCENxxxxxx00b
TH2 Timer 2 MSB CDH T H2[7:0] 00H TL2 Timer 2 LSB CCH TL2[7:0] 00H RCAP2H Timer 2 Capture MSB CBH RCAP2H[7:0] 00H RCAP2L Timer 2 Capture LSB CAH RCAP2L[7:0] 00H
T3-8.0 555
16
Preliminary Specifications
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
TABLE 3-9: INTERFACE SFRS
Symbol Description
Direct
Address
Bit Address, Symbol, or Alternative Port Function
RESET
ValueMSB LSB
SBUF Serial Data Buffer 99H SBUF[7:0] Indeterminate SCON
1
Serial Port Control 98H SM0/FE SM1 SM2 REN TB8 RB8 TI RI 00H SADDR Slave Address A9H SADDR#[7:0] 00H SADEN Slave Address
Mask
B9H SADEN#[7:0] 00H
SPCR SPI Control
Register
D5H SPIE SPE DORD MSTR CPOL CPHA SPR1 SPR0 04H
SPSR SPI Status
Register
AAH SPIF WCOL 00H
SPDR SPI Data Register 86H SPD7 SPD6 SPD5 SPD4 SPD3 SPD2 SPD1 SPD0 00H P0
1
Port 0 80H P0[7:0] FFH P1
1
Port 1 90H - - - - - - T2EX T2 FFH P2
1
Port 2 A0H P2[7:0] FFH P3
1
Port 3 B0H RD# WR# T1 T0 INT1# INT0# TXD RXD FFH
T3-9.0 555
1. Bit Addressable SFRs
TABLE 3-10: PCA SFRS
Symbol Description
Direct
Address
Bit Address, Symbol, or Alternative Port Function
RESET
ValueMSB LSB
CH CL
PCA Timer/Counter
F9H E9H
CH[7:0]
CL[7:0]
00H 00H
CCON
1
1. Bit Addressable SFRs
PCA Timer/Counter Control Register
D8H CF CR - CCF4 CCF3 CCF2 CCF1 CCF0 00x00000b
CMOD
PCA Timer/Counter Mode Register
D9H CIDL WDTE - - - CPS1 CPS0 ECF 00xxx000b
CCAP0H PCA Module 0
Compare/Capture Registers
FAH CCAP0H[7:0] 00H
CCAP0L EAH CCAP0L[7:0] 00H CCAP1H PCA Module 1
Compare/Capture Registers
FBH CCAP1H[7:0] 00H
CCAP1L EBH CCAP1L[7:0] 00H CCAP2H PCA Module 2
Compare/Capture Registers
FCH CCAP2H[7:0] 00H
CCAP2L ECH CCAP2L[7:0] 00H CCAP3H PCA Module 3
Compare/Capture Registers
FDH CCAP3H[7:0] 00H
CCAP3L EDH CCAP3L[7:0] 00H CCAP4H PCA Module 4
Compare/Capture Registers
FEH CCAP4H[7:0] 00H
CCAP4L EEH CCAP4L[7:0] 00H CCAPM0 PCA
Compare/Capture Module Mode Registers
DAH - ECOM0 CAPP0 CAPN0 MAT0 TOG0 PWM0 ECCF0 x000 0000b CCAPM1 DBH - ECOM1 CAPP1 CAPN1 MAT1 TOG1 PWM1 ECCF1 x000 0000b CCAPM2 DCH - ECOM2 CAPP2 CAPN2 MAT2 TOG2 PWM2 ECCF2 x000 0000b CCAPM3 DDH - ECOM3 CAPP3 CAPN3 MAT3 TOG3 PWM3 ECCF3 x000 0000b CCAPM4 DEH - ECOM4 CAPP4 CAPN4 MAT4 TOG4 PWM4 ECCF4 x000 0000b
T3-10.1 555
Preliminary Specifications
FlashFlex51 MCU SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
17
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
Symbol Function
SECD1 Security bit 1. SECD2 Security bit 2. SECD3 Security bit 3.
Please refer to Table 4-6 for security lock options.
FLASH_BUSY Flash operation completion polling bit.
1: Device is busy with flash operation. 0: Device has fully completed the last command.
Symbol Function
IAPEN Enable IAP operation
0: IAP commands are disabled 1: IAP commands are enabled
SWR Software Reset
See “10.2 Software Reset” on page 47
BSEL Program memory block switching bit
See Figures 3-1 and 3-2.
Symbol Function
FIE Flash Interrupt Enable.
0: INT1# is not reassigned. 1: INT1# is re-assigned to signal IAP operation completion.
External INT1# interrupts are ignored.
FCM[6:0] Flash operation command
000_1011b Sector-Erase 000_1101b Block-Erase 000_1100b Byte-Verify
1
000_1110b Byte-Program 000_1111b Prog-SB1 000_0011b Prog-SB2 000_0101b Prog-SB3 000_1001b Prog-SC0 All other combinations are not implemented, and reserved for future use.
1. Byte-Verify has a single machine cycle latency and will not generate any INT1# interrupt regardless of FIE.
SuperFlash Status Register (SFST) (Read Only Register)
Location76543 2 10Reset Value
0B6H SECD1 SECD2 SECD3 - -
FLASH_BUSY
- - xxxxx0xxb
SuperFlash Configuration Register (SFCF)
Location76543210Reset Value
0B1H - IAPEN ----
SWR BSEL
x0xxxxxxb
SuperFlash Command Register (SFCM)
Location76543210Reset Value
0B2H FIE FCM6 FCM5 FCM4 FCM3 FCM2 FCM1 FCM0 00000000b
18
Preliminary Specifications
FlashFlex51 MCU
SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
Symbol Function
SFDT Mailbox register for interfacing with flash memory block. (Data register).
Symbol Function
SFAL Mailbox register for interfacing with flash memory block. (Low order address register).
Symbol Function
SFAH Mailbox register for interfacing with flash memory block. (High order address register).
Symbol Function
EA Global Interrupt Enable.
0 = Disable
1 = Enable EC PCA Interrupt Enable. ET2 Timer 2 Interrupt Enable. ES Serial Interru pt Enable. ET1 Timer 1 Interrupt Enable. EX1 External 1 Interrupt Enable. ET0 Timer 0 Interrupt Enable. EX0 External 0 Interrupt Enable.
Symbol Function
EBO Brown-out Interrupt Enable.
1 = Enable the interrupt
0 = Disable the interrupt
SuperFlash Data Register (SFDT)
Location76543210Reset Value
0B5H SuperFlash Data Register 00000000b
SuperFlash Address Registers (SFAL)
Location76543210Reset Value
0B3H SuperFlash Low Order Byte Address Register 00000000b
SuperFlash Address Registers (SFAH)
Location76543210Reset Value
0B4H SuperFlash High Order Byte Address Register 00000000b
Interrupt Enable (IE)
Location76543210Reset Value
A8H EA EC ET2 ES ET1 EX1 ET0 EX0 00H
Interrupt Enable A (IEA)
Location76543210Reset Value
E8H----EBO---xxxx0xxxb
Preliminary Specifications
FlashFlex51 MCU SST89E564RD / SST89V564RD / SST89E554RC / SST89V554RC
19
©2001 Silicon Storage Technology, Inc. S71207-00-000 9/01 555
Symbol Function
PPC PCA interrupt priority bit. PT2 Timer 2 interrupt priority bit. PS Serial Port interr upt pr iority bit. PT1 Timer 1 interrupt priority bit. PX1 External interrupt 1 priority bit. PT0 Timer 0 interrupt priority bit. PX0 External interrupt 0 priority bit.
Symbol Function
PPCH PCA interrupt priority bit high. PT2H Timer 2 interrupt priority bit high. PSH Serial Port interrupt priority bit high. PT1H Timer 1 interrupt priority bit high. PX1H External interrupt 1 priority bit high. PT0H Timer 0 interrupt priority bit high. PX0H External interrupt 0 priority bit high.
Symbol Function
PBO Brown-out interrupt priority bit.
Symbol Function
PBOH Brown-out Interrupt priority bit high.
Interrupt Priority (IP)
Location76543210Reset Value
B8H - PPC PT2 PS PT1 PX1 PT0 PX0 x0000000b
Interrupt Priority High (IPH)
Location76543210Reset Value
B7H - PPCH PT2H PSH PT1H PX1H PT0H PX0H x0000000b
Interrupt Priority A (IPA)
Location76543210Reset Value
F8H----PBO---xxxx0xxxb
Interrupt Priority A High (IPAH)
Location76543210Reset Value
F7H----PBOH---xxxx0xxxb
Loading...
+ 43 hidden pages