ATmega128. Introduction

Similar documents
AVR Microcontrollers Architecture

ARDUINO MEGA INTRODUCTION

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

MICROPROCESSOR BASED SYSTEM DESIGN

Arduino Uno R3 INTRODUCTION

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Clock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

2011 Pearson Higher Education, Mazidi, Naimi, and Naimi Pearson Higher Education, 2011 Pearson Higher Education,

Lecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers

AVR MICROCONTROLLER ARCHITECTURTE

LAMPIRAN. Universitas Sumatera Utara

Distributed Real-Time Control Systems. Module 3 Hardware for Real Time Distributed Control Systems

AVR- M16 development board Users Manual

Microcontroller basics

Microcontroller systems Lec 2 PIC18LF8722 Microcontroller s s core

Basic Components of Digital Computer

An Arduino Controlled 1 Hz to 60 MHz Signal Generator

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

Microcontroller: CPU and Memory

Introduction to ARM LPC2148 Microcontroller

Course Introduction. Purpose: Objectives: Content: Learning Time:

Interconnects, Memory, GPIO

8. Power Management and Sleep Modes

Microcontroller basics

Module 2: Introduction to AVR ATmega 32 Architecture

acret Ameya Centre for Robotics & Embedded Technology Syllabus for Diploma in Embedded Systems (Total Eight Modules-4 Months -320 Hrs.

XMEGA Series Of AVR Processor. Presented by: Manisha Biyani ( ) Shashank Bolia (

Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

AVR FLASH MICROCONTROLLERS. Atmel Corporation

CN310 Microprocessor Systems Design

EE 308: Microcontrollers

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

Lecture 2. Introduction to Microcontrollers

TKT-3500 Microcontroller systems

Chapter 2 Sections 1 8 Dr. Iyad Jafar

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

MEXLE. International Educational Platform. International Educational Platform. for Informatics based on Embedded Systems

Atmel 8 Bit Avr Microcontroller With 2 4 8k Bytes In

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

Lab 1 Introduction to Microcontroller

Doc: page 1 of 6

Z8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals

University Program Advance Material

AVR-TLCD-128CAN development board Users Manual

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

2-Oct-13. the world s most energy friendly microcontrollers and radios

PIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:

Hands on Experience with AVR32

Programming Embedded Systems Microcontroller

STM8L and STM32 L1 series. Ultra-low-power platform

Mechatronics and Microcomputers. Stipendium Hungaricum 2018/2019 Autumn Semester Szilárd Aradi, PhD

Cerebot Nano Reference Manual. Overview. Revised April 15, 2016 This manual applies to the Cerebot Nano rev. A

8-bit Microcontroller with 1K Byte Flash. ATtiny11. ATtiny12

AT90SO36 Summary Datasheet

Diploma in Embedded Systems

ATxmega32E5/16E5/8E5. XMEGA E5 Data Sheet. Introduction. Features

8/16-bit Atmel AVR XMEGA Microcontrollers

Embedded Systems. Software Development & Education Center. (Design & Development with Various µc)

8-bit Microcontroller with 4K Bytes In-System Programmable Flash. ATtiny40. Preliminary

8/16-bit Atmel XMEGA A3U Microcontroller

Lecture 1. Course Overview and The 8051 Architecture

8-bit Microcontroller with 8K Bytes Programmable Flash AT90C8534. Preliminary

SEIKO EPSON CORPORATION

Doc: page 1 of 8

8-bit Microcontroller with 1K Bytes Flash. ATtiny10 ATtiny11 ATtiny12. Preliminary. Features. Pin Configuration

PIC Microcontroller Introduction

Automation Engineers AB Pvt Ltd, NOIDA Job-Oriented Course on Embedded Microcontrollers & Related Software Stack

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

WIZTECH AUTOMATION SOLUTIONS (P) LTD., An ISO 9001:2000 and IAO certified company

8-bit Microcontroller with 2K Bytes of In-System Programmable Flash AT90S2323 AT90LS2323 AT90S2343 AT90S/LS2323. Features.

Doc: page 1 of 6

High-Performance 32-bit

Ant6. 6 Channel H Bridge 3-Axis Bipolar Stepper Motor Controller. Technical Reference Manual PCB Rev 1.0.

Introducing STM32 L0x Series. April

8/16-bit Atmel XMEGA B3 Microcontroller

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

Secure Microcontrollers for Smart Cards. AT90SC Summary

Distributed Real- Time Control Systems

Hello, and welcome to this presentation of the STM32 Reset and Clock Controller.

AVR42772: Data Logger Demo Application on XMEGA A1U Xplained Pro. Introduction. Features. AVR XMEGA Microcontrollers APPLICATION NOTE

CMOS 16-bit Application Specific Controller

ATxmega128B3 / ATxmega64B3

ECE 471 Embedded Systems Lecture 2

8051 Microcontroller

The MAXQ TM Family of High Performance Microcontrollers

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net

EE 354 Fall 2015 Lecture 1 Architecture and Introduction

8-bit Atmel XMEGA C Microcontroller XMEGA C MANUAL

LPC4370FET256. Features and benefits

Lecture (02) PIC16F84 (I)

8-bit Microcontroller with 2K Bytes Flash. ATtiny26 ATtiny26L

Lab Course Microcontroller Programming

Embedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester

Transcription:

ATmega128 Introduction

AVR Microcontroller 8-bit microcontroller released in 1997 by Atmel which was founded in 1984. The AVR architecture was conceived by two students (Alf-Egil Bogen, Vergard-Wollen) at the Norwegian Institute of Technology (NTH) and further refined and developed at Atmel Norway, the Atmel daughter company founded by the two chip architects. The acronym AVR has been reported to stand for Advanced Virtual RISC, but it has also been rumoured to stand for the initials of the chip's designers: Alf and Vegard's RISC. Atmel says that the name AVR is not an acronym and does not stand for anything in particular.

AVR Microcontroller 8-bit microcontroller with 16-bit instruction bus and 8-bit data bus. Advanced RISC architecture, pipelined processing, lowpower, one instruction per a single clock cycle. 32 general purpose registers, Register-to-register operation. (Other microprocessors: accumulator) Simple addressing mode, compact code size. Architecture designed for C.

Single Cycle Execution

Pipelined Processing The Parallel Instruction Fetches and Instruction Executions Single Cycle ALU Operation

Code size

AVR Microcontroller Harvard architecture. Program memory and data memory can be accessed simultaneously. Internal flash memory is used for program memory. Only data memory can be interfaced by external memory addressing. Internal flash memory is programmed by ISP(In-System Programming). Endurance: 10,000 write/erase cycles.

AVR Microcontroller EEPROM: 64~4KB for data backup. Endurance: 100,000 write/erase cycles. SRAM: 64~4KB for data memory. Internal peripherals: Parallel I/O ports, Internal clock generator, 8bit timer, 16bit timer, Watchdog timer, UART, USART, SPI, TWI, Analog comparator, 10bit A/D converter, PWM, RTC, Brown out detector.

AVR Architecture

AVR Families tinyavrs 1-8KB program memory 8-32-pin package Limited peripheral set megaavrs 4-256KB program memory 28-100-pin package Extended instruction set Extended peripheral set

AVR Families XMEGA 16-256KB program memory 44-100-pin package Extended performance features, such as DMA, Event system, and cryptography support Extended peripheral set with DACs Application-specific AVRs megaavrs with special features not found on the other members of the AVR family, such as LCD controller, USB controller, advanced PWM, CAN etc.

ATmega128 8-bit microcontroller with high performance, low power consumption. Advanced RISC architecture with 16MIPS performance at 16MHz. 133 instruction set. Most single clock cycle execution. 32 general purpose registers, many I/O control registers. On-chip 2-cycle multiplier. 128K bytes of In-System Programmable flash memory.

4K bytes of EEPROM for data storage. 4K bytes of SRAM for data. ATmega128 External data memory addressable up to 64 K bytes. Internal RC oscillator circuit for system clock. Internal circuits for external crystal or ceramic resonator.

ATmega128 Six 8bit parallel I/O ports, one 5bit parallel port. Two 8bit Timer/Counter(0,2), two 16bit Timer/Counter(1,3). Two 8-bit PWM Channels, 6 PWM Channels with Programmable Resolution from 2 to 16 Bits. Eight channel 10bit A/D converter. Dual Programmable Serial USARTs. Analog comparator.

ATmega128 35 interrupt vectors including a reset vector and 8 external interrupt vectors. Six modes for power reduction (sleep modes). ATmega103 compatible mode. 64pin TQFP(Thin Quad Flat Package), 64pin MLF(Micro Lead Frame).

Block Diagram of ATmega128 8bit bus for data access (registers, SRAM, EEPROM, I/O registers) 16bit bus for program access

General Purpose Registers 32 general purpose 8bit registers No accumulator. Every register works like an accumulator. X,Y,Z : 16bit data address pointer

ATmeag128 Memory Program memory Flash memory: 128K bytes Data memory Internal SRAM: 4K bytes External SRAM: addressable up to 64K bytes EEPROM: 4K bytes

Program Memory 128K bytes internal flash memory Program memory range is 0x0000-0xFFFF Instructions are 16-bits or 32- bits long (one or two locations) Arranged as 128K x 16 Boot flash section and application flash section Programmed using ISP(In- System Programming) or JTAG emulator

Data Memory Internal SRAM External SRAM: addressable up to 64K bytes of data memory space. Internal EEPROM: accessed through special registers.

External Memory Interface

8051 Accessing external code memory

Interface to 1K RAM

8051 Address decoding 0000H-1FFFH, 2000H-3FFFH,

External SRAM Interface Signals: A15~A8, AD7~AD0, ALE, RD, WR MCUCR Register setting External SRAM Connected to the AVR

MCUCR : B7, B6 External SRAM Interface

Address Map with 32KB External Memory

I/O Registers I/O device control registers Extended I/O registers: new registers added to ATmega128