ATmega8535

Manufacturer Part NumberATmega8535
ManufacturerAtmel Corporation
ATmega8535 datasheets
 

Specifications of ATmega8535

Flash (kbytes)8 KbytesPin Count44
Max. Operating Frequency16 MHzCpu8-bit AVR
# Of Touch Channels16Hardware Qtouch AcquisitionNo
Max I/o Pins32Ext Interrupts3
Usb SpeedNoUsb InterfaceNo
Spi1Twi (i2c)1
Uart1Graphic LcdNo
Video DecoderNoCamera InterfaceNo
Adc Channels8Adc Resolution (bits)10
Adc Speed (ksps)15Analog Comparators1
Resistive Touch ScreenNoTemp. SensorNo
Crypto EngineNoSram (kbytes)0.5
Eeprom (bytes)512Self Program MemoryYES
Dram MemoryNoNand InterfaceNo
PicopowerNoTemp. Range (deg C)-40 to 85
I/o Supply Class2.7 to 5.5Operating Voltage (vcc)2.7 to 5.5
FpuNoMpu / Mmuno / no
Timers3Output Compare Channels4
Input Capture Channels1Pwm Channels4
32khz RtcYesCalibrated Rc OscillatorYes
1
Page 1
2
Page 2
3
Page 3
4
Page 4
5
Page 5
6
Page 6
7
Page 7
8
Page 8
9
Page 9
10
Page 10
11
12
13
14
15
16
17
18
19
20
21
22
Page 1/22

Download datasheet (257Kb)Embed
Next
Features
High-performance, Low-power AVR
Advanced RISC Architecture
– 130 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16 MHz
– On-chip 2-cycle Multiplier
Nonvolatile Program and Data Memories
– 8K Bytes of In-System Self-Programmable Flash
Endurance: 10,000 Write/Erase Cycles
– Optional Boot Code Section with Independent Lock Bits
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
– 512 Bytes EEPROM
Endurance: 100,000 Write/Erase Cycles
– 512 Bytes Internal SRAM
– Programming Lock for Software Security
Peripheral Features
– Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
Mode
– Real Time Counter with Separate Oscillator
– Four PWM Channels
– 8-channel, 10-bit ADC
8 Single-ended Channels
7 Differential Channels for TQFP Package Only
2 Differential Channels with Programmable Gain at 1x, 10x, or 200x for TQFP
Package Only
– Byte-oriented Two-wire Serial Interface
– Programmable Serial USART
– Master/Slave SPI Serial Interface
– Programmable Watchdog Timer with Separate On-chip Oscillator
– On-chip Analog Comparator
Special Microcontroller Features
– Power-on Reset and Programmable Brown-out Detection
– Internal Calibrated RC Oscillator
– External and Internal Interrupt Sources
– Six Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, Standby
and Extended Standby
I/O and Packages
– 32 Programmable I/O Lines
– 40-pin PDIP, 44-lead TQFP, 44-lead PLCC, and 44-pad QFN/MLF
Operating Voltages
– 2.7 - 5.5V for ATmega8535L
– 4.5 - 5.5V for ATmega8535
Speed Grades
– 0 - 8 MHz for ATmega8535L
– 0 - 16 MHz for ATmega8535
®
8-bit Microcontroller
Note: This is a summary document. A complete document
is available on our Web site at www.atmel.com.
8-bit
Microcontroller
with 8K Bytes
In-System
Programmable
Flash
ATmega8535
ATmega8535L
Summary
2502KS–AVR–10/06

ATmega8535 Summary of contents

  • Page 1

    ... Operating Voltages – 2.7 - 5.5V for ATmega8535L – 4.5 - 5.5V for ATmega8535 • Speed Grades – MHz for ATmega8535L – MHz for ATmega8535 ® 8-bit Microcontroller Note: This is a summary document. A complete document is available on our Web site at www.atmel.com. 8-bit Microcontroller with 8K Bytes ...

  • Page 2

    ... Pin Configurations Disclaimer ATmega8535(L) 2 Figure 1. Pinout ATmega8535 (XCK/T0) PB0 (T1) PB1 (INT2/AIN0) PB2 (OC0/AIN1) PB3 (SS) PB4 (MOSI) PB5 (MISO) PB6 (SCK) PB7 (RXD) PD0 (TXD) PD1 (INT0) PD2 (INT1) PD3 (OC1B) PD4 (OC1A) PD5 (ICP1) PD6 (MOSI) PB5 1 33 PA4 (ADC4) (MISO) PB6 ...

  • Page 3

    ... Overview Block Diagram 2502KS–AVR–10/06 The ATmega8535 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing instructions in a single clock cycle, the ATmega8535 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed. ...

  • Page 4

    ... In-System Self-Programmable Flash on a monolithic chip, the Atmel ATmega8535 is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. The ATmega8535 AVR is supported with a full suite of program and system develop- ment tools including: C compilers, macro assemblers, program debugger/simulators, In- Circuit Emulators, and evaluation kits. ...

  • Page 5

    ... The Port B pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port B also serves the functions of various special features of the ATmega8535 as listed on page 60. Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit) ...

  • Page 6

    ... Resources ATmega8535( comprehensive set of development tools, application notes and datasheets are avail- able for download on http://www.atmel.com/avr. 2502KS–AVR–10/06 ...

  • Page 7

    ... These code examples assume that the part specific header file is included before compilation. Be aware that not all C compiler vendors include bit defini- tions in the header files and interrupt handling compiler dependent. Please confirm with the C Compiler documentation for more details. ATmega8535(L) 7 ...

  • Page 8

    ... ACD 0x07 (0x27) ADMUX REFS1 0x06 (0x26) ADCSRA ADEN 0x05 (0x25) ADCH 0x04 (0x24) ADCL 0x03 (0x23) TWDR 0x02 (0x22) TWAR TWA6 0x01 (0x21) TWSR TWS7 ATmega8535( Bit 6 Bit 5 Bit 4 Bit – – – – SP6 SP5 SP4 SP3 ...

  • Page 9

    ... I/O Register, writing a one back into any flag read as set, thus clearing the flag. The CBI and SBI instructions work with registers 0x00 to 0x1F only. 2502KS–AVR–10/06 Bit 6 Bit 5 Bit 4 Bit 3 Two-wire Serial Interface Bit Rate Register ATmega8535(L) Bit 2 Bit 1 Bit 0 Page 181 9 ...

  • Page 10

    ... Branch if T Flag Cleared BRVS k Branch if Overflow Flag is Set BRVC k Branch if Overflow Flag is Cleared BRIE k Branch if Interrupt Enabled BRID k Branch if Interrupt Disabled DATA TRANSFER INSTRUCTIONS ATmega8535(L) 10 Operation Flags Rd ← Z,C,N,V,H Rd ← Z,C,N,V,H Rdh:Rdl ← Rdh:Rdl + K Z,C,N,V,S Rd ← Z,C,N,V,H Rd ← Z,C,N,V,H Rd ← Z,C,N,V,H Rd ← ...

  • Page 11

    ... Set T in SREG CLT Clear T in SREG SEH Set Half Carry Flag in SREG CLH Clear Half Carry Flag in SREG MCU CONTROL INSTRUCTIONS NOP No Operation 2502KS–AVR–10/06 ATmega8535(L) Operation Flags Rd ← Rr None Rd+1:Rd ← Rr+1:Rr None Rd ← K None Rd ← (X) None Rd ← (X), X ← None X ← ...

  • Page 12

    ... Mnemonics Operands Description SLEEP Sleep WDR Watchdog Reset BREAK Break ATmega8535(L) 12 Operation Flags (see specific descr. for Sleep function) None (see specific descr. for WDR/Timer) None For On-chip Debug Only None #Clocks 1 1 N/A 2502KS–AVR–10/06 ...

  • Page 13

    ... ATmega8535L-8AU 44A (2) ATmega8535L-8PU 40P6 (2) ATmega8535L-8JU 44J (2) ATmega8535L-8MU 44M1 ATmega8535-16AC 44A ATmega8535-16PC 40P6 ATmega8535-16JC 44J ATmega8535-16MC 44M1 ATmega8535-16AI 44A ATmega8535-16PI 40P6 ATmega8535-16JI 44J ATmega8535-16MI 44M1 (2) ATmega8535-16AU 44A (2) ATmega8535-16PU 40P6 (2) ATmega8535-16JU 44J (2) ATmega8535-16MU 44M1 Package Type ATmega8535(L) (1) Operation Range Commercial 0°C to 70°C) ...

  • Page 14

    ... This package conforms to JEDEC reference MS-026, Variation ACB. 2. Dimensions D1 and E1 do not include mold protrusion. Allowable protrusion is 0.25 mm per side. Dimensions D1 and E1 are maximum plastic body size dimensions including mold mismatch. 3. Lead coplanarity is 0.10 mm maximum. 2325 Orchard Parkway San Jose, CA 95131 R ATmega8535( PIN 1 IDENTIFIER ...

  • Page 15

    ... Orchard Parkway San Jose, CA 95131 R 2502KS–AVR–10/06 D PIN 0º ~ 15º REF eB TITLE 40P6, 40-lead (0.600"/15.24 mm Wide) Plastic Dual Inline Package (PDIP) ATmega8535(L) E1 COMMON DIMENSIONS (Unit of Measure = mm) MIN NOM MAX SYMBOL A – – 4.826 A1 0.381 – – D 52.070 – ...

  • Page 16

    ... Allowable protrusion is .010"(0.254 mm) per side. Dimension D1 and E1 include mold mismatch and are measured at the extreme material condition at the upper or lower parting line. 3. Lead coplanarity is 0.004" (0.102 mm) maximum. 2325 Orchard Parkway San Jose, CA 95131 R ATmega8535(L) 16 1.14(0.045) X 45˚ PIN NO. 1 IDENTIFIER E1 E ...

  • Page 17

    ... Option A 1 Triangle 2 3 Option B Pin #1 Chamfer (C 0.30) Option C Pin #1 Notch e (0.20 R) TITLE 44M1, 44-pad 1.0 mm Body, Lead Pitch 0.50 mm, 5.20 mm Exposed Pad, Micro Lead Frame Package (MLF) ATmega8535(L) SEATING PLANE SIDE VIEW COMMON DIMENSIONS (Unit of Measure = mm) MIN NOM MAX NOTE SYMBOL A 0.80 0.90 1.00 A1 – ...

  • Page 18

    ... Errata ATmega8535 Rev. A and B ATmega8535(L) 18 The revision letter refer to the device revision. • First Analog Comparator conversion may be delayed • Asynchronous Oscillator does not stop in Power-down 1. First Analog Comparator conversion may be delayed If the device is powered by a slow rising V sion will take longer than expected on some devices. ...

  • Page 19

    ... Package QFN/MLF”. 1. Updated “Reset Characteristics” on page 37. 2. Updated SPH in “Stack Pointer” on page 12. 3. Updated C code in “USART Initialization” on page 150. 4. Updated “Errata” on page 18. 1. Updated “Calibrated Internal RC Oscillator” on page 29. 2. Added section “Errata” on page 18. ATmega8535(L) 19 ...

  • Page 20

    ... ATmega8535( Removed “Advance Information” and some TBD’s from the datasheet. 2. Added note to “Pinout ATmega8535” on page 2. 3. Updated “Reset Characteristics” on page 37. 4. Updated “Absolute Maximum Ratings” and “DC Characteristics” in “Electrical Characteristics” on page 255. ...

  • Page 21

    ... Changes from Rev. 2502A-06/02 to Rev. 2502B-09/02 2502KS–AVR–10/06 14. Updated “ADC Characteristics” on page 263. 14. Updated “Register Summary” on page 8. 15. Various Timer 1 corrections. 16. Added WD_FUSE period in Table 108 on page 253. 1. Canged the Endurance on the Flash to 10,000 Write/Erase Cycles. ATmega8535(L) 21 ...

  • Page 22

    ... Atmel does not make any commitment to update the information contained herein. Atmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. © 2006 Atmel Corporation. All rights reserved. Atmel marks or registered trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Atmel Operations Memory ...