ATMEGA16A-PU Atmel, ATMEGA16A-PU Datasheet

MCU AVR 16K FLASH 16MHZ 40-PDIP

ATMEGA16A-PU

Manufacturer Part Number
ATMEGA16A-PU
Description
MCU AVR 16K FLASH 16MHZ 40-PDIP
Manufacturer
Atmel
Series
AVR® ATmegar
Datasheets

Specifications of ATMEGA16A-PU

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
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
1K x 8
Voltage - Supply (vcc/vdd)
2.7 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)
Processor Series
ATMEGA16x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
1 KB
Interface Type
2-Wire/SPI/USART
Maximum Clock Frequency
16 MHz
Number Of Programmable I/os
32
Number Of Timers
3
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
Package
40PDIP
Device Core
AVR
Family Name
ATmega
Maximum Speed
16 MHz
Operating Supply Voltage
3.3|5 V
Controller Family/series
AVR MEGA
No. Of I/o's
32
Eeprom Memory Size
512Byte
Ram Memory Size
1KB
Cpu Speed
16MHz
Rohs Compliant
Yes
For Use With
ATSTK600 - DEV KIT FOR AVR/AVR32ATSTK500 - PROGRAMMER AVR STARTER KIT
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA16A-PU
Manufacturer:
AT
Quantity:
20 000
Company:
Part Number:
ATMEGA16A-PU
Quantity:
25 000
Features
High-performance, Low-power AVR
Advanced RISC Architecture
High Endurance Non-volatile Memory segments
JTAG (IEEE std. 1149.1 Compliant) Interface
Peripheral Features
Special Microcontroller Features
I/O and Packages
Operating Voltages
Speed Grades
Power Consumption @ 1 MHz, 3V, and 25°C for ATmega16A
– 131 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
– 16K Bytes of In-System Self-programmable Flash program memory
– 512 Bytes EEPROM
– 1K Byte Internal SRAM
– Write/Erase Cycles: 10,000 Flash/100,000 EEPROM
– Data retention: 20 years at 85°C/100 years at 25°C
– Optional Boot Code Section with Independent Lock Bits
– Programming Lock for Software Security
– 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
– 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, and 44-pad QFN/MLF
– 2.7 - 5.5V for ATmega16A
– 0 - 16 MHz for ATmega16A
– Active: 0.6 mA
– Idle Mode: 0.2 mA
– Power-down Mode: < 1µA
Mode
and Extended Standby
• In-System Programming by On-chip Boot Program
• True Read-While-Write Operation
• 8 Single-ended Channels
• 7 Differential Channels in TQFP Package Only
• 2 Differential Channels with Programmable Gain at 1x, 10x, or 200x
®
8-bit Microcontroller
(1)
8-bit
Microcontroller
with 16K Bytes
In-System
Programmable
Flash
ATmega16A
Summary
8154BS–AVR–07/09

Related parts for ATMEGA16A-PU

ATMEGA16A-PU Summary of contents

Page 1

... PDIP, 44-lead TQFP, and 44-pad QFN/MLF • Operating Voltages – 2.7 - 5.5V for ATmega16A • Speed Grades – MHz for ATmega16A • Power Consumption @ 1 MHz, 3V, and 25°C for ATmega16A – Active: 0.6 mA – Idle Mode: 0.2 mA – Power-down Mode: < 1µA ® 8-bit Microcontroller (1) 8-bit ...

Page 2

... Pin Configurations Figure 1-1. 8154BS–AVR–07/09 Pinout ATmega16A (XCK/T0) PB0 (T1) PB1 (INT2/AIN0) PB2 (OC0/AIN1) PB3 (SS) PB4 (MOSI) PB5 (MISO) PB6 (SCK) PB7 RESET VCC GND XTAL2 XTAL1 (RXD) PD0 (TXD) PD1 (INT0) PD2 (INT1) PD3 (OC1B) PD4 (OC1A) PD5 (ICP1) PD6 ...

Page 3

... Overview The ATmega16A 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 ATmega16A achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed. 8154BS–AVR–07/09 ...

Page 4

... CONTROL LINES ALU STATUS AVR CPU REGISTER PROGRAMMING SPI LOGIC + COMP. - INTERFACE PORTB DIGITAL INTERFACE PORTB DRIVERS/BUFFERS PB0 - PB7 ATmega16A PC0 - PC7 PORTC DRIVERS/BUFFERS PORTC DIGITAL INTERFACE TWI TIMERS/ OSCILLATOR COUNTERS INTERNAL OSCILLATOR XTAL1 WATCHDOG OSCILLATOR TIMER XTAL2 MCU CTRL. RESET & ...

Page 5

... RISC CPU with In-System Self-Programmable Flash on a monolithic chip, the Atmel ATmega16A is a powerful microcontroller that provides a highly-flexible and cost- effective solution to many embedded control applications. The ATmega16A 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 6

... As inputs, Port B pins that are externally pulled low will source current if the pull-up resistors are activated. 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 ATmega16A as listed on 57. 2.2.5 Port C (PC7:PC0) Port 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit) ...

Page 7

... Data Retention Reliability Qualification results show that the projected data retention failure rate is much less than 1 PPM over 20 years at 85°C or 100 years at 25°C. 8154BS–AVR–07/09 , even if the ADC is not used. If the ADC is used, it should be connected ATmega16A Table 27-2 on page CC 7 ...

Page 8

... UDRE FE DOR TXCIE UDRIE RXEN TXEN ACBG ACO ACI ACIE REFS0 ADLAR MUX4 MUX3 ADSC ADATE ADIF ADIE TWA5 TWA4 TWA3 TWA2 ATmega16A Bit 2 Bit 1 Bit – SP10 SP9 SP8 SP2 SP1 SP0 – – IVSEL IVCE – – – – ...

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 $00 to $1F only. 8154BS–AVR–07/09 Bit 6 Bit 5 Bit 4 Bit 3 TWS6 TWS5 TWS4 TWS3 ATmega16A Bit 2 Bit 1 Bit 0 TWPS1 TWPS0 – Page 202 200 9 ...

Page 10

... BRLT k Branch if Less Than Zero, Signed BRHS k Branch if Half Carry Flag Set BRHC k Branch if Half Carry Flag Cleared BRTS k Branch if T Flag Set 8154BS–AVR–07/09 ATmega16A Flags Operation 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 ← ...

Page 11

... Global Interrupt Disable SES Set Signed Test Flag CLS Clear Signed Test Flag SEV Set Twos Complement Overflow. CLV Clear Twos Complement Overflow 8154BS–AVR–07/09 ATmega16A Flags Operation then PC ← None then PC ← None then PC ← None then PC ← None then PC ← ...

Page 12

... 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 8154BS–AVR–07/09 ATmega16A Flags Operation T ← ← ← ← None (see specific descr. for Sleep function) None (see specific descr ...

Page 13

... Wide, Plastic Dual Inline Package (PDIP) 44M1 44-pad 1.0 mm body, lead pitch 0.50 mm, Quad Flat No-Lead/Micro Lead Frame Package (QFN/MLF) 8154BS–AVR–07/09 Ordering Code Package (1) ATmega16A-AU 44A (1) ATmega16A-PU 40P6 (1) ATmega16A-MU 44M1 Package Type ATmega16A Operation Range Industrial o ...

Page 14

... Orchard Parkway San Jose, CA 95131 R 8154BS–AVR–07/09 B PIN 1 IDENTIFIER TITLE 44A, 44-lead Body Size, 1.0 mm Body Thickness, 0.8 mm Lead Pitch, Thin Profile Plastic Quad Flat Package (TQFP) ATmega16A A COMMON DIMENSIONS (Unit of Measure = mm) MIN MAX NOTE SYMBOL NOM A – – 1.20 A1 0.05 – ...

Page 15

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

Page 16

... 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, Thermally Enhanced Plastic Very Thin Quad Flat No Lead Package (VQFN) ATmega16A SEATING PLANE SIDE VIEW COMMON DIMENSIONS (Unit of Measure = mm) MIN MAX SYMBOL NOM NOTE A 0 ...

Page 17

... Always use OUT or SBI to set EERE in EECR. 8154BS–AVR–07/09 If ATmega16A is the only device in the scan chain, the problem is not visible. Select the Device ID Register of the ATmega16A by issuing the IDCODE instruction or by entering the Test-Logic-Reset state of the TAP controller to read out the contents of its Device ID Register and possibly data from succeeding devices of the scan chain ...

Page 18

... Pointer” on page - All Electrical characteristics is moved to - Register descriptions are moved to sub sections at the end of each chapter. - Added “Speed Grades” on page 295. - New graphs in “Typical Characteristics” on page - New “Ordering Information” on page ATmega16A 12. “Electrical Characteristics” on page 305. 13. 293. 18 ...

Page 19

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