ATTINY167-SUR Atmel, ATTINY167-SUR Datasheet
ATTINY167-SUR
Specifications of ATTINY167-SUR
Related parts for ATTINY167-SUR
ATTINY167-SUR Summary of contents
Page 1
... MHz @ 1.8 – 5.5V – 0 – 8 MHz @ 2.7 – 5.5V – 0 – 16 MHz @ 4.5 – 5.5V • Industrial Temperature Range ® 8-bit Microcontroller 8-bit Microcontroller with 8K/16K Bytes In-System Programmable Flash and LIN Controller ATtiny87 ATtiny167 Preliminary Summary Rev. 8265BS–AVR–09/10 ...
Page 2
... Description 1.1 Comparison Between ATtiny87 and ATtiny167 ATtiny87 and ATtiny167 are hardware and software compatible. They differ only in memory sizes as shown in Table 1-1. Device ATtiny167 ATtiny87 1.2 Part Description The ATtiny87/167 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATtiny87/167 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed ...
Page 3
Block Diagram Figure 1-1. 8265BS–AVR–09/10 Block Diagram Watchdog Power Timer Supervision POR / BOD & Watchdog RESET Oscillator Oscillator Flash Circuits / Clock Generation EEPROM Timer/Counter-1 Timer/Counter-0 SPI & USI Analog Comp. PORT B (8) PORT A (8) PB[0:7] ...
Page 4
... SDA / DI / ICP1 / ADC4 / PCINT4) PA4 (SCK / SCL / USCK / T1 / ADC5 / PCINT5) PA5 (SS / AIN0 / ADC6 / PCINT6) PA6 (AREF / XREF / AIN1 / ADC7 / PCINT7) PA7 Figure 1-3. Pinout ATtiny87/167 - QFN32/MLF32 (INT1 / ISRC / ADC3 / PCINT3) PA3 ATtiny87/ATtiny167 4 PB0 (PCINT8 / OC1AU / DI / SDA PB1 (PCINT9 / OC1BU / DO) ...
Page 5
Pin Description 1.5.1 VCC Supply voltage. 1.5.2 GND Ground. 1.5.3 AVCC Analog supply voltage. 1.5.4 AGND Analog ground. 1.5.5 Port A (PA7:PA0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The ...
Page 6
... PPM over 20 years at 85°C or 100 years at 25°C. 1.9 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 val- ues will be available after the device has been characterized. ATtiny87/ATtiny167 6 8265BS–AVR–09/10 ...
Page 7
Register Summary Address Name Bit 7 (0xFF) Reserved (0xFE) Reserved (0xFD) Reserved (0xFC) Reserved (0xFB) Reserved (0xFA) Reserved (0xF9) Reserved (0xF8) Reserved (0xF7) Reserved (0xF6) Reserved (0xF5) Reserved (0xF4) Reserved (0xF3) Reserved (0xF2) Reserved (0xF1) Reserved (0xF0) Reserved (0xEF) ...
Page 8
... TCCR1D OC1BX (0x82) TCCR1C FOC1A (0x81) TCCR1B ICNC1 (0x80) TCCR1A COM1A1 (0x7F) DIDR1 – (0x7E) DIDR0 ADC7D/AIN1D ADC6D/AIN0D (0x7D) Reserved ATtiny87/ATtiny167 8 Bit 6 Bit 5 Bit 4 Bit 3 USIB6 USIB5 USIB4 USIB3 USID6 USID5 USID4 USID3 USIOIF USIPF USIDC USICNT3 USIOIE USIWM1 USIWM0 ...
Page 9
Address Name Bit 7 (0x7C) ADMUX REFS1 (0x7B) ADCSRB BIN (0x7A) ADCSRA ADEN (0x79) ADCH - / ADC9 (0x78) ADCL ADC7 / ADC1 (0x77) AMISCR – (0x76) Reserved (0x75) Reserved (0x74) Reserved (0x73) Reserved (0x72) Reserved (0x71) Reserved (0x70) Reserved ...
Page 10
... Registers as data space using LD and ST instructions, 0x20 must be added to these addresses. The ATtiny87/167 is a com- plex microcontroller with more peripheral units than can be supported within the 64 location reserved in Opcode for the IN and OUT instructions. For the Extended I/O space from 0x60 - 0xFF in SRAM, only the ST/STS/STD and LD/LDS/LDD instructions can be used. ATtiny87/ATtiny167 10 Bit 6 Bit 5 ...
Page 11
Instruction Set Summary Mnemonics Operands ADD Rd, Rr ADC Rd, Rr ADIW Rdl,K SUB Rd, Rr SUBI Rd, K SBC Rd, Rr SBCI Rd, K SBIW Rdl,K AND Rd, Rr ANDI Rd Rd, Rr ORI Rd, K ...
Page 12
... Rd, P OUT P, Rr PUSH Rr POP Rd NOP SLEEP WDR BREAK ATtiny87/ATtiny167 12 Description Logical Shift Right Rotate Left Through Carry Rotate Right Through Carry Arithmetic Shift Right Swap Nibbles Flag Set Flag Clear Bit Store from Register to T Bit load from T to Register ...
Page 13
... All packages are Pb-free, halide-free and fully green and they comply with the European directive for Restriction of Hazard- ous Substances (RoHS). 2. Tape and reel. 3. These devices can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering informa- tion and minimum quantities. 32M1-A 32-pad ...
Page 14
... Wide, Plastic Gull Wing Small Outline Package (SOIC) 20X 20-lead, 4.4 mm Wide, Plastic Thin Shrink Small Outline Package (TSSOP) ATtiny87/ATtiny167 14 Ordering Code Package ATtiny167-MU (2) ATtiny167-MUR ATtiny167-SU (2) ATtiny167-SUR ATtiny167-XU (2) ATtiny167-XUR Package Type (1) Operational Range 32M1-A 32M1-A Industrial 20S2 20S2 (3) (-40° ...
Page 15
Packaging Information 5.1 32M1 Pin TOP VIEW Pin #1 Notch (0. BOTTOM VIEW Note: JEDEC Standard MO-220, Fig. 2 (Anvil Singulation), VHHD-2. 2325 Orchard Parkway San ...
Page 16
... ATtiny87/ATtiny167 16 8265BS–AVR–09/10 ...
Page 17
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 8265BS–AVR–09/10 PIN 1 4.50 (0.177) 4.30 (0.169) 6.60 (.260) 6.40 (.252) 0.15 ...
Page 18
... Clock Source’ command remains enabled. 6.1.2 Rev Not sampled. 6.2 Errata ATtiny167 The revision letter in this section refers to the revision of the ATtiny167 device. 6.2.1 Rev. C • Gain control of the crystal oscillator. • ‘Disable Clock Source’ command remains enabled. 6.2.2 Rev ...
Page 19
Loose gain control of crystal oscillator !!! ; ==> WORKAROUND ... ; ... 3. ‘Disable Clock Source’ command remains enabled. In the Dynamic Clock Switch module, the ‘Disable Clock Source’ command remains run- ning after disabling the ...
Page 20
... ATtiny87/ATtiny167 20 – Section 9.3.3 “Alternate Functions of Port A” on page – Section 26.2 “ATtiny167” on page – Section 10.11.1 “TCCR0A – Timer/Counter0 Control Register A” on page Bit 1 and Bit 0 descriptions – Bit syntax throughout the datasheet, e.g. from CS02:0 to CS0[2:0] 76, Bit 3 and Bit 4 ...
Page 21
8265BS–AVR–09/10 21 ...
Page 22
... 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 ...