ATMEL AVR User Manual

Farnell Order Code Equinox Order Code
111-806 EQ-8051-ST1 (UK) 302-2249 AVR-DV1 (UK) 302-2286 UISP-S4 302-2298 UISP-LV4
111-715 MPW-PLUS (UK) 302-2225 SG-ALLWRITER
* Max speed depends on Vcc voltage. Frequencies and Currents listed are for
Vcc = 5.0V & T = 25ºC
Please verify correct part codes for low voltage parts before ordering.
Key
SRAM - Static RAM
ISP - In-System Programmable
I/O - Input/Output
ADC - Analogue to Digital Convertor
SPI - Serial Peripheral Interface
PWM - Pulse Width Modulation
PAR - Parallel programming mode
FLASH - Reprogrammable Code Memory
EEPROM - Parallel programming mode
Atmel AVR Microcontroller Family - Product Selection Guide
For further information please contact Equinox Technologies UK Ltd on Tel: +44 (0) 1204 529000 Fax: +44 (0) 1204 535555 E-mail: sales@equinox-tech.com
Disclaimer: Whilst information is supplied in good faith, we are not liable for any errors or omissions. Please consult the relevant Atmel datasheet. E&OE
DEVICE 90S1200 90S2313 90S2343 90S4414 90S8515 90S2333 90S8535 MEGA603 MEGA103
ON-CHIP MEMORY
FLASH (Bytes) 1K 2K 2K 4K 8K 2K 8K 64K 128K EEPROM (Bytes) 64 128 128 256 512 128 512 2K 4K SRAM (Bytes) 0 128 128 256 512 128 512 4K 4K In-System Programmable (ISP) YES YES YES YES YES YES YES YES YES
HARDWARE FEATURES
I/O Pins 15 15 5 32 32 20 32 32I/O, 8O, 8I 32I/O, 8O, 8I On-chip RC Oscillator YES NO YES NO NO NO NO NO NO Real Time Clock (RTC) NO NO NO NO NO NO NO YES YES SPI Port NO NO NO YES YES YES YES YES YES Full Duplex Serial UART NO YES NO YES YES YES YES 1 1 Watchdog Timer YES YES YES YES YES YES YES YES YES Timer/Counters 122222 233 PWM Channels (10-bit) - 1 - 2 2 1 TBA 2 2 Analogue Comparator YES YES NO NO NO NO NO NO NO ADC NO NO NO NO NO 6CH/10BIT 8CH/10BIT 8CH/10BIT 8CH/10BIT IDLE and Power Down modes YES YES YES YES YES YES YES YES YES Interrupts 4113131314172424
MISCELLANEOUS
AVR Instructions 89 118 118 118 118 118 120 121 121 Max External Clock Frequency 12MHz 10MHz 10MHz 8MHz 8MHz 8MHz 8MHz 6MHz 6MHz Vcc Voltage Range (V) 4.0-6.0V 4.0-6.0V 4.0-6.0V 4.0-6.0V 4.0-6.0V 4.0-6.0V 4.0-6.0V 4.0-6.0V 4.0-6.0V
EQUINOX SUPPORT TOOLS
AVR Starter System ISP/PAR ISP/PAR ISP/PAR ISP/PAR ISP/PAR ISP/PAR ISP only ACT-UPG1 ACT-UPG1 AVR Development System ZIF-ISP ZIF-ISP ZIF-ISP ZIF-ISP ZIF-ISP ZIF-ISP ZIF-ISP UISP-UPG1 UISP-UPG1 Micro-ISP Series IV Programmer ISP only ISP only ISP only ISP only ISP only ISP only ISP only ISP only ISP only Micro-ISP Series IV LV Prog. ISP only ISP only ISP only ISP only ISP only ISP only ISP only ISP only ISP only Micro-Pro Device Programmer PAR only PAR only - ZIF-ISP ZIF-ISP - - - - AllWriter Universal Programmer PAR PAR - PAR PAR - - - - AVR BASIC LITE YES (1K) - - - - - - - - AVR BASIC FULL YES YES YES YES YES YES YES YES YES AT90S8515 Socket Stealer (DIL-40) NO NO NO YES YES NO NO NO NO
Atmel AVR Microcontroller Family - Product Selection Guide
For further information please contact Equinox Technologies UK Ltd on Tel: +44 (0) 1204 529000 Fax: +44 (0) 1204 535555 E-mail: sales@equinox-tech.com
Disclaimer: Whilst information is supplied in good faith, we are not liable for any errors or omissions. Please consult the relevant Atmel datasheet. E&OE
Farnell Order Code Equinox Order Code
303-1068 SS-90S8515-J
121-022 UC-PM1
Continued....
Device 90S1200 90S2313 90S2343 90S4414 90S8515 90S2333 90S8535 MEGA603 MEGA103
EQUINOX SUPPORT TOOLS
AT90S8515 Socket Stealer (PLCC) NO NO NO YES YES NO NO NO NO DOBOX-MOD1 YES YES YES YES YES NO YES NO NO
PACKAGE TYPES (Farnell Codes) 6AC - - - - - - - 120-984 120-972 8JC - - - 111-480 111-508 - 120-959 - ­8PC - - - 111-478 111-491 - 120-960 - ­10PC - 111-454 111-430 - - - - - ­10SC - 111-466 111-442 - - - - - ­12PC 690-752 - - - - - - - ­12SC 690-934 - - - - - - - -

Errata

Lock Bits at High V
Reset During EEPROM Write
Verifying EEPROM in System
Serial Programming at Voltages Below 3.0 Volts
CC
4. Lock Bits at High V
On some devices, the lock bits will not erase at hig h VCC. In this situation, it will not be possible to reprogram the devices when the lock bits are set.
Problem Fix/Workaround
Lower V unlock, and it will be possible to reprogram the device at any V

3. Reset During EEPROM Write

If reset is activated during EEPROM write the result is not what should be expected. The EEPR OM write cyc le comple tes as norm al, but the ad dress reg is­ters are reset to 0. The result is that both the address written and address 0 in the EEPROM can be corrupted.
Problem Fix/Workaround
Avoid using address 0 for storage , unles s you can guaran tee that you wi ll not ge t a reset during EEPROM write.

2. Verifying EEPROM in System

EEPROM veri fy in I n-Sys tem P rogram ming mo de ca nnot op erat e with m aximu m clock frequency. This is independent of the SPI clock frequency.
Problem Fix/Workaround
Reduce the clock speed, or avoid using the EEPROM verify feature.

1. Serial Programming at Voltages Below 3.0 Volts

At voltages below 3.0 Volts, serial programming might fail.
Problem Fix/Workaround
Keep V
below 4.0V before you perform a chip-erase. Then the device will
CC
above 3.0 Volts during in-system programming.
CC
CC
CC
.
8-Bit Microcontroller with 2K bytes In-System Programmable Flash
AT90S2313 Rev. B Errata Sheet
Rev. 1191B–01/99
1
Atmel Headquarters Atmel Operations
Corporate Headquarters
2325 Orchard Parkway San Jose, CA 95131 TEL (408) 441- 0311 FAX (408) 487-2600
Europe
Atmel U.K., Ltd. Coliseum Business Centre Riverside Way Camberley, Surrey GU15 3YL England TEL (44) 1276-686677 FAX (44) 1276-686697
Asia
Atmel Asia, Ltd. Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon, Hong Kong TEL (852) 27219778 FAX (852) 27221369
Japan
Atmel Japan K.K. Tonetsu Shinkawa Bldg., 9F 1-24-8 Shinka wa Chuo-ku, Tokyo 104-0033 Japan TEL (81) 3-3523-3551 FAX (81) 3-3523-7581
Atmel Colorado Springs
1150 E. Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 TEL (719) 576-3300 FAX (719) 540-1759
Atmel Rousset
Zone Indu strie lle 13106 Rousset Cedex, France TEL (33) 4 42 53 60 00 FAX (33) 4 42 53 60 01
Fax-on-Demand
North America: 1-(800) 292-8635
International: 1-(408) 441-0732
e-mail
literature@atmel.com
Web Site
http://www.atmel.com
BBS
1-(408) 436-4309
© Atmel Corporation 1999.
Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard war­ranty 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 prop­erty 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.
Marks bearing ® and/or ™ are registered trademarks and trademarks of Atmel Corporation. Terms and product names in this document may be trademarks of others.
Printed on recycled paper.
1191B–01/99/xM
Features
Utilizes the AVR® RISC Architecture
AVR - High-performance and Low-power RISC Architecture
– 118 Powerful Instructions - Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers – Up to 10 MIPS Throughput at 10 MHz
Data and Nonvolatile Program Memory
– 2K Bytes of In-System Programmable Flash
Endurance 1,000 Write/Erase Cycles – 128 Bytes of SRAM – 128 Bytes of In-System Programmable EEPROM
Endurance: 100,000 Write/Erase Cycles – Programming Lock for Flash Program and EEPROM Data Security
Peripheral Features
– One 8-bit Timer/Counter with Separate Prescaler – One 16-bit Timer/Counter with Separate Prescaler,
Compare, Capture Modes and 8-, 9- or 10-bit PWM – On-chip Analog Comparator – Programmable Watchdog Timer with On-chip Oscillator – SPI Serial Interface for In-System Programming – Full Duplex UART
• Special Microcontroller Features – Low-power Idle and Power Down Modes – External and Internal Interrupt Sources
• Specifications – Low-power, High-speed CMOS Process Technology – Fully Static Operation
Power Consumption at 4 MHz, 3V, 25°C
– Active: 2.8 mA – Idle Mode: 0.8 mA – Power Down Mode: <1 µA
I/O and Pac ka ges
– 15 Programmable I/O Lines – 20-pin PDIP and SOIC
Operating Voltages
– 2.7 - 6.0V (AT90S2313-4) – 4.0 - 6.0V (AT90S2313-10)
Speed Grades
– 0 - 4 MHz (AT90S2313-4) – 0 - 10 MHz (AT90S2313-10)
8-bit Microcontroller with 2K bytes In-System Programmable Flash
AT90S2313
Description
The AT90S2313 is a low-power CMOS 8-bit microcontroller based on the AVR RISC architecture. By executing powerful instructions in a single clock cycle, the
(continued)
Pin Configuration
PDIP/SOIC
Note: This is a summary document. For the complete 87 page document, please visit our web site at
literature@atmel.com
Rev. 0839ES–04/99
www.atmel.com
and request literature #0839E.
or e-mail at
1
Loading...
+ 10 hidden pages