ATtiny167

Manufacturer Part NumberATtiny167
ManufacturerAtmel Corporation
ATtiny167 datasheets
 


Specifications of ATtiny167

Flash (kbytes)16 KbytesPin Count20
Max. Operating Frequency16 MHzCpu8-bit AVR
# Of Touch Channels8Hardware Qtouch AcquisitionNo
Max I/o Pins16Ext Interrupts16
Usb SpeedNoUsb InterfaceNo
Spi2Twi (i2c)1
Uart1Lin1
Graphic LcdNoVideo DecoderNo
Camera InterfaceNoAdc Channels11
Adc Resolution (bits)10Adc Speed (ksps)15
Analog Comparators1Resistive Touch ScreenNo
Temp. SensorYesCrypto EngineNo
Sram (kbytes)0.5Eeprom (bytes)512
Self Program MemoryYESDram MemoryNo
Nand InterfaceNoPicopowerNo
Temp. Range (deg C)-40 to 85I/o Supply Class1.8 to 5.5
Operating Voltage (vcc)1.8 to 5.5FpuNo
Mpu / Mmuno / noTimers2
Output Compare Channels3Input Capture Channels1
Pwm Channels932khz RtcYes
Calibrated Rc OscillatorYes  
1
Page 1
2
Page 2
3
Page 3
4
Page 4
5
Page 5
6
Page 6
7
Page 7
8
Page 8
9
Page 9
10
Page 10
11
12
13
14
15
16
17
18
19
20
21
22
Page 1/22

Download datasheet (804Kb)Embed
Next
Features
High Performance, Low Power AVR
Advanced RISC Architecture
– 123 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
Non-volatile Program and Data Memories
– 8K/16K Bytes of In-System Programmable Flash Program Memory
• Endurance: 10,000 Write/Erase Cycles
– 512 Bytes of In-System Programmable EEPROM
• Endurance: 100,000 Write/Erase Cycles
– 512 Bytes of Internal SRAM
– Data retention: 20 Years at 85°C / 100 Years at 25°C
– In-System Programmable via SPI Port
– Low size LIN/UART Software In-System Programmable
– Programming Lock for Software Security
Peripheral Features
– LIN 2.1 and 1.3 Controller or 8-bit UART
– One 8-bit Asynchronous Timer/Counter with Prescaler
• Output Compare or 8-bit PWM Channel
– One 16-bit Synchronous Timer/Counter with Prescaler
• External Event Counter
• 2 Output Compare Units or PWM Channels each Driving up to 4 Output Pins
– Master/Slave SPI Serial Interface
– Universal Serial Interface with Start Condition Detector
– 10-bit ADC
• 11 Single Ended Channels
• 8 Differential ADC Channel Pairs with Programmable Gain (8x or 20x)
– On-chip Analog Comparator with Selectable Voltage Reference
– 100 µA ±10% Current Source for LIN Node Identification
– On-chip Temperature Sensor
– Programmable Watchdog Timer with Separate On-chip Oscillator
Special Microcontroller Features
– Software Controlled Clock Switching for Power Control, EMC Reduction
– debugWIRE On-chip Debug System
– External and Internal Interrupt Sources
– Low Power Idle, ADC Noise Reduction, and Power-down Modes
– Power-on Reset and Programmable Brown-out Detection
– Internal 8MHz Calibrated Oscillator
– 4-16 MHz and 32 KHz Crystal/Ceramic Resonator Oscillators
I/O and Packages
– 16 Programmable I/O Lines
– 20-pin SOIC, 32-pad MLF and 20-pin TSSOP
Operating Voltage:
– 1.8 – 5.5V for ATtiny87/167
Speed Grade:
– 0 – 4 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

ATtiny167 Summary of contents

  • Page 1

    ... Speed Grade: – 0 – 4 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

    Ordering Information 4.1 ATtiny87 Speed (MHz) Power Supply (V) 16 1.8 – 5.5 Notes: 1. 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 ...

  • 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°C to +85°C) ...

  • 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 Not sampled ...

  • 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

    ... Initial revision created from document 7728G - 06/10. 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

    ... Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. © 2010 Atmel Corporation. All rights reserved. Atmel of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. International Atmel Asia Atmel Europe Unit 1-5 & ...