Atmel Atmega48/88/168 Summary

Total Page:16

File Type:pdf, Size:1020Kb

Atmel Atmega48/88/168 Summary Features • High performance, low power Atmel® AVR® 8-bit microcontroller • Advanced RISC architecture – 131 powerful instructions – most single clock cycle execution – 32 × 8 general purpose working registers – Fully static operation – Up to 20 MIPS throughput at 20MHz – On-chip 2-cycle multiplier • High endurance non-volatile memory segments – 4/8/16 Kbytes of in-system self-programmable flash program memory – 256/512/512 bytes EEPROM 8-bit Atmel – 512/1K/1Kbytes internal SRAM – Write/erase cyles: 10,000 flash/100,000 EEPROM Microcontroller – Data retention: 20 years at 85°C/100 years at 25°C(1) – Optional boot code section with independent lock bits with 4/8/16K In-system programming by on-chip boot program True read-while-write operation Bytes In-System – Programming lock for software security • QTouch® library support Programmable – Capacitive touch buttons, sliders and wheels – QTouch and QMatrix acquisition Flash – Up to 64 sense channels • Peripheral features – Two 8-bit timer/counters with separate prescaler and compare mode ATmega48/V – One 16-bit timer/counter with separate prescaler, compare mode, and capture mode – Real time counter with separate oscillator ATmega88/V – Six PWM channels – 8-channel 10-bit ADC in TQFP and QFN/MLF package – 6-channel 10-bit ADC in PDIP Package ATmega168/V – Programmable serial USART – Master/slave SPI serial interface – Byte-oriented 2-wire serial interface (Philips I2C compatible) – Programmable watchdog timer with separate on-chip oscillator Summary – On-chip analog comparator – Interrupt and wake-up on pin change • Special microcontroller features – DebugWIRE on-chip debug system – Power-on reset and programmable brown-out detection – Internal calibrated oscillator – External and internal interrupt sources – Five sleep modes: Idle, ADC noise reduction, power-save, power-down, and standby • I/O and packages – 23 programmable I/O lines – 28-pin PDIP, 32-lead TQFP, 28-pad QFN/MLF and 32-pad QFN/MLF • Operating voltage: – 1.8V - 5.5V for Atmel ATmega48V/88V/168V – 2.7V - 5.5V for Atmel ATmega48/88/168 • Temperature range: –-40°C to 85°C • Speed grade: – ATmega48V/88V/168V: 0 - 4MHz @ 1.8V - 5.5V, 0 - 10MHz @ 2.7V - 5.5V – ATmega48/88/168: 0 - 10MHz @ 2.7V - 5.5V, 0 - 20MHz @ 4.5V - 5.5V • Low power consumption – Active mode: 250µA at 1MHz, 1.8V 15µA at 32kHz, 1.8V (including oscillator) – Power-down mode: 0.1µA at 1.8V Note: 1. See “Data retention” on page 8 for details. Rev. 2545US–AVR–11/2015 ATmega48/88/168 1. Pin configurations Figure 1-1. Pinout Atmel ATmega48/88/168. TQFP Top View PDIP PD2 (INT0/PCINT18) PD1 (TXD/PCINT17) PD0 (RXD/PCINT16) PC6 (RESET/PCINT14) PC5 (ADC5/SCL/PCINT13) PC4 (ADC4/SDA/PCINT12) PC3 (ADC3/PCINT11) PC2 (ADC2/PCINT10) (PCINT14/RESET) PC6 1 28 PC5 (ADC5/SCL/PCINT13) 32 31 30 29 28 27 26 25 (PCINT16/RXD) PD0 2 27 PC4 (ADC4/SDA/PCINT12) (PCINT17/TXD) PD1 3 26 PC3 (ADC3/PCINT11) (PCINT19/OC2B/INT1) PD3 1 24 PC1 (ADC1/PCINT9) (PCINT18/INT0) PD2 4 25 PC2 (ADC2/PCINT10) (PCINT20/XCK/T0) PD4 2 23 PC0 (ADC0/PCINT8) (PCINT19/OC2B/INT1) PD3 5 24 PC1 (ADC1/PCINT9) GND 3 22 ADC7 (PCINT20/XCK/T0) PD4 6 23 PC0 (ADC0/PCINT8) VCC 4 21 GND VCC 7 22 GND GND 5 20 AREF GND 8 21 AREF VCC 6 19 ADC6 (PCINT6/XTAL1/TOSC1) PB6 9 20 AVCC (PCINT6/XTAL1/TOSC1) PB6 7 18 AVCC (PCINT7/XTAL2/TOSC2) PB7 10 19 PB5 (SCK/PCINT5) (PCINT7/XTAL2/TOSC2) PB7 8 17 PB5 (SCK/PCINT5) (PCINT21/OC0B/T1) PD5 11 18 PB4 (MISO/PCINT4) (PCINT22/OC0A/AIN0) PD6 12 17 PB3 (MOSI/OC2A/PCINT3) 9 10 11 12 13 14 15 16 (PCINT23/AIN1) PD7 13 16 PB2 (SS/OC1B/PCINT2) (PCINT0/CLKO/ICP1) PB0 14 15 PB1 (OC1A/PCINT1) (PCINT4/MISO) PB4 (PCINT1/OC1A) PB1 (PCINT23/AIN1) PD7 (PCINT2/SS/OC1B) PB2 (PCINT21/OC0B/T1) PD5 (PCINT0/CLKO/ICP1) PB0 (PCINT0/CLKO/ICP1) (PCINT3/OC2A/MOSI) PB3 (PCINT22/OC0A/AIN0) PD6 28 MLF Top View 32 MLF Top View PD2 (INT0/PCINT18) PD1 (TXD/PCINT17) PD0 (RXD/PCINT16) PC6 (RESET/PCINT14) PC5 (ADC5/SCL/PCINT13) PC4 (ADC4/SDA/PCINT12) PC3 (ADC3/PCINT11) PC2 (ADC2/PCINT10) PD2 (INT0/PCINT18) PD1 (TXD/PCINT17) PD0 (RXD/PCINT16) PC6 (RESET/PCINT14) PC5 (ADC5/SCL/PCINT13) PC4 (ADC4/SDA/PCINT12) PC3 (ADC3/PCINT11) 32 31 30 29 28 27 26 25 28 27 26 25 24 23 22 (PCINT19/OC2B/INT1) PD3 1 21 PC2 (ADC2/PCINT10) (PCINT19/OC2B/INT1) PD3 1 24 PC1 (ADC1/PCINT9) (PCINT20/XCK/T0) PD4 2 20 PC1 (ADC1/PCINT9) (PCINT20/XCK/T0) PD4 2 23 PC0 (ADC0/PCINT8) VCC 3 19 PC0 (ADC0/PCINT8) GND 3 22 ADC7 GND 4 18 GND VCC 4 21 GND (PCINT6/XTAL1/TOSC1) PB6 5 17 AREF GND 5 20 AREF (PCINT7/XTAL2/TOSC2) PB7 6 16 AVCC VCC 6 19 ADC6 (PCINT21/OC0B/T1) PD5 7 15 PB5 (SCK/PCINT5) (PCINT6/XTAL1/TOSC1) PB6 7 18 AVCC (PCINT7/XTAL2/TOSC2) PB7 8 17 PB5 (SCK/PCINT5) 8 9 10 11 12 13 14 9 10 11 12 13 14 15 16 NOTE: Bottom pad should be soldered to ground. NOTE: Bottom pad should be soldered to ground. (PCINT4/MISO) PB4 (PCINT1/OC1A) PB1 (PCINT23/AIN1) PD7 (PCINT4/MISO) PB4 (PCINT2/SS/OC1B) PB2 (PCINT1/OC1A) PB1 (PCINT23/AIN1) PD7 (PCINT0/CLKO/ICP1) PB0 (PCINT0/CLKO/ICP1) (PCINT3/OC2A/MOSI) PB3 (PCINT22/OC0A/AIN0) PD6 (PCINT2/SS/OC1B) PB2 (PCINT21/OC0B/T1) PD5 (PCINT0/CLKO/ICP1) PB0 (PCINT0/CLKO/ICP1) (PCINT3/OC2A/MOSI) PB3 (PCINT22/OC0A/AIN0) PD6 2 2545US–AVR–11/2015 ATmega48/88/168 1.1 Pin descriptions 1.1.1 VCC Digital supply voltage. 1.1.2 GND Ground. 1.1.3 Port B (PB7:0) XTAL1/XTAL2/TOSC1/TOSC2 Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port B output buffers have symmetrical drive characteristics with both high sink and source capability. 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. Depending on the clock selection fuse settings, PB6 can be used as input to the inverting Oscillator amplifier and input to the internal clock operating circuit. Depending on the clock selection fuse settings, PB7 can be used as output from the inverting Oscillator amplifier. If the Internal Calibrated RC Oscillator is used as chip clock source, PB7..6 is used as TOSC2..1 input for the Asynchronous Timer/Counter2 if the AS2 bit in ASSR is set. The various special features of Port B are elaborated in “Alternate functions of port B” on page 83 and “System clock and clock options” on page 27. 1.1.4 Port C (PC5:0) Port C is a 7-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The PC5..0 output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port C pins that are externally pulled low will source current if the pull-up resistors are activated. The Port C pins are tri-stated when a reset condition becomes active, even if the clock is not running. 1.1.5 PC6/RESET If the RSTDISBL Fuse is programmed, PC6 is used as an I/O pin. Note that the electrical characteristics of PC6 differ from those of the other pins of Port C. If the RSTDISBL Fuse is unprogrammed, PC6 is used as a Reset input. A low level on this pin for longer than the minimum pulse length will generate a Reset, even if the clock is not running. The minimum pulse length is given in Table 29-3 on page 314. Shorter pulses are not guaranteed to generate a Reset. The various special features of Port C are elaborated in “Alternate functions of port C” on page 86. 1.1.6 Port D (PD7:0) Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port D output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port D pins that are externally pulled low will source current if the pull-up 3 2545US–AVR–11/2015 ATmega48/88/168 resistors are activated. The Port D pins are tri-stated when a reset condition becomes active, even if the clock is not running. The various special features of Port D are elaborated in “Alternate functions of port D” on page 89. 1.1.7 AVCC AVCC is the supply voltage pin for the A/D Converter, PC3:0, and ADC7:6. It should be externally connected to VCC, even if the ADC is not used. If the ADC is used, it should be connected to VCC through a low-pass filter. Note that PC6..4 use digital supply voltage, VCC. 1.1.8 AREF AREF is the analog reference pin for the A/D Converter. 1.1.9 ADC7:6 (TQFP and QFN/MLF package only) In the TQFP and QFN/MLF package, ADC7:6 serve as analog inputs to the A/D converter. These pins are powered from the analog supply and serve as 10-bit ADC channels. 4 2545US–AVR–11/2015 ATmega48/88/168 2. Overview The Atmel ATmega48/88/168 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 ATmega48/88/168 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.
Recommended publications
  • Atmega48/V / 88/V / 168/V Introduction Feature
    8-bit AVR Microcontrollers ATmega48/V / 88/V / 168/V DATASHEET SUMMARY Introduction The Atmel® ATmega48/V/ 88/V /168/V 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 ATmega48/V/ 88/V /168/V achieves throughputs close to 1MIPS per MHz. This empowers system designer to optimize the device for power consumption versus processing speed. Feature High Performance, Low Power Atmel®AVR® 8-Bit Microcontroller Family • Advanced RISC Architecture – 131 Powerful Instructions – Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers – Fully Static Operation – Up to 20 MIPS Throughput at 20MHz – On-chip 2-cycle Multiplier • High Endurance Non-volatile Memory Segments – 4K/8K/16KBytes of In-System Self-Programmable Flash program Memory – 256/512/512Bytes EEPROM – 512/1K/1KBytes Internal SRAM – Write/Erase Cycles: 10,000 Flash/100,000 EEPROM – Data Retention: 20 years at 85°C/100 years at 25°C(1) – Optional Boot Code Section with Independent Lock Bits • In-System Programming by On-chip Boot Program • True Read-While-Write Operation – Programming Lock for Software Security • Atmel® QTouch® Library Support – Capacitive Touch Buttons, Sliders and Wheels – QTouch and QMatrix® Acquisition – Up to 64 sense channels Atmel-2545W-ATmega48/V/88/V/168/V_Datasheet_Summary-11/2016 • Peripheral Features – Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode – One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture
    [Show full text]
  • 8-Bit Microcontroller with 8K Bytes In-System Programmable Flash
    Features • High Performance, Low Power AVR ® 8-bit Microcontroller • Advanced RISC Architecture – Powerful Instructions - Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers – Fully Static Operation – Up to 1 MIPS throughput per MHz – On-chip 2-cycle Multiplier • Data and Non-Volatile Program Memory – 8K Bytes Flash of In-System Programmable Program Memory • Endurance: 10,000 Write/Erase Cycles 8-bit – Optional Boot Code Section with Independent Lock Bits In-System Programming by On-chip Boot Program True Read-While-Write Operation Microcontroller – 512 Bytes of In-System Programmable EEPROM • Endurance: 100,000 Write/Erase Cycles with 8K Bytes – 512 Bytes Internal SRAM – Programming Lock for Flash Program and EEPROM Data Security In-System • On Chip Debug Interface (debugWIRE) • Peripheral Features Programmable – Two or three 12-bit High Speed PSC (Power Stage Controllers) with 4-bit Resolution Enhancement Flash • Non Overlapping Inverted PWM Output Pins With Flexible Dead-Time • Variable PWM duty Cycle and Frequency • Synchronous Update of all PWM Registers • Auto Stop Function for Event Driven PFC Implementation AT90PWM2 • Less than 25 Hz Step Width at 150 kHz Output Frequency • PSC2 with four Output Pins and Output Matrix – One 8-bit General purpose Timer/Counter with Separate Prescaler and Capture AT90PWM3 Mode – One 16-bit General purpose Timer/Counter with Separate Prescaler, Compare Mode and Capture Mode – Programmable Serial USART Preliminary • Standard UART mode • 16/17 bit Biphase Mode for DALI Communications
    [Show full text]
  • Datasheet Complete
    8-bit AVR Microcontroller ATmega48/V / 88/V / 168/V DATASHEET COMPLETE Introduction The Atmel® ATmega48/V/ 88/V /168/V 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 ATmega48/V/ 88/V /168/V achieves throughputs close to 1MIPS per MHz. This empowers system designer to optimize the device for power consumption versus processing speed. Feature High Performance, Low Power Atmel®AVR® 8-Bit Microcontroller Family • Advanced RISC Architecture – 131 Powerful Instructions – Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers – Fully Static Operation – Up to 20 MIPS Throughput at 20MHz – On-chip 2-cycle Multiplier • High Endurance Non-volatile Memory Segments – 4K/8K/16KBytes of In-System Self-Programmable Flash program Memory – 256/512/512Bytes EEPROM – 512/1K/1KBytes Internal SRAM – Write/Erase Cycles: 10,000 Flash/100,000 EEPROM – Data Retention: 20 years at 85°C/100 years at 25°C(1) – Optional Boot Code Section with Independent Lock Bits • In-System Programming by On-chip Boot Program • True Read-While-Write Operation – Programming Lock for Software Security • Atmel® QTouch® Library Support – Capacitive Touch Buttons, Sliders and Wheels – QTouch and QMatrix® Acquisition – Up to 64 sense channels Atmel-2545W-ATmega48/V / 88/V / 168/V_Datasheet_Complete-11/2016 • Peripheral Features – Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode – One 16-bit Timer/Counter with Separate Prescaler, Compare Mode,
    [Show full text]
  • AVR Upro+ Programmer
    ® EleSof AVRUPro+ AVRUPro+ AVRUPro+ is a high performance programmer for Atmel’s Microcontroller family. It connected to target device through 2x5 FRC cable & act as ICSP (In-Circuit Serial Programmer). This manual contains a detail description of this device. It also guide you, that how to program AVR AT89S device through it Visit : www.elesof.com www.projectsmaker.com Flash Programming Tool ® EleSof Development System TO OUR VALUED CUSTOMERS I want to express my thanks to you for being interested in our products & having ® confidence in EleSof Technologies. It is our intention to provide you with the best quality products. Furthermore, we will continue to improve our product performance to better suit your needs. ® EleSof Technologies ® The ATMEL name and logo, the ATMEL logo, AVR, AVR (Logo), AVR Freaks, AVR ® ® Freaks (Logo), AVR Studio, IDIC, megaAVR, megaAVR(Logo), picoPower , tinyAVR are trademarks of ATMEL® Corporation. All other trademarks mentioned herein are property of their respective companies and are only used for the purpose of identification or explanation & to the owner’s benefit, with no intent to infringe. Visit : www.elesof.com www.projectsmaker.com TABLE OF CONTENTS Introduction to In-System Programming…………………4 Programming Interface…………………………………...4 AVRUPro + ....………………………………………...…..5 Supported Devices………………………………………..6 AVRUPro+ Programmer Interfac.…………………...…..7 • 8 Pin (A) Atmel AVR Microcontrollers. • 8 Pin (B) Atmel AVR Microcontrollers. • 20 Pin (A) Atmel AVR Microcontrollers. • 20 Pin (B) Atmel AVR Microcontrollers.
    [Show full text]
  • Avr-Libc 1.6.7
    avr-libc 1.6.7 Generated by Doxygen 1.6.2 Mon Mar 15 19:22:26 2010 CONTENTS i Contents 1 AVR Libc1 1.1 Introduction...............................1 1.2 General information about this library.................1 1.3 Supported Devices...........................2 1.4 avr-libc License.............................8 2 Toolchain Overview9 2.1 Introduction...............................9 2.2 FSF and GNU..............................9 2.3 GCC................................... 10 2.4 GNU Binutils.............................. 11 2.5 avr-libc................................. 12 2.6 Building Software............................ 12 2.7 AVRDUDE............................... 12 2.8 GDB / Insight / DDD.......................... 13 2.9 AVaRICE................................ 13 2.10 SimulAVR................................ 13 2.11 Utilities................................. 13 2.12 Toolchain Distributions (Distros).................... 13 2.13 Open Source............................... 14 3 Memory Areas and Using malloc() 14 3.1 Introduction............................... 14 3.2 Internal vs. external RAM....................... 15 3.3 Tunables for malloc().......................... 16 3.4 Implementation details......................... 18 4 Memory Sections 19 4.1 The .text Section............................ 19 4.2 The .data Section............................ 20 4.3 The .bss Section............................. 20 Generated on Mon Mar 15 19:22:26 2010 for avr-libc by Doxygen CONTENTS ii 4.4 The .eeprom Section.......................... 20 4.5 The .noinit
    [Show full text]
  • Atmega48/V / 88/V / 168/V Introduction Feature
    8-bit AVR Microcontroller ATmega48/V / 88/V / 168/V DATASHEET COMPLETE Introduction The Atmel® ATmega48/V/ 88/V /168/V 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 ATmega48/V/ 88/V /168/V achieves throughputs close to 1MIPS per MHz. This empowers system designer to optimize the device for power consumption versus processing speed. Feature High Performance, Low Power Atmel®AVR® 8-Bit Microcontroller Family • Advanced RISC Architecture – 131 Powerful Instructions – Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers – Fully Static Operation – Up to 20 MIPS Throughput at 20MHz – On-chip 2-cycle Multiplier • High Endurance Non-volatile Memory Segments – 4K/8K/16KBytes of In-System Self-Programmable Flash program Memory – 256/512/512Bytes EEPROM – 512/1K/1KBytes Internal SRAM – Write/Erase Cycles: 10,000 Flash/100,000 EEPROM – Data Retention: 20 years at 85°C/100 years at 25°C(1) – Optional Boot Code Section with Independent Lock Bits • In-System Programming by On-chip Boot Program • True Read-While-Write Operation – Programming Lock for Software Security • Atmel® QTouch® Library Support – Capacitive Touch Buttons, Sliders and Wheels – QTouch and QMatrix® Acquisition – Up to 64 sense channels Atmel-2545W-ATmega48/V / 88/V / 168/V_Datasheet_Complete-11/2016 • Peripheral Features – Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode – One 16-bit Timer/Counter with Separate Prescaler, Compare Mode,
    [Show full text]
  • 8-Bit Microcontroller with 8K Bytes In-System Programmable Flash Atmega48/V Atmega88/V Atmega168/V Preliminary Summary
    Features • High Performance, Low Power AVR® 8-Bit Microcontroller • Advanced RISC Architecture – 131 Powerful Instructions – Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers – Fully Static Operation – Up to 24 MIPS Throughput at 24 MHz – On-chip 2-cycle Multiplier • Non-volatile Program and Data Memories – 4/8/16K Bytes of In-System Self-Programmable Flash (ATmega48/88/168) Endurance: 10,000 Write/Erase Cycles 8-bit – Optional Boot Code Section with Independent Lock Bits In-System Programming by On-chip Boot Program True Read-While-Write Operation Microcontroller – 256/512/512 Bytes EEPROM (ATmega48/88/168) Endurance: 100,000 Write/Erase Cycles with 8K Bytes – 512/1K/1K Byte Internal SRAM (ATmega48/88/168) – Programming Lock for Software Security In-System • Peripheral Features – Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode Programmable – One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode Flash – Real Time Counter with Separate Oscillator – Six PWM Channels – 8-channel 10-bit ADC in TQFP and MLF package – 6-channel 10-bit ADC in PDIP Package ATmega48/V – Programmable Serial USART – Master/Slave SPI Serial Interface ATmega88/V – Byte-oriented 2-wire Serial Interface – Programmable Watchdog Timer with Separate On-chip Oscillator – On-chip Analog Comparator ATmega168/V – Interrupt and Wake-up on Pin Change • Special Microcontroller Features – Power-on Reset and Programmable Brown-out Detection – Internal Calibrated Oscillator Preliminary – External and Internal
    [Show full text]
  • SAMG – 8 Bit AVR Microprocessors - Peter Gheude September 2016
    SAMG – 8 bit AVR Microprocessors - Peter Gheude September 2016 A brief look at the successful 8 bit Atmel Mega AVR Microcontrollers – specifically Mega328p. Alf and Vergart’s Risc, after the original Norwegian designers – Not confirmed Why are 8 bit microcontrollers still so common? - some of the larger manufacturers are; Ti MSP430 - Microchip Technology PICs - Altera - Analog Devices - Cypress Semiconductor - Maxim Integrated - ELAN Microelectronics Corp. - Energy Micro - EPSON Semiconductor - Freescale Semiconductor - Fujitsu - Holtek - Hyperstone - Infineon - Intel - Lattice Semiconductor - National Semiconductor - NXP Semiconductors - Panasonic - Parallax - Rabbit Semiconductor - Renesas (Hitachi, Mitsubishi Electric and NEC Electronics) - Rockwell - Silicon Laboratories - Silicon Motion - Sony - Spansion - STMicroelectronics - Texas Instruments - Toshiba - Ubicom - Xemics - Xilinx – XMOS - Zilog - Could be future presentations from a SAMG member? Jargon and Terms related to Microcontrollers which can be covered at a later date. Debugging - debugWIRE - Joint Test Action Group (JTAG) - In-circuit debugging (ICD) - In-circuit emulator (ICE) - In-target probe (ITP) – Integrated Development Environment (IDE) Programming - In-circuit serial programming (ICSP) - In-system programming (ISP) - Program and Debug Interface (PDI) - High-voltage serial programming (HVSP) - High voltage parallel programming (HVPP) Bootloaders - programme to initialise the Microcontroller and initiate user programmes. Why the ATMega328p is so successful ? My Answer
    [Show full text]
  • 8-Bit Microcontroller with 8K Bytes In-System Programmable
    Features • High Performance, Low Power AVR® 8-Bit Microcontroller • Advanced RISC Architecture – 131 Powerful Instructions – Most Single Clock Cycle Execution – 32 x 8 General Purpose Working Registers – Fully Static Operation – Up to 20 MIPS Throughput at 20 MHz – On-chip 2-cycle Multiplier • Non-volatile Program and Data Memories – 4/8/16K Bytes of In-System Self-Programmable Flash (ATmega48/88/168) 8-bit Endurance: 10,000 Write/Erase Cycles – Optional Boot Code Section with Independent Lock Bits Microcontroller In-System Programming by On-chip Boot Program True Read-While-Write Operation with 8K Bytes – 256/512/512 Bytes EEPROM (ATmega48/88/168) In-System Endurance: 100,000 Write/Erase Cycles – 512/1K/1K Byte Internal SRAM (ATmega48/88/168) Programmable – Programming Lock for Software Security • Peripheral Features Flash – Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode – One 16-bit Timer/Counter with Separate Prescaler, Compare Mode, and Capture Mode – Real Time Counter with Separate Oscillator ATmega48/V – Six PWM Channels ATmega88/V * – 8-channel 10-bit ADC in TQFP and QFN/MLF package – 6-channel 10-bit ADC in PDIP Package ATmega168/V * – Programmable Serial USART – Master/Slave SPI Serial Interface – Byte-oriented 2-wire Serial Interface – Programmable Watchdog Timer with Separate On-chip Oscillator * Preliminary – On-chip Analog Comparator – Interrupt and Wake-up on Pin Change • Special Microcontroller Features – Power-on Reset and Programmable Brown-out Detection – Internal Calibrated Oscillator – External and Internal Interrupt Sources – Five Sleep Modes: Idle, ADC Noise Reduction, Power-save, Power-down, and Standby • I/O and Packages – 23 Programmable I/O Lines – 28-pin PDIP, 32-lead TQFP and 32-pad QFN/MLF • Operating Voltage: – 1.8 - 5.5V for ATmega48V/88V/168V – 2.7 - 5.5V for ATmega48/88/168 • Temperature Range: –-40°C to 85°C • Speed Grade: – ATmega48V/88V/168V: 0 - 4 MHz @ 1.8 - 5.5V, 0 - 10 MHz @ 2.7 - 5.5V – ATmega48/88/168: 0 - 10 MHz @ 2.7 - 5.5V, 0 - 20 MHz @ 4.5 - 5.5V Rev.
    [Show full text]