ATMEGA8535-16AUR Atmel, ATMEGA8535-16AUR Datasheet - Page 151
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
ATMEGA8535-16AUR
Manufacturer Part Number
ATMEGA8535-16AUR
Description
MCU AVR 8K FLASH 16MHZ 44TQFP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheet
1.ATMEGA8535L-8AU.pdf
(321 pages)
Specifications of ATMEGA8535-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
32
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)
4.5 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 151 of 321
- Download datasheet (3Mb)
2502K–AVR–10/06
The following simple USART initialization code examples show one assembly and one
C function that are equal in functionality. The examples assume asynchronous opera-
tion using polling (no interrupts enabled) and a fixed frame format. The baud rate is
given as a function parameter. For the assembly code, the baud rate parameter is
assumed to be stored in the r17:r16 registers. When the function writes to the UCSRC
Register, the URSEL bit (MSB) must be set due to the sharing of I/O location by UBRRH
and UCSRC.
Note:
More advanced initialization routines can be made that include frame format as parame-
ters, disable interrupts and so on. However, many applications use a fixed setting of the
baud and control registers, and for these types of applications the initialization code can
be placed directly in the main routine or be combined with initialization code for other I/O
modules.
Assembly Code Example
C Code Example
USART_Init:
#define FOSC 1843200// Clock Speed
#define BAUD 9600
#define MYUBRR FOSC/16/BAUD-1
void main( void )
{
...
USART_INIT ( MYUBRR );
...
}
void USART_Init( unsigned int baud )
{
/* Set baud rate */
UBRRH = (unsigned char)(baud>>8);
UBRRL = (unsigned char)baud;
/* Enable receiver and transmitter */
UCSRB = (1<<RXEN)|(1<<TXEN);
/* Set frame format: 8data, 2stop bit */
UCSRC = (1<<USBS)|(3<<UCSZ0);
}
; Set baud rate
out
out
; Enable Receiver and Transmitter
ldi
out
; Set frame format: 8data, 2stop bit
ldi
out
ret
1. See “About Code Examples” on page 7.
UBRRH, r17
UBRRL, r16
r16, (1<<RXEN)|(1<<TXEN)
UCSRB,r16
r16, (1<<URSEL)|(1<<USBS)|(3<<UCSZ0)
UCSRC,r16
(1)
(1)
ATmega8535(L)
151
Related parts for ATMEGA8535-16AUR
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATmega8535](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATMEGA8535-16MU](/photos/12/13/121316/313-44-qfn_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ 5V 44-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16PU](/photos/6/70/67049/453-40-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ 5V 40DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16MC](/photos/12/13/121316/313-44-qfn_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ COM 44-QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16JC](/photos/6/70/67043/453-44-plcc_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ COM 44-PLCC
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16PI](/photos/6/70/67049/453-40-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ IND 40-DIP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16JI](/photos/6/70/67043/453-44-plcc_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ IND 44-PLCC
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16AI](/photos/6/70/67042/313-44-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ IND 44-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16AJ](/photos/6/70/67042/313-44-tqfp_tmb.jpg)
Part Number:
Description:
IC MCU AVR 8K 5V 16MHZ 44-TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16AU](/photos/6/70/67042/313-44-tqfp_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ 5V 44TQFP
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16JU](/photos/6/70/67043/453-44-plcc_tmb.jpg)
Part Number:
Description:
MCU AVR 8K ISP FLASH MEM 44-PLCC
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16MUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8K FLASH 16MHZ 44QFN
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16JUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 8K FLASH 16MHZ 44PLCC
Manufacturer:
Atmel
Datasheet:
![ATMEGA8535-16PC](/photos/6/70/67049/453-40-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 8K 16MHZ COM 40-DIP
Manufacturer:
Atmel
Datasheet: