DataSheet.fr

PDF ATtiny15 Fiche technique - ATMEL Corporation

Numéro de référence ATtiny15
Description 8-bit Microcontroller
Fabricant ATMEL Corporation 
Logo ATMEL Corporation Logo 



17 Pages
		

No Preview Available !

ATtiny15 Datasheet, Description
Features
High-performance, Low-power AVR® 8-bit Microcontroller
RISC Architecture
90 Powerful Instructions - Most Single Clock Cycle Execution
32 x 8 General Purpose Working Registers
Fully Static Operation
Nonvolatile Program and Data Memories
1K Bytes of In-System Programmable Program Memory Flash
Endurance: 1,000 Write/Erase Cycles
64 bytes of In-System Programmable EEPROM
Endurance: 100,000 Write/Erase Cycles
Programming Lock for Flash Program and EEPROM Data Security
Peripheral Features
Two 8-bit Timers/Separate Prescalers
One High-speed (100 kHz) PWM Output
4-channel 10-bit ADC
One Differential Voltage Input with Optional Gain of 20X
On-chip Analog Comparator
Programmable Watchdog Timer with On-chip Oscillator
Special Microcontroller Features
In-System Programmable via SPI Port
External and Internal Interrupt Sources
Low-power Idle, Noise Reduction and Power Down Modes
Enhanced Power-on Reset Circuit
Programmable Brown-out Detection Circuit
Internal 1.6 MHz Tuneable Oscillator
Internal 25.6 MHz Clock Generator for Timer/Counter 1
I/O and Packages
8-pin PDIP/SOIC: 6 Programmable I/O Lines
Operating Voltages
2.7V - 5.5V (ATtiny15L)
4.0V - 5.5V (ATtiny15)
Commercial and Industrial Temperature Ranges
8-bit
Microcontroller
with 1K Bytes
Flash
ATtiny15
Advance
Information
Description
The ATtiny15 is a low-power CMOS 8-bit microcontroller based on the AVR RISC
architecture. By executing powerful instructions in a single clock cycle, the ATtiny15
achieves throughputs approaching 1 MIPS per MHz allowing the system designer to
optimize power consumption versus processing speed.
The AVR core combines a rich instruction set with 32 general purpose working regis-
ters. All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU),
allowing two independent registers to be accessed in one single instruction executed
(continued)
Pin Configurations
PDIP/SOIC
(RESET/ADC0) PB5
(ADC3) PB4
(ADC2) PB3
GND
1
2
3
4
8 VCC
7 PB2 (SCK/ADC1/T0/INT0)
6 PB1 (MISO/AIN1/OCP)
5 PB0 (MOSI/AIN0/AREF)
Rev. 1187A08/99
1
ATtiny15 Fiche technique
ATtiny15
The ATtiny15 provides 1K bytes of Flash, 64 bytes EEPROM, 6 general purpose I/O lines, 32 general purpose working reg-
isters, two 8-bit timer/counters, one with PWM output, internal oscillators, internal and external interrupts, programmable
Watchdog Timer, 4-channel, 10-bit Analog to Digital Converter with one differential voltage input gain stage, and three soft-
ware selectable power saving modes. The Idle Mode stops the CPU while allowing the timer/counters and interrupt system
to continue functioning. The Power Down mode saves the register contents but freezes the oscillators, disabling all other
chip functions until the next interrupt or hardware reset. The wakeup or interrupt on pin change features enable the
ATtiny15 to be highly responsive to external events, still featuring the lowest power consumption while in the power down
mode. The ATtiny15 also has a dedicated ADC Noise Reduction Mode for reducing the noise in ADC conversion. In this
Sleep Mode, only the ADC is functioning.
The device is manufactured using Atmels high density nonvolatile memory technology. By combining an enhanced RISC
8-bit CPU with Flash on a monolithic chip, the Atmel ATtiny15 is a powerful microcontroller that provides a highly flexible
and cost effective solution to many embedded control applications.
The ATtiny15 AVR is supported with a full suite of program and system development tools including: macro assemblers,
program debugger/simulators, in-circuit emulators, and evaluation kits.
Pin Descriptions
VCC
Supply voltage pin.
GND
Ground pin.
Port B (PB5..PB0)
Port B is a 6-bit I/O port. PB4..0 are I/O pins that can provide internal pull-ups (selected for each bit). PB5 is input only. The
use of pin PB5 is defined by a fuse. The special functions associated with this pin is external Reset or ADC Input Channel0.
Port B also accommodates analog I/O pins.
Analog Pins
Up to four analog inputs can be selected as inputs to the Analog to Digital Converter (ADC).
Table 1. Port B Alternate Functions
Port Pin
Alternate Function
PB0 MOSI (SPI Data Input)
AIN0 (Analog Comparator Input Channel 0)
VREF (ADC Voltage Reference)
PB1 MISO (SPI Data Output)
AIN1 (Analog Comparator Input Channel 1)
OCP(T/C1 PWM Output)
PB2 SCK (SPI Clock Input)
INT0 (Ext. Interrupt 0 Input)
ADC1 (ADC Input Channel 1)
T0 (Timer/Counter 0 External Counter Input)
PB3 ADC2 (ADC Input Channel 2)
PB4 ADC3 (ADC Input Channel 3)
PB5 RESET (Ext. Reset Input)
ADC0 (ADC Input Channel 0)
3

3 Page

ATtiny15 pdf
Table 4. Sleep Modes
SM1
0
0
1
1
SM0
0
1
0
1
Sleep Mode
Idle Mode
ADC Noise Reduction Mode
Power Down Mode
Reserved
Timer/Counters
The ATtiny15 provides two general purpose 8-bit Timer/Counters. The Timer/Counters have separate prescaling selection
from the 10-bit prescaling timer. The Timer/Counter0 uses internal clock (CK) as the clock timebase.
The 8-bit Timer/Counter0
The 8-bit Timer/Counter0 is equal to the Timer/Counter0 of the ATtiny12.
8-bit Timer/Counter1
The 8-bit Timer/Counter1 can select clock source from high speed PCK, or prescaled PCK. The fifteen different prescaled
selections are shown in Table 6. The clock can also be stopped as described in the specification for the Timer/Counter
Control Register TCCR1.
The different status flags (overflow, compare match) are found in the Timer/Counter Interrupt Flag Register - TIFR. Control
signals are found in the Timer/Counter Control Register TCCR1. The interrupt enable/disable settings are found in the
Timer/Counter Interrupt Mask Register - TIMSK.
The Timer/Counter supports an Output Compare function using the Output Compare Register OCR10 as the data source
to be compared to the Timer/Counter1 contents. The Output Compare function includes optional clearing of the counter on
compare match, and action on the Output Compare Pin - PB1(OCP) - on compare match.
Timer/Counter1 can also be used as an 8-bit Pulse Width Modulator. In this mode, Timer/Counter1 and the two output
compare registers serve as a stand-alone PWM.
The Timer/Counter1 Control Register - TCCR1
Bit
$30 ($50)
Read/Write
Initial value
7
CTC1
R/W
0
6
PWM1
R/W
0
5
COM11
R/W
0
4
COM10
R/W
0
3
CS13
R/W
0
2
CS12
R/W
0
1
CS11
R/W
0
0
CS10
R/W
0
TCCR1
Bit 7 - CTC1: Clear Timer/Counter on Compare Match
When the CTC1 control bit is set (one), Timer/Counter1 is reset to $00 in the CPU clock cycle after a compare match. If the
control bit is cleared, Timer/Counter1 continues counting and is unaffected by a compare match.
Bit 6 - PWM1: Pulse Width Modulator Enable
When set (one) this bit enables PWM mode for Timer/Counter1. This mode is described on page 8.
Bits 5,4 - COM11, COM10: Compare Output Mode, bits 1 and 0
The COM11 and COM10 control bits determins any output pin action following a compare match in Timer/Counter1. Output
pin actions affect pin PB1(OC1). Since this is an alternative function to an I/O port, the corresponding direction control bit
must be set (one) to control an output pin. The control configuration is shown in Table 5.
6 ATtiny15

6페이지



Constitution17 Pages
Télécharger[ ATtiny15.PDF ]

Liens de partage


Fiche technique recommandé

RéférenceDescriptionFabricant
ATtiny108-bit AVR MicrocontrollerATMEL
ATMEL
ATtiny118-bit MicrocontrollerAtmel
Atmel
ATtiny128-bit MicrocontrollerAtmel
Atmel
ATtiny138-bit MicrocontrollerAtmel
Atmel
ATTINY13A8-bit MicrocontrollerAtmel
Atmel
ATtiny13V8-bit MicrocontrollerAtmel
Atmel
ATtiny158-bit MicrocontrollerATMEL Corporation
ATMEL Corporation
ATTINY15L8-bit MicrocontrollerATMEL Corporation
ATMEL Corporation
ATtiny1634 8-bit Atmel tinyAVR MicrocontrollerATMEL
ATMEL

RéférenceDescriptionFabricant
H6060Monolithic low-power CMOS device combining a programmable timerEM Microelectronic - MARIN SA
EM Microelectronic - MARIN SA
IT8772EHighly integrated Super I/O using the Low Pin Count InterfaceITE
ITE

Un datasheet est un document fourni par le constructeur du composant, où figurent toutes les données techniques sur le produit: puissance dissipée, courant maximal, tension de seuil, tension de claquage, température de stockage, etc.


www.DataSheet.fr    |   2019   |  Contactez-nous    |   Recherche