ATTINY167-SU Atmel, ATTINY167-SU Datasheet

no-image

ATTINY167-SU

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

Specifications of ATTINY167-SU

Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, LIN, SPI, UART/USART, USI
Peripherals
Brown-out Detect/Reset, POR, PWM, Temp Sensor, WDT
Number Of I /o
16
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 11x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SOIC (0.300", 7.50mm Width)
Core
AVR8
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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:
Speed Grade:
Industrial Temperature Range
– 123 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– 8K/16K Bytes of In-System Programmable Flash Program Memory
– 512 Bytes of In-System Programmable EEPROM
– 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
– LIN 2.1 and 1.3 Controller or 8-bit UART
– One 8-bit Asynchronous Timer/Counter with Prescaler
– One 16-bit Synchronous Timer/Counter with Prescaler
– Master/Slave SPI Serial Interface
– Universal Serial Interface with Start Condition Detector
– 10-bit ADC
– 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
– 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
– 16 Programmable I/O Lines
– 20-pin SOIC, 32-pad MLF and 20-pin TSSOP
– 1.8 – 5.5V for ATtiny87/167
– 0 – 4 MHz @ 1.8 – 5.5V
– 0 – 8 MHz @ 2.7 – 5.5V
– 0 – 16 MHz @ 4.5 – 5.5V
• Endurance: 10,000 Write/Erase Cycles
• Endurance: 100,000 Write/Erase Cycles
• Output Compare or 8-bit PWM Channel
• External Event Counter
• 2 Output Compare Units or PWM Channels each Driving up to 4 Output Pins
• 11 Single Ended Channels
• 8 Differential ADC Channel Pairs with Programmable Gain (8x or 20x)
®
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

Related parts for ATTINY167-SU

ATTINY167-SU 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 ...

Related keywords