ATMEGA8535-16PJ Atmel, ATMEGA8535-16PJ Datasheet

IC MCU AVR 8K 5V 16MHZ 40-DIP

ATMEGA8535-16PJ

Manufacturer Part Number
ATMEGA8535-16PJ
Description
IC MCU AVR 8K 5V 16MHZ 40-DIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA8535-16PJ

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
40-DIP (0.600", 15.24mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Features
High-performance, Low-power AVR
Advanced RISC Architecture
Nonvolatile Program and Data Memories
Peripheral Features
Special Microcontroller Features
I/O and Packages
Operating Voltages
Speed Grades
– 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
– 8K Bytes of In-System Self-Programmable Flash
– Optional Boot Code Section with Independent Lock Bits
– 512 Bytes EEPROM
– 512 Bytes Internal SRAM
– Programming Lock for Software Security
– Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
– One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
– Real Time Counter with Separate Oscillator
– Four PWM Channels
– 8-channel, 10-bit ADC
– 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
– 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
– 32 Programmable I/O Lines
– 40-pin PDIP, 44-lead TQFP, 44-lead PLCC, and 44-pad QFN/MLF
– 2.7 - 5.5V for ATmega8535L
– 4.5 - 5.5V for ATmega8535
– 0 - 8 MHz for ATmega8535L
– 0 - 16 MHz for ATmega8535
Mode
and Extended Standby
Endurance: 10,000 Write/Erase Cycles
In-System Programming by On-chip Boot Program
True Read-While-Write Operation
Endurance: 100,000 Write/Erase Cycles
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
®
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

Related parts for ATMEGA8535-16PJ

ATMEGA8535-16PJ 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 ...

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 Timer/Counter0 Output Compare Register ...

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

... Mold Flash or Protrusion shall not exceed 0.25 mm (0.010"). 2325 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

... 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 ...

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. 5. Updated Table 111 on page 258. ...

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

... Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL’S TERMS AND CONDI- TIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ...

Related keywords