ATTINY40-XU Atmel, ATTINY40-XU Datasheet
ATTINY40-XU
Specifications of ATTINY40-XU
Related parts for ATTINY40-XU
ATTINY40-XU 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
... 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 20M2 Package Type (2) Operational Range Industrial (4) (-40° ...
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 ...