ATmega8515 Atmel Corporation, ATmega8515 Datasheet - Page 41
![no-image](/images/manufacturer_photos/0/0/79/atmel_corporation_sml.jpg)
ATmega8515
Manufacturer Part Number
ATmega8515
Description
Manufacturer
Atmel Corporation
Specifications of ATmega8515
Flash (kbytes)
8 Kbytes
Pin Count
44
Max. Operating Frequency
16 MHz
Cpu
8-bit AVR
# Of Touch Channels
16
Hardware Qtouch Acquisition
No
Max I/o Pins
35
Ext Interrupts
3
Usb Speed
No
Usb Interface
No
Spi
1
Uart
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Resistive Touch Screen
No
Temp. Sensor
No
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 85
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
3
32khz Rtc
No
Calibrated Rc Oscillator
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATMEGA8515
Manufacturer:
ATMEL
Quantity:
5 510
Company:
Part Number:
ATMEGA8515
Manufacturer:
NS
Quantity:
5 510
Part Number:
ATMEGA8515
Manufacturer:
AT
Quantity:
20 000
Company:
Part Number:
ATmega8515-16AC
Manufacturer:
MOT
Quantity:
3 450
Part Number:
ATmega8515-16AC
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega8515-16AI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATmega8515-16AU
Manufacturer:
ATMEL
Quantity:
4 500
Part Number:
ATmega8515-16AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATmega8515-16PU
Manufacturer:
AT
Quantity:
20 000
Power Management
and Sleep Modes
MCU Control Register –
MCUCR
MCU Control and Status
Register – MCUCSR
2512K–AVR–01/10
Sleep modes enable the application to shut down unused modules in the MCU, thereby
saving power. The AVR provides various sleep modes allowing the user to tailor the
power consumption to the application’s requirements.
To enter any of the three sleep modes, the SE bit in MCUCR must be written to logic
one and a SLEEP instruction must be executed. The SM2 bit in MCUCSR, the SM1 bit
in MCUCR, and the SM0 bit in the EMCUCR Register select which sleep mode (Idle,
Power-down, or Standby) will be activated by the SLEEP instruction. See Table 16 for a
summary. If an enabled interrupt occurs while the MCU is in a sleep mode, the MCU
wakes up. The MCU is then halted for four cycles in addition to the start-up time, it exe-
cutes the interrupt routine, and resumes execution from the instruction following SLEEP.
The contents of the Register File and SRAM are unaltered when the device wakes up
from sleep. If a Reset occurs during sleep mode, the MCU wakes up and executes from
the Reset Vector.
Figure 18 on page 34 presents the different clock systems in the ATmega8515, and
their distribution. The figure is helpful in selecting an appropriate sleep mode.
• Bit 5 – SE: Sleep Enable
The SE bit must be written to logic one to make the MCU enter the sleep mode when the
SLEEP instruction is executed. To avoid the MCU entering the sleep mode unless it is
the programmers purpose, it is recommended to write the Sleep Enable (SE) bit to one
just before the execution of the SLEEP instruction and to clear it immediately after wak-
ing up.
• Bit 4 – SM1: Sleep Mode Select Bit 1
The Sleep Mode Select bits select between the three available sleep modes as shown
in Table 16.
• Bit 5 – SM2: Sleep Mode Select Bit 2
The Sleep Mode Select bits select between the three available sleep modes as shown
in Table 16.
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
SRE
R/W
R/W
7
0
7
–
0
SRW10
R/W
R/W
6
0
6
–
0
SM2
R/W
R/W
SE
5
0
5
0
SM1
R/W
R/W
4
0
4
–
0
WDRF
ISC11
R/W
R/W
3
0
3
0
BORF
ISC10
R/W
R/W
2
0
2
0
ATmega8515(L)
EXTRF
ISC01
R/W
R/W
1
0
1
0
ISC00
PORF
R/W
R/W
0
0
0
0
MCUCSR
MCUCR
41