Features General • Based on the ARM® SC100™ SecureCore™ 32-bit RISC Processor • Two Instruction Sets • • • • • • • • – ARM High-performance 32-bit Instruction Set – Thumb® High-code-density 16-bit Instruction Set Von Neumann Load/Store Architecture – Single 32-bit Data Bus for Instructions and Data 3-stage Pipeline Architecture – Fetch, Decode, and Execute Stages 8-bit, 16-bit, and 32-bit Data Types On-chip Programmable System Clock up to 50MHz Very Low Power Consumption – Industry Leader in MIPS/Watt – Low power Idle and Power down Modes Bond Pad Locations Confirming to ISO7816-2 ESD Protection to ±6000V Operating ranges: 1.62V to 5.5V, PC Industry Compatible, GSM/3G Compliant, EMV Memory 32-bit Secure Microcontrollers AT91SC 192192CT-USB Summary • 192K Bytes of Flash Program Memory and 192K Bytes of Eeprom • • • • – Typically More than 500,000 Write/Erase Cycles at a Temperature of 25oC – 10 Years Data Retention EEPROM Erase Only Mode Write EEPROM With or Without Autoerase 24K Bytes of RAM (2K Bytes shared with AdvX ™ crypto processor) 32K Bytes of ROM dedicated to Atmel’s crypto Library Peripherals • USB Interface (5 Endpoints) • • • • • • • • • • • • • – USB V2.0 Full-speed (12Mbps), Suspend/Resume Modes Supported – 4 Configurable Endpoints in Addition to Endpoint EP0 – Dynamic Pull-up Attachment USB_IC (Inter Chip) 0.8e Interface Serial Peripheral Interface (SPI) Controller (up to 20MHz) One ISO 7816 Controller – Up to 625kbps at 5 MHz Interface for External NAND Flash Memory Single Wire Interface (Digital Interface to RF front end chip) Two 16-bit Timers Random Number Generator (RNG) 2-level, 15-vector Interrupt Controller Hardware DES and Triple DES (DPA Resistant) Checksum Accelerator CRC 16/32 Engine 32-bit Cryptographic Accelerator for Public Key Operations – RSA, DSA, ECC, Diffie-Hellman High performance Hardware Java Card Accelerator Security • • • • • Dedicated Hardware for Protection Against SPA/DPA Attacks Protection Against Physical Attack Environmental Protection Systems Voltage, Frequency, Light, and Temperature Protection Systems Secure Memory Management/ Access Protection/ MPU 6556A–SPIC–16 May 07 Note: This is a summary document. A complete document will be available under NDA. For more information, please contact your local Atmel sales office. Development Tools and Software • Hardware Development Support on the ATV4-91SC Voyager Emulation Platform • Software Libraries and Bootloader in ATMEL’s ROM (Crypto Library and Generic drivers) • Application Notes Description The AT91SC192192CT-USB is a low power, high performance, 32-bit RISC microcontroller with Flash/Eeprom program and data memories and cryptographic accelerator, based on the ARM SC100 advanced secure processor. This general purpose 32-bit processor offers high performance, very low power consumption, and additional features to help combat fraud. The AT91SC192192CT-USB features 192K bytes of high performance Flash (fast erase/write time, high endurance). The AT91SC192192CT-USB features 192K bytes of high performance Eeprom (fast erase/write time, high endurance). The AT91SC192192CT-USB also features a USB full speed 2.0 port to allow very high speed transactions with a USB host terminal. USB interface requires the addition of an external 48MHz resonator. The AT91SC192192CT-USB features a SPI (Serial Peripheral Interface) port to provide either high speed interface with external terminal or to connect external NOR Flash memory. It also features an interface for NAND Flash memory. On top of the SC100s MPU, a real hardware firewall can be used to increase the overall security level of the application without intense software development. The cryptographic accelerator featured in the AT91SC series is the AdvX™, an N-bit multiplier-accumulator dedicated to performing fast encryption and authentication functions. AdvX is based on a custom 32-bit co-processor, thus enabling fast computation and low power operation. The AdvX in conjuction with controlling firmware running within the SC100 core, supports standard finite arithmetic functions (including RSA, DSA, DH and ECC) and GF(2N). Unique hardware features significantly accelerate the execution of Java Card Byte Code by removing the common software bottlenecks encountered during the implementation of a Java Virtual Machine. Additional security features include power and frequency protection logic, logical scrambling on program data and addresses, power analysis countermeasures, and memory access controlled by a supervisor mode. Pin Configuration The AT91SC192192CT-USB pinout configuration confirms to the ISO7816-2 interface. Note: By convention, the RST pin corresponds to the RST signal of the ISO7816-3 Protocol, both are active low.) GND Ground (reference voltage) WE Flash Interface (Write Enable) Vcc Power Supply Input ALE Flash Interface (Address Latch Enable) ISO I/O0 Input or Output for serial data (ISO7816 CLE Flash Interface (Command Latch Enable) ISO CLK Clock signal input to external clock operating circuit CE Flash Interface (Chip Enable) ISO RST Reset signal input, a low state stops the ARM core RE Flash Interface (Read Enable) C6 SWP dedicated pin IO0 Flash Interface IO0 USB D+ USB D+ IO1 Flash Interface IO1 USB D- USB D- IO2 Flash Interface IO2 2 AT91SC192192CT-USB 6556A–SPIC–16 May 07 AT91SC192192CT-USB USB XIN USB XIN IO3 Flash Interface IO3 USB XOUT USB XOUT SS/IO4 SPI Slave Select/Flash Interface IO4 WP Flash Interface (Write Protect) SCK/IO5 SPI Clock/Flash Interface IO5 MOSI/IO6 SPI Master Output-Slave Input/Flash Interface IO6 MISO/IO7 SPI Master Output-Slave Input/Flash Interface IO7 Architectural Overview The SC100 is a 3 stage pipeline, 32-bit RISC processor. It uses a Von Neumann Load/store architecture, this architecture is characterized by a single data and address bus for instruction data. The SC100 processor employs a unique architectural strategy known as Thumb®, a super reduced instruction set that is ideally suited for high volume applications with memory restrictions, and applications where code density is an important factor. Essentially, the SC100 processor has two instruction sets: • The standard ARM instruction set using 32-bit instructions and offering maximum performance • The Thumb instruction set using 16-bit instructions and offering maximum code density Both instruction sets operate on 8-bit, 16-bit and 32-bit data types. The Thumb’s 16-bit instruction length allows it to achieve almost twice the density of standard ARM code, whilst retaining most of the ARM performance advantage over a traditional 16-bit processor using 16-bit registers. This is possible because the 16-bit Thumb instructions operate on the same 32-bit register set as the 32-bit ARM instruction set. Thumb code can be up to 35% smaller than the equivalent ARM code, whilst providing 160% of the performance of an equivalent ARM processor connected to a 16-bit memory system. 3 6556A–SPIC–16 May 07 Figure 1 shows the block diagram of the AT91SC192192CT-USB device. 8/16/32 Java Accelerator OTP EEPROM User Memory AdvX CryptoAccelerator 8/16/32 Secure Control CLK GND VCC Reset Circuit RST RNG Flash Program Memory RAM 32 DES/3DES CRC16&32 Engine 32 On-chip security (SPA, DPA, ...) I/O0 USB D+ DXIN XOUT SWP C6 Firewall I/O0 SC100™Core MPU 32 Timer 32 Thumb Instruction decompressor ISO 7816 Controller ISO 7816 I/O Port 0 I/O0 32 IO 0 IO 1 IO 2 MISO Pipeline SPI Controller MOSI SS IO 3 SS / IO 4 SCK SCK / IO 5 Rd Wr Addr SMC Data FLASH Controller MOSI / IO 6 MISO / IO 7 CLE ALE CE WP WE RE Figure 1. AT91SC192192CT-USB Block Diagram 4 AT91SC192192CT-USB 6556A–SPIC–16 May 07 AT91SC192192CT-USB NC NC NC 53 49 NC 54 NC NC 55 50 NC 56 NC NC 57 51 NC 58 52 NC NC NC NC 61 59 NC 62 60 NC 64 63 Figure 2. AT91SC192192CT-USB Pinout (LQFP64) NC 1 48 USB D - USB D+ 2 47 ISO IO0 NC 3 46 MISO / Flash IO7 GND 4 45 MOSI / Flash IO6 ISO CLK 5 44 SCK / Flash IO5 WE 6 43 SS / Flash IO4 CE 7 42 Flash VDD VCC 8 41 VCC ISO RST 9 40 USB OUT CLE 10 39 USB XIN ALE 11 38 Flash IO3 RE 12 37 Flash IO2 WP 13 36 Flash IO1 NC 14 35 Flash IO0 VCC 15 34 SWP C6 NC 16 33 GND INDEX CORNER NC 32 NC 31 NC 30 NC 29 NC 28 NC 27 NC 26 NC 25 NC 24 NC 23 NC 22 NC 21 NC 20 NC 19 NC 18 NC 17 AT91SC192192CT-USB TQFP64 5 6556A–SPIC–16 May 07 Figure 3. R-LQFP064 Package 6 AT91SC192192CT-USB 6556A–SPIC–16 May 07 Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Regional Headquarters 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 Tsimshatsui 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 Atmel Operations Memory 2325 Orchard Parkway San Jose, CA 95131, USA Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131, USA 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/Secure Products Zone Industrielle 13106 Rousset Cedex, France Tel: (33) 4-42-53-60-00 Fax: (33) 4-42-53-60-01 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany Tel: (49) 71-31-67-0 Fax: (49) 71-31-67-2340 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA 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 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906, USA 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 Literature Requests www.atmel.com/literature Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. © Atmel Corporation 2007. All rights reserved. Atmel®, logo and combinations thereof, Everywhere You Are ® and others, are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Printed on recycled paper. 6556A–SPIC–16 May 07