ATMEGA8515L-8MUR Atmel, ATMEGA8515L-8MUR Datasheet - Page 130
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
ATMEGA8515L-8MUR
Manufacturer Part Number
ATMEGA8515L-8MUR
Description
MCU AVR 8KB FLASH 8MHZ 44QFN
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet
1.ATMEGA8515L-8MC.pdf
(257 pages)
Specifications of ATMEGA8515L-8MUR
Core Processor
AVR
Core Size
8-Bit
Speed
8MHz
Connectivity
EBI/EMI, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
35
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
- Current page: 130 of 257
- Download datasheet (2Mb)
130
ATmega8515(L)
The following code examples show how to initialize the SPI as a Slave and how to per-
form a simple reception.
Note:
Assembly Code Example
C Code Example
SPI_SlaveInit:
SPI_SlaveReceive:
void SPI_SlaveInit(void)
{
}
char SPI_SlaveReceive(void)
{
}
; Set MISO output, all others input
ldi
out
; Enable SPI
ldi
out
ret
; Wait for reception complete
sbis SPSR,SPIF
rjmp SPI_SlaveReceive
; Read received data and return
in
ret
/* Set MISO output, all others input */
DDR_SPI = (1<<DD_MISO);
/* Enable SPI */
SPCR = (1<<SPE);
/* Wait for reception complete */
while(!(SPSR & (1<<SPIF)))
/* Return data register */
return SPDR;
1. See “About Code Examples” on page 7.
;
r17,(1<<DD_MISO)
DDR_SPI,r17
r17,(1<<SPE)
SPCR,r17
r16,SPDR
(1)
(1)
2512K–AVR–01/10
Related parts for ATMEGA8515L-8MUR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATmega8515](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATMEGA8515-16MU](/photos/12/13/121316/313-44-qfn_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ 5V 44-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16AU](/photos/6/70/67042/313-44-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ 5V 44TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16PU](/photos/6/70/67049/453-40-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ 5V 40DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16AC](/photos/6/70/67042/313-44-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ COM 44-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16PI](/photos/6/70/67049/453-40-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ IND 40-DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16JI](/photos/6/70/67043/453-44-plcc_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ IND 44-PLCC
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16AI](/photos/6/70/67042/313-44-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ IND 44-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16AUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 16MHZ 44TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16MUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 16MHZ 44QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16JUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 16MHZ 44PLCC
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16JU](/photos/6/70/67043/453-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K 16MHZ IND 44-PLCC
Manufacturer:
Atmel
Datasheet:
![ATMEGA8515-16PC](/photos/6/70/67049/453-40-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ COM 40-DIP
Manufacturer:
Atmel
Datasheet: