ATMEGA8-16AUR Atmel, ATMEGA8-16AUR Datasheet - Page 124
![IC MCU AVR 8K 16MHZ 5V 32TQFP](/photos/6/91/69154/313-32-tqfp_sml.jpg)
ATMEGA8-16AUR
Manufacturer Part Number
ATMEGA8-16AUR
Description
IC MCU AVR 8K 16MHZ 5V 32TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Specifications of ATMEGA8-16AUR
Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
23
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
32-TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
ATMEGA8-16AUR
Manufacturer:
AVX
Quantity:
4 000
- Current page: 124 of 302
- Download datasheet (6Mb)
124
ATmega8(L)
The following code examples show how to initialize the SPI as a Slave and how to perform 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
;
r17,(1<<DD_MISO)
DDR_SPI,r17
r17,(1<<SPE)
SPCR,r17
r16,SPDR
“About Code Examples” on page 8
(1)
(1)
2486Z–AVR–02/11
Related parts for ATMEGA8-16AUR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATMEGA8-16AU](/photos/6/91/69154/313-32-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ 5V 32TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16MU](/photos/12/32/123219/atmega8-16mu_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ 5V 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16PU](/photos/7/21/72189/453-28-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ 5V 28DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16AC](/photos/6/91/69154/313-32-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ COM 32-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16AI](/photos/6/91/69154/313-32-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ IND 32-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16PC](/photos/7/21/72189/453-28-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ COM 28-DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16PI](/photos/7/21/72189/453-28-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ IND 28-DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16MC](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ COM 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16MUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8KB FLASH 16MHZ 32QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16MI](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ IND 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16AJ](/photos/6/91/69154/313-32-tqfp_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K 5V 16MHZ 32-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16MJ](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K 5V 16MHZ 32-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8-16PJ](/photos/7/21/72189/453-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K 5V 16MHZ 28-DIP
Manufacturer:
Atmel
Datasheet: