Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.

Slides:



Advertisements
Similar presentations
MC68HC11 System Overview. System block diagram (A8 version)
Advertisements

Introduction to Microprocessors (CS 45) Session Microprocessor - 2.
Microcontroller – PIC – 4 PIC types PIC architecture
Intro to AVR ATtiny2313 CS423 Dick Steflik. AVR ATtiny2313.
16.317: Microprocessor System Design I Instructor: Dr. Michael Geiger Spring 2012 Lecture 29: Microcontroller intro.
1 ECE 263 Embedded System Design Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System.
External & internal Interrupts. Interrupt Sources There are 21 different interrupts and each one has its own vector located in a predefined location at.
INPUT-OUTPUT ORGANIZATION
SENIOR DESIGN 10/3.
Micro controllers A self-contained system in which a processor, support, memory, and input/output (I/O) are all contained in a single package.
Microprocessor based Design for Biomedical Applications MBE 3 – MDBA II : The ATmega8 Basic Features (1)
Atmega32 Architectural Overview
AVR Microcontrollers.
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
Revised: Aug 1, ECE 263 Embedded System Design Lesson 1 68HC12 Overview.
1 AVR Session 2 Master : Dr.jafari Authors: M.H Edrisi, hadi.edrisi yyyy aaaa hhhh oooo oooo.... cccc oooo mmmm.
16F877A. Timer 0 The Timer0 module timer/counter has the following features: –8-bit timer/counter –Readable and writable –8-bit software programmable.
A Few Words From Dilbert
Clock Options and Sleep Modes. Clock Sources Flash Fuse bits can be programmed to choose one of the following Clock sources: 1. External RC Osc. f = 1/(3RC).
AT91 Embedded Peripherals
Embedded System Design Laboratory October 11, 2002Stanford University - EE281 Lecture #4#1 Lecture #4 Outline Announcements Project Proposal AVR Processor.
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
Directives, Memory, and Stack. Directives Special commands to the assembler May or may not generate machine code Categories by their function Programming.
Embedded System Design Laboratory October 4, 2002Stanford University - EE281 Lecture #3#1 Lecture #3 Outline Announcements AVR Processor Resources –UART.
Prepared by Eng. Musa Alyaman1 Chapter Seven Chapter Seven PIC16F87x.
بسمه تعالي AVR Microcontrollers. The ATmega8 Basic Features -1.
Internal Input/Output Devices (I/O Subsystems)
MCS51 - lecture 6. Lecture 6 1/32 Extending MCS51 system Built-in peripherals MCS51 family.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
CS-280 Dr. Mark L. Hornick 1 Atmel Timer/Counter System Most microcontrollers include some type of timer system Facilitates real-time monitoring and control.
Architecture and instruction set. Microcontroller Core Features:  Operating speed: DC - 20 MHz clock input DC ns instruction cycle Up to 8K x.
智慧電子應用設計導論(1/3) Arduino MEGA 2560
DsPIC30F4011 Fall DIP Switches  The upper four switches of SW1 are used to enable LEDs connected to PORTB/C, PORTA/D, PORTE and PORTF. For example,
Features of the PIC18 microcontroller - 8-bit CPU - 2 MB program memory space (internal 32KB to 128KB) bytes to 1KB of data EEPROM - Up to 4096 bytes.
Chapter Microcontroller
Components of a typical full-featured microcontroller.
Product Overview 박 유 진박 유 진.  Nordic Semiconductor ASA(Norway 1983)  Ultra Low Power Wireless Communication System Solution  Short Range Radio Communication(20.
AVR Architecture Prepared By: Avdhesh Soni ( ) Sarthak Patel ( ) Akshay Parekh ( ) Fenil Sachla ( ) Guided.
GROUP MEMBERS: SUMEET HOODA. RAJDEEP PATRE. DHIRAJ GAONKAR. LIVE HUMAN DETECTION USING WIRELESS REMOTE CONTROLLED ROBOT.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
Modified Harvard architecture 8-bit RISC single chip microcontroller Complete System-on-a-chip On Board Memory (FLASH, SRAM & EEPROM) On Board Peripherals.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Criteria for choosing a microcontroller A microcontroller must meet the task at hand efficiency and cost effectively. Speed. What is highest speed of.
“Atmega32 Architectural Overview” SIGMA INSTITUTE OF ENGINEERING Prepared By: SR.NO NAME OF STUDENT ENROLLMENT 1 Parihar Shipra A Guided By:-
Overview AvrEmbedded128_Pro RTLab. 김태현. Atmega128 Features High-performance, Low-power AVR® 8-bit Microcontroller advanced RISC Architecture – 133 Powerful.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
Embedded Microcontroller Systems
Popular Microcontrollers and their Selection by Lachit Dutta
Embedded Systems Programming
Atmega32 Architectural Overview
C. K. Pithawalla College of Engineering and Technology, Surat
AVR ATMEGA 8 MICRO-CONTROLLER
Analog Comparator An analog comparator is available on pins PE2(AIN0), PE3(AIN1) The comparator operates like any other comparator. -when (+) exceeds (-)
MCI PPT AVR MICROCONTROLLER Mayuri Patel EC-1 5th sem
UNIT – Microcontroller.
BITS EDU. CAMPUS , VARNAMA
AVR Addressing Modes Subject: Microcontoller & Interfacing
Atmega32 Serial Programming Basics
The Arduino Microcontroller: Atmel AVR Atmega 328
Subject Name: Microcontroller Subject Code: 10ES42
Introduction to Microprocessors and Microcontrollers
Architectural Overview
Lecturer: Reza Arjmandi Autumn 2015
AVR – ATmega103(ATMEL) Architecture & Summary
EECE.3170 Microprocessor Systems Design I
Serial Communication 19th Han Seung Uk.
Presentation transcript:

Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register file -6 can be used as 16-bit registers Harvard architecture Status Register (half carry, sign, OV, Neg, Zero, Carry, GIE) -not stored when entering ISR

Atmel Atmega128 Overview Memory System There are four separate memory spaces on the AVR -Program space: -128K byte (64Kx16) in-circuit flash programmable -Endurance minimum of 10K cycles -Can be accessed by program for storage of constants -SRAM Data Memory: -4K bytes -variable storage area -i/o and peripherals are located here also -EEPROM: -4K bytes -separate data space -single byte read/write access via EEPROM access registers -8.5mS to write data (slow but durable)

Atmel Atmega128 Overview Memory System -Mega128 board has added 32K external SRAM memory -Uses multiplexed lower address and data -Addr bit 15 selects external memory if XMEM register is programmed

Atmel Atmega128 Overview Timers and Counters TCNT0 -8-bit -internal synchronous clock or external asynchronous 32Khz clock -especially used for time keeping with 32Khz clock -has no external pin for clocking, only two crystal sources

Atmel Atmega128 Overview Timers and Counters TCNT1, TCNT3 -16 bit timer/counter, requires special access method -clocked by internal clock or by external pin -3 output compare registers and output pins (set, reset, toggle) -multiple compare registers -input capture register captures when external event happened -ADC interrupt input can capture time at which some voltage is detected

Timers and Counters TCNT1, TCNT3 Atmel Atmega128 Overview

Timers and Counters TCNT2 -8-bit counter/timer -like TCNT0 but has external clocking capability -has PWM capability

Atmel Atmega128 Overview Timer/counter prescalers -separate prescalers available for TCNT1,2,3 only -used when operating from internal or external clock pin -clock can be prescaled by 8, 64, 256 or 102

Atmel Atmega128 Overview Interrupts 30 interrupt sources -external pin levels or edges -timer/counters -SPI, USART, and TWI Rx and Tx complete -ADC conversion complete -EEPROM ready -input capture, external event capture, ADC interrupt All interrupts are vectored -reset is vector zero (highest priority) -all other interrupts are prioritized in ascending order -interrupt response time is 4 cycles -interrupt return time is also 4 cycles

Atmel Atmega128 Overview Serial Interfaces SPI (Serial Peripheral Interface) -full duplex, three wire interface -MSB first or last, programmable bit rates to clock/2

Atmel Atmega128 Overview Serial Interfaces USART(universal synchronous asynchronous receiver transmitter) -2 identical and separate units, USART0, USART1 -full duplex serial communications -programmable number of bits, parity, stop bit, error detection -interrupt on tx done, rx ready, or tx register empty

Atmel Atmega128 Overview Serial Interfaces USART0,1

Atmel Atmega128 Overview Serial Interfaces TWI (two wire interface) -half duplex serial communications -7 bit device addressing -multi-master operation -400khz data rate -I 2 C compatible

Atmel Atmega128 Overview Analog to Digital Converter -10-bit resolution uS conversion time -8 multiplexed single input channels -7 differential input channels -selectable internal reference (2.56V) -input range 0-Vcc -interrupt on completion

Analog to Digital Converter Atmel Atmega128 Overview