Features General • High-performance, Low-power Secure AVR® RISC Architecture • • • • • • – 133 Powerful Instructions (Most Executed in a Single Clock Cycle) – Linear Addressing of up to 8M Bytes of Code and up to 16M Bytes of Data Low-power Idle and Power-down Modes Bond Pad Locations Conforming to ISO 7816-2 ESD Protection to ± 6000V Operating Ranges: from 2.7V to 5.5V Compliant with GSM, 3GPP and EMV 2000 Specifications; PC Industry Compatible Available in Wafers, Modules and Industry-standard Packages Memory • 32K Bytes of Flash Program Memory • 32K Bytes of EEPROM, Including 128-byte OTP Area and 384-byte Bit-addressable Area – 1 to 128-byte Program/Erase – 2 ms Program, 2 ms Erase – Typically 1,000,000 Write/Erase Cycles – 10 Years Data Retention • 3K Bytes of RAM Secure Microcontroller for Smart Cards AT90SC3232CS Preliminary Peripherals • ISO 7816 Controller • • • • • • • • • • • – Up to 625 kbs at 5 MHz – Compliant with T = 0 and T = 1 Protocols Two I/O Ports (Configurable to Support Communication Protocols Including 2-wire Interfaces) Serial Peripheral Interface (SPI) Controller Programmable Internal Oscillator (Up to 16 MHz on ROM) Two 16-bit Timers Random Number Generator (RNG) 2-level, 8-vector Interrupt Controller Hardware DES and Triple DES DPA Resistant Checksum Accelerator CRC 16 Engine (Compliant with ISO/IEC 3309) 8-bit GF(2n) Multiplier Crypto-coprocessor (Pre-programmed Functions for Cryptography and Authentication Including RSA, DSA, Key Generation, ECC) Security • • • • • • • Dedicated Hardware for Protection Against SPA/DPA Attacks Advanced Protection Against Physical Attack, Including Active Shield Environmental Protection Systems Voltage Monitor Frequency Monitor Temperature Monitor Secure Memory Management/Access Protection (Supervisor Mode) Development Tools • Hardware/Software Development Support on Voyager Emulation Platform (ATV1) • IAR Systems C-Spy® Debugger • Software Libraries and Application Notes Rev. 1572BS–SMIC–10/02 Note: This is a summary document. A complete document will be1 available under NDA. For more information, please contact your local Atmel sales office. Description The AT90SC3232CS is a low-power, high-performance, 8-/16-bit microcontroller, based on the secure AVR RISC architecture, with Flash program memory, EEPROM data memory and a crypto-coprocessor. By executing powerful instructions in a single clock cycle, the AT90SC3232CS achieves throughputs close to 1 MIPS per MHz. Its Harvard architecture includes 32 general-purpose working registers directly connected to the ALU, allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The AT90SC3232CS uses a new secure AVR CPU that allows the linear addressing of up to 8M bytes of code and up to 16M bytes of data, and also provides a number of new functional and security features. The AT90SC3232CS includes 64K bytes of Atmel’s high density, non volatile memory. The on-chip Flash allows the program memory to be reprogrammed in-system and locked securely. This technology combined with the versatile CPU on a monolithic chip provides a highly flexible and cost-effective solution to many smart card applications. The crypto engine featured in the AT90SC series is the SC16, a 16-bit processor dedicated to performing fast encryption and authentication functions. Additional security features include power, frequency and temperature protection logic, logical scrambling on program data and addresses, power analysis countermeasures, and memory accesses controlled by a supervisor mode. A block diagram of the AT90SC3232CS is shown in Figure 1. 2 AT90SC3232CS 1572BS–SMIC–10/02 AT90SC3232CS Figure 1. The AT90SC3232CS AVR RISC Architecture Data Bus 8-bit OTP Access Control RNG EEPROM User Memory PC X 16 Instruction Register 8 GND VCC ROM RAM Data Memory 8 Interrupt Unit ALU 8 16 Control Lines Access Control Y Z 16 Instruction Decoder SC16 CryptoCoprocessor General Purpose Registers Flash Program Memory CLK Secure Control Status Register ISO 7816 Controller ISO 7816 I/O Port 0 IN/OUT0 ISO 7816 I/O Port 1 IN/OUT1 SS SPI Controller MOSI MISO SCK Timer DES Reset Circuit RST DPA Counter measures CRC and Checksum Accelerator 3 1572BS–SMIC–10/02 Atmel Headquarters Atmel Operations Corporate Headquarters Memory 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 487-2600 Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland TEL (41) 26-426-5555 FAX (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL (852) 2721-9778 FAX (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany TEL (49) 71-31-67-0 FAX (49) 71-31-67-2340 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131 TEL 1(408) 441-0311 FAX 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France TEL (33) 2-40-18-18-18 FAX (33) 2-40-18-19-60 ASIC/ASSP/Smart Cards 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France TEL (33) 4-76-58-30-00 FAX (33) 4-76-58-34-80 Zone Industrielle 13106 Rousset Cedex, France TEL (33) 4-42-53-60-00 FAX (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL 1(719) 576-3300 FAX 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland TEL (44) 1355-803-000 FAX (44) 1355-242-743 e-mail [email protected] Web Site http://www.atmel.com © Atmel Corporation 2002. Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard warranty which is detailed in Atmel’s Terms and Conditions located on the Company’s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical components in life support devices or systems. ATMEL ® and AVR ® are the registered trademarks of Atmel. C-Spy ® is a registered trademark of IAR Systems AB. Other terms and product names may be the trademarks of others. Printed on recycled paper. 1572BS–SMIC–10/02 xM