ATtiny167 Automotive Atmel Corporation, ATtiny167 Automotive Datasheet - Page 60

no-image

ATtiny167 Automotive

Manufacturer Part Number
ATtiny167 Automotive
Description
Manufacturer
Atmel Corporation

Specifications of ATtiny167 Automotive

Flash (kbytes)
16 Kbytes
Pin Count
20
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
2
Twi (i2c)
1
Uart
1
Lin
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 150
I/o Supply Class
2.7 to 5.5
Operating Voltage (vcc)
2.7 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
3
Input Capture Channels
1
Pwm Channels
9
32khz Rtc
Yes
Calibrated Rc Oscillator
Yes
7.2
60
Program Setup in ATtiny87
ATtiny87/ATtiny167
The most typical and general program setup for the Reset and Interrupt Vector Addresses in
ATtiny87 is (2-byte step - using “rjmp” instruction):
Note:
Address
0x0000
0x0001
0x0002
0x0003
0x0004
0x0005
0x0006
0x0007
0x0008
0x0009
0x000A
0x000B
0x000C
0x000D
0x000E
0x000F
0x0010
0x0011
0x0012
0x0013
0x0014 RESET:
0x0015
0x0016
0x0017
0x0018
0x0019
...
16-bit address
(Note:)
...
Label Code
...
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
ldi
out
ldi
out
sei
<instr>
RESET
INT0addr
INT1addr
PCINT0addr
PCINT1addr
WDTaddr
ICP1addr
OC1Aaddr
OC1Baddr
OVF1addr
OC0Aaddr
OVF0addr
LINTCaddr
LINERRaddr
SPIaddr
ADCCaddr
ERDYaddr
ACIaddr
USISTARTaddr
USIOVFaddr
r16, high(RAMEND); Main program start
SPH,r16
r16, low(RAMEND)
SPL,r16
...
xxx
Comments
; Reset Handler
; IRQ0 Handler
; IRQ1 Handler
; PCINT0 Handler
; PCINT1 Handler
; Watchdog Timer Handler
; Timer1 Capture Handler
; Timer1 Compare A Handler
; Timer1 Compare B Handler
; Timer1 Overflow Handler
; Timer0 Compare A Handler
; Timer0 Overflow Handler
; LIN Transfer Complete Handler
; LIN Error Handler
; SPI Transfer Complete Handler
; ADC Conversion Complete Handler
; EEPROM Ready Handler
; Analog Comparator Handler
; USI Start Condition Handler
; USI Overflow Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
7728G–AVR–06/10

Related parts for ATtiny167 Automotive