ATTINY40-SU Atmel, ATTINY40-SU Datasheet

no-image

ATTINY40-SU

Manufacturer Part Number
ATTINY40-SU
Description
IC MCU AVR 4K FLASH 20SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY40-SU

Core Processor
AVR
Core Size
8-Bit
Speed
12MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
18
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SOIC (0.300", 7.50mm Width)
Processor Series
ATtiny
Core
AVR
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
SPI, TWI, ISB
Number Of Programmable I/os
18
Number Of Timers
2
Operating Supply Voltage
3.3 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
Operating Temperature Range
- 40 C to + 85 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Features
High Performance, Low Power AVR
Advanced RISC Architecture
Non-volatile Program and Data Memories
Peripheral Features
Special Microcontroller Features
I/O and Packages
Operating Voltage:
Programming Voltage:
Speed Grade
Industrial Temperature Range
Low Power Consumption
– 54 Powerful Instructions – Most Single Clock Cycle Execution
– 16 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 12 MIPS Throughput at 12 MHz
– 4K Bytes of In-System Programmable Flash Program Memory
– 256 Bytes Internal SRAM
– Flash Write/Erase Cycles: 10,000
– Data Retention: 20 Years at 85
– One 8-bit Timer/Counter with Two PWM Channels
– One 8/16-bit Timer/Counter
– 10-bit Analog to Digital Converter
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
– Master/Slave SPI Serial Interface
– Slave TWI Serial Interface
– In-System Programmable
– External and Internal Interrupt Sources
– Low Power Idle, ADC Noise Reduction, Stand-by and Power-down Modes
– Enhanced Power-on Reset Circuit
– Internal Calibrated Oscillator
– 20-pin SOIC/TSSOP: 18 Programmable I/O Lines
– 20-pad VQFN/MLF: 18 Programmable I/O Lines
– 1.8 – 5.5V
– 5V
– 0 – 4 MHz @ 1.8 – 5.5V
– 0 – 8 MHz @ 2.7 – 5.5V
– 0 – 12 MHz @ 4.5 – 5.5V
– Active Mode:
– Idle Mode:
– Power-down Mode:
• 12 Single-Ended Channels
• 200 µA at 1 MHz and 1.8V
• 25 µA at 1 MHz and 1.8V
• < 0.1 µA at 1.8V
o
C / 100 Years at 25
®
8-Bit Microcontroller
o
C
8-bit
Microcontroller
with 4K Bytes
In-System
Programmable
Flash
ATtiny40
Preliminary
Summary
Rev. 8263AS–AVR–08/10

Related parts for ATTINY40-SU

ATTINY40-SU Summary of contents

Page 1

... Active Mode: • 200 µ MHz and 1.8V – Idle Mode: • 25 µ MHz and 1.8V – Power-down Mode: • < 0.1 µA at 1.8V ® 8-Bit Microcontroller 100 Years 8-bit Microcontroller with 4K Bytes In-System Programmable Flash ATtiny40 Preliminary Summary Rev. 8263AS–AVR–08/10 ...

Page 2

... The min- imum pulse length is given in generate a reset. The reset pin can also be used as a (weak) I/O pin. ATtiny40 2 Pinout of ATtiny40 SOIC/TSSOP (PCINT8/ADC8) PB0 1 20 (PCINT7/ADC7) PA7 ...

Page 3

... Port C has alternate functions as analog inputs for the ADC, analog comparator and pin change interrupt as described in The port also serves the functions of various special features of the ATtiny40, as listed on 41. 8263AS–AVR–08/10 “ ...

Page 4

... Overview ATtiny40 is a low-power CMOS 8-bit microcontroller based on the compact AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATtiny40 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed. Figure 2-1. ...

Page 5

... The device is manufactured using Atmel’s high density non-volatile memory technology. The on- chip, in-system programmable Flash allows program memory to be re-programmed in-system by a conventional, non-volatile memory programmer. The ATtiny40 AVR is supported by a suite of program and system development tools, including macro assemblers and evaluation kits. 8263AS–AVR–08/10 ...

Page 6

... PPM over 20 years at 85°C or 100 years at 25°C. 3.4 Disclaimer Typical values contained in this datasheet are based on simulations and characterization of other AVR microcontrollers manufactured on the same process technology. Min and Max values will be available after the device has been characterized. ATtiny40 6 8263AS–AVR–08/10 ...

Page 7

Register Summary Address Name Bit 7 0x3F SREG I 0x3E SPH 0x3D SPL 0x3C CCP 0x3B RSTFLR – 0x3A MCUCR ISC01 0x39 OSCCAL 0x38 Reserved 0x37 CLKMSR – 0x36 CLKPSR – 0x35 PRR – QTCSR 0x34 0x33 NVMCMD – ...

Page 8

... Some of the Status Flags are cleared by writing a logical one to them. Note that, unlike most other AVRs, the CBI and SBI instructions will only operation the specified bit, and can therefore be used on registers containing such Status Flags. The CBI and SBI instructions work with registers 0x00 to 0x1F only. ATtiny40 8 8263AS–AVR–08/10 ...

Page 9

Instruction Set Summary Mnemonics Operands ARITHMETIC AND LOGIC INSTRUCTIONS ADD Rd, Rr Add without Carry ADC Rd, Rr Add with Carry SUB Rd, Rr Subtract without Carry SUBI Rd, K Subtract Immediate SBC Rd, Rr Subtract with Carry SBCI ...

Page 10

... PUSH Rr Push Register on Stack POP Rd Pop Register from Stack MCU CONTROL INSTRUCTIONS BREAK Break NOP No Operation SLEEP Sleep WDR Watchdog Reset ATtiny40 10 Description SREG(s) ← 0 I/O(A, b) ← 1 I/O(A, b) ← ← Rr(b) Rd(b) ← ← ← ← ← ← ← ← ← ← ...

Page 11

... Wide Body, Plastic Gull Wing Small Outline Package (SOIC) 20X 20-lead, 4.4 mm Body, Plastic Thin Shrink Small Outline Package (TSSOP) 20M2 20-pad 0.85 mm Body, Very Thin Quad Flat No Lead Package (VQFN) 8263AS–AVR–08/10 (1) Ordering Code Package ATtiny40-SU 20S2 ATtiny40-SUR 20S2 ATtiny40-XU 20X ATtiny40-XUR 20X (3) ATtiny40-MMH 20M2 (3) ATtiny40-MMHR ...

Page 12

... Packaging Information 7.1 20S2 ATtiny40 12 8263AS–AVR–08/10 ...

Page 13

Dimensions in Millimeters and (Inches). Controlling dimension: Millimeters. JEDEC Standard MO-153 AC 0.65 (.0256) BSC 0º ~ 8º 2325 Orchard Parkway San Jose, CA 95131 R 8263AS–AVR–08/10 PIN 1 4.50 (0.177) 4.30 (0.169) 6.60 (.260) 6.40 (.252) 0.15 ...

Page 14

... Pin TOP VIEW Pin #1 Chamfer BOTTOM VIEW Package Drawing Contact: packagedrawings@atmel.com ATtiny40 C0.18 (8X 0.3 Ref (4x) K TITLE 20M2, 20-pad 0.85 mm Body, Lead Pitch 0.45 mm, 1.55 x 1.55 mm Exposed Pad, Thermally Enhanced Plastic Very Thin Quad Flat No Lead Package (VQFN) ...

Page 15

... Errata The revision letters in this section refer to the revision of the corresponding ATtiny40 device. 8.1 Rev known errata. 8.2 Rev. A Not sampled. 8263AS–AVR–08/10 15 ...

Page 16

... Datasheet Revision History 9.1 Rev. 8263A – 08/10 1. ATtiny40 16 Initial revision. Copied and modified from 8235_t20. 8263AS–AVR–08/10 ...

Page 17

8263AS–AVR–08/10 17 ...

Page 18

... 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 CONDI- TIONS 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 ...

Related keywords