ATMEGA128-8AC ATMEL Corporation, ATMEGA128-8AC Datasheet

no-image

ATMEGA128-8AC

Manufacturer Part Number
ATMEGA128-8AC
Description
Microcontroller with 128K bytes In-system programmable flash, 8 MHz, power supply =2.7 - 5.5V
Manufacturer
ATMEL Corporation
Datasheet
Features
High-performance, Low-power AVR
Advanced RISC Architecture
Nonvolatile Program and Data Memories
JTAG (IEEE std. 1149.1 Compliant) Interface
Peripheral Features
Special Microcontroller Features
I/O and Packages
Operating Voltages
Speed Grades
– 133 Powerful Instructions – Most Single Clock Cycle Execution
– 32 x 8 General Purpose Working Registers + Peripheral Control Registers
– Fully Static Operation
– Up to 16 MIPS Throughput at 16 MHz
– On-chip 2-cycle Multiplier
– 128K Bytes of In-System Reprogrammable Flash
– Optional Boot Code Section with Independent Lock Bits
– 4K Bytes EEPROM
– 4K Bytes Internal SRAM
– Up to 64K Bytes Optional External Memory Space
– Programming Lock for Software Security
– SPI Interface for In-System Programming
– Boundary-scan Capabilities According to the JTAG Standard
– Extensive On-chip Debug Support
– Programming of Flash, EEPROM, Fuses and Lock Bits through the JTAG Interface
– Two 8-bit Timer/Counters with Separate Prescalers and Compare Modes
– Two Expanded 16-bit Timer/Counters with Separate Prescaler, Compare Mode and
– Real Time Counter with Separate Oscillator
– Two 8-bit PWM Channels
– 6 PWM Channels with Programmable Resolution from 1 to 16 Bits
– 8-channel, 10-bit ADC
– Byte-oriented 2-wire Serial Interface
– Dual Programmable Serial USARTs
– Master/Slave SPI Serial Interface
– Programmable Watchdog Timer with 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
– Software Selectable Clock Frequency
– ATmega103 Compatibility Mode Selected by a Fuse
– Global Pull-up Disable
– 53 Programmable I/O Lines
– 64-lead TQFP
– 2.7 - 5.5V (ATmega128L)
– 4.5 - 5.5V (ATmega128)
– 0 - 8 MHz (ATmega128L)
– 0 - 16 MHz (ATmega128)
Capture Mode
and Extended Standby
Endurance: 1,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
2 Differential Channels with Programmable Gain (1x, 10x, 200x)
®
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 128K Bytes
In-System
Programmable
Flash
ATmega128
ATmega128L
Preliminary
Summary
Rev. 2467AS-08/01
1

Related parts for ATMEGA128-8AC

ATMEGA128-8AC Summary of contents

Page 1

... TQFP • Operating Voltages – 2.7 - 5.5V (ATmega128L) – 4.5 - 5.5V (ATmega128) • Speed Grades – MHz (ATmega128L) – MHz (ATmega128) ® 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 128K Bytes ...

Page 2

... The ATmega128 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the ATmega128 achieves throughputs approaching 1 MIPS per MHz allowing the sys- tem designer to optimize power consumption versus processing speed. 48 PA3 (AD3) ...

Page 3

... REGISTERS ALU STATUS REGISTER DATA DIR. DATA REGISTER DATA DIR. PORTB REG. PORTB PORTB DRIVERS PB0 - PB7 ATmega128(L) PC0 - PC7 PORTC DRIVERS DATA REGISTER DATA DIR. PORTC REG. PORTC 8-BIT DATA BUS CALIB. OSC INTERNAL OSCILLATOR OSCILLATOR WATCHDOG TIMER OSCILLATOR ...

Page 4

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

Page 5

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

Page 6

... XTAL1 ATmega128(L) 6 Port C also serves the functions of special features of the ATmega128 as listed on page ATmega103 compatibility mode, Port C is output only, and the port C pins are not tri-stated when a reset condition becomes active. Port 8-bit bidirectional I/O port with internal pull-up resistors (selected for each bit) ...

Page 7

... VCC through a low-pass filter. This is the analog reference pin for the A/D Converter. This is a programming enable pin for the serial programming mode. By holding this pin low during a power-on reset, the device will enter the serial programming mode. PEN has no function during normal operation. ATmega128(L) 7 ...

Page 8

... Reserved - ($6D) XMCRA - ($6C) XMCRB XMBK ($6B) Reserved - ($6A) EICRA ISC31 ($69) Reserved - ($68) SPMCSR SPMIE ($67) Reserved - ($66) Reserved - ($65) PORTG - ($64) DDRG - ($63) PING - ($62) PORTF PORTF7 ATmega128(L) 8 Bit 6 Bit 5 Bit 4 Bit UMSEL1 UPM11 UPM10 USBS1 TXC1 UDRE1 FE1 DOR1 TXCIE1 UDRIE1 RXEN1 TXEN1 - - - USART1 Baud Rate Register High - - - - - ...

Page 9

... UDRIE0 RXEN0 TXEN0 ACBG ACO ACI ACIE REFS0 ADLAR MUX4 MUX3 ADSC ADRF ADIF ADIE PORTE6 PORTE5 PORTE4 PORTE3 DDE6 DDE5 DDE4 DDE3 ATmega128(L) Bit 2 Bit 1 Bit 0 DDF2 DDF1 DDF0 - - - - SP10 SP9 SP8 SP2 SP1 SP0 XDIV2 XDIV1 XDIV0 ...

Page 10

... Some of the status flags are cleared by writing a logical one to them. Note that the CBI and SBI instructions will operate on all bits in the 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 $00 to $1F only. ATmega128(L) 10 Bit 6 ...

Page 11

... Branch if Half Carry Flag Cleared BRTS k Branch if T Flag Set BRTC k Branch if T Flag Cleared BRVS k Branch if Overflow Flag is Set BRVC k Branch if Overflow Flag is Cleared 2467AS–08/01 ATmega128(L) 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 12

... Set Zero Flag CLZ Clear Zero Flag SEI Global Interrupt Enable CLI Global Interrupt Disable SES Set Signed Test Flag CLS Clear Signed Test Flag ATmega128(L) 12 Operation Flags then PC ← None then PC ← None Rd ← Rr None Rd+1:Rd ← Rr+1:Rr None Rd ← ...

Page 13

... Clear T in SREG SEH Set Half Carry Flag in SREG CLH Clear Half Carry Flag in SREG MCU CONTROL INSTRUCTIONS NOP No Operation SLEEP Sleep WDR Watchdog Reset BREAK Break 2467AS–08/01 ATmega128(L) Operation Flags V ← ← ← ← ← ← None (see specific descr ...

Page 14

... Ordering Information Speed (MHz) Power Supply 8 2.7 - 5.5V 16 4.5 - 5.5V 64A 64-Lead, Thin (1.0 mm) Plastic Gull Wing Quad Flat Package (TQFP) ATmega128(L) 14 Ordering Code Package ATmega128-8AC 64A ATmega128-8AI 64A ATmega128-16AC 64A ATmega128-16AI 64A Package Type Operation Range Commercial Industrial ...

Page 15

... Dimensions in Millimeters and (Inches)* JEDEC STANDARD MS-026 AEB PIN 1 ID 0.80(0.0315) BSC 0.20(0.008) 0˚~7˚ 0.09(0.004) REV. A 04/11/2001 2467AS–08/01 16.25(0.640) 15.75(0.620) PIN 1 14.10(0.555) 13.90(0.547) 0.75(0.030) 0.45(0.018) *Controlliing dimension: millimeter ATmega128(L) SQ 0.45(0.018) 0.30(0.012) SQ 1.20 (0.047) MAX 0.15(0.006) 0.05(0.002 ) 15 ...

Page 16

... Atmel Corporation 2001. Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard warranty which is detailed in Atmel’s Terms and Conditions located on the Company’s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein ...

Related keywords