C. K. Pithawalla College of Engineering and Technology, Surat

Slides:



Advertisements
Similar presentations
Introduction to AVR ATMega32 Architecture
Advertisements

SENIOR DESIGN 10/3.
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Microprocessor based Design for Biomedical Applications MBE 3 – MDBA II : The ATmega8 Basic Features (1)
AVR Microcontrollers.
بسمه تعالي AVR Microcontrollers. The ATmega8 Basic Features -1.
Atmel Atmega128 Overview ALU Particulars RISC Architecture 133, Mostly single cycle instructions 2 Address instructions (opcode, Rs, Rd, offset) 32x8 Register.
ATMEL AVR 8 bit RISC MICROCONTROLLERS a general comparison.
Chapter 2 Introducing the PIC Mid-Range Family and the 16F84A The aims of this chapter are to introduce: The PIC mid-range family, in overview The overall.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Microcontrollers Class : 4th Semister E&C and EEE Subject Code: 06ES42
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
Presented by Sadhish Prabhu
Computer Architecture Lecture 4 by Engineer A. Lecturer Aymen Hasan AlAwady 17/11/2013 University of Kufa - Informatics Center for Research and Rehabilitation.
Chapter Microcontroller
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.
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
Modified Harvard architecture 8-bit RISC single chip microcontroller Complete System-on-a-chip On Board Memory (FLASH, SRAM & EEPROM) On Board Peripherals.
Gujarat technological university active learning assignment ON ARCHITECTURE OF AVR MICROCONTROLLER at c. K. pithawala college of engineering and technology.
DEPARTMENT OF ELECTRONICS ENGINEERING V-SEMESTER MICROPROCESSOR & MICROCONTROLLER 1 CHAPTER NO microcontroller & programming.
“Atmega32 Architectural Overview” SIGMA INSTITUTE OF ENGINEERING Prepared By: SR.NO NAME OF STUDENT ENROLLMENT 1 Parihar Shipra A Guided By:-
ALPHA COLLEGE OF ENGINEERING & TECHNOLOGY Introduction to AVR ATMega32 Architecture PREPARED BY SHWETA ( ) BHOOMI ( ) YOGEN ( )
“ INSTRUCTIONS SET OF AVR MICROCONTROLLER ” SIGMA INSTITUTE OF ENGINEERING Prepared By: SR.NO NAME OF STUDENT ENROLLMENT 1 Abhishek Lakhara
Seminar On 8085 microprocessor
The 8051 Microcontroller architecture
SHRI S’AD VIDYA MANDAL INSTITUTE OF TECHNOLOGY
Embedded Systems Programming
PROGRAMMABLE LOGIC CONTROLLERS SINGLE CHIP COMPUTER
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
COURSE OUTCOMES OF Microprocessor and programming
8051 Pin - out PORT 0 PORT 1 PORT 2 PORT 3.
COMP2121: Microprocessors and Interfacing
Atmega32 Architectural Overview
Microcontrollers & GPIO
AVR ATMEGA 8 MICRO-CONTROLLER
MCI PPT AVR MICROCONTROLLER Mayuri Patel EC-1 5th sem
Microprocessor Systems Design I
UNIT – Microcontroller.
Microprocessor Systems Design I
BITS EDU. CAMPUS , VARNAMA
Modified Harvard Architectures
AVR Addressing Modes Subject: Microcontoller & Interfacing
Introduction of microprocessor
Dr. Michael Nasief Lecture 2
AVR Microcontrollers Prepared By: Disha Ruparelia ( )
8085 microprocessor.
The Arduino Microcontroller: Atmel AVR Atmega 328
Subject Name: Microcontroller Subject Code: 10ES42
Introduction to Microprocessors and Microcontrollers
Number Representations and Basic Processor Architecture
Memories.
ریز پردازنده. ریز پردازنده مراجع درس میکروکنترلرهای AVR برنامه نویسی اسمبلی و C محمدعلی مزیدی، سپهر نعیمی و سرمد نعیمی مرجع کامل میکروکنترلرهای AVR.
Introduction to Assembly Chapter 2
Architectural Overview
Lecturer: Reza Arjmandi Autumn 2015
Introducing the PIC Mid-Range Family and the 16F84A
Introduction to Assembly Chapter 2
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Md. Mojahidul Islam Lecturer Dept. of Computer Science & Engineering
Important 8051 Features On chip oscillator 4K bytes ROM 128 bytes RAM
AVR – ATmega103(ATMEL) Architecture & Summary
8051 Micro Controller.
Introduction to Microprocessor Programming
EECE.3170 Microprocessor Systems Design I
Compiled by Dr. N.Shanmugasundaram, HOD, ECE Dept, SECE.
CPU Structure and Function
Register sets The register section/array consists completely of circuitry used to temporarily store data or program codes until they are sent to the.
Presentation transcript:

C. K. Pithawalla College of Engineering and Technology, Surat GUJARAT TECHNOLOGICAL UNIVERSITY C. K. Pithawalla College of Engineering and Technology, Surat B. E. II, Semester – IV (Electronics and Communication Engineering) Submitted by: Group No. : 27 sr no Name of Student Enrolment No 1 Patel Parth 130090111064 2 Lakhani Ankit 130090111045 3 Patil Lalesh 130090111068 4 Karad Prashant 130090111041

AVR FAMILY Advanced Virtual RISC,the founders are Alf Egil Bogen Vegard Wollan RISC AVR architecture was conceived by two students at Norwegian Institute of Technology (NTH)[1] and further refined and developed at Atmel Norway, the Atmel company founded by the two chip architects. AVR Micro controllers is Family of RISC Microcontrollers from Atmel. There are multiple architectures RISC (Reduced Instruction Set Computer) CISC (Complex Instruction Set Computer)

RISC Reduced Instruction Set Computers Advantages Fast Execution of Instructions due to simple instructions for CPU. RISC chips require fewer transistors, which makes them cheaper to design and produce. Emphasis on software and Single-clock,reduced instruction only Register to register: “LOAD" and "STORE are independent instructions Spends more transistors on memory registers

AVR Microcontroller ARCHITECTURE Harvard Architecture: Computer architectures that used physically separate storage and signal pathways for their instructions and data. CPU can read both an instruction and data from memory at the same time that makes it faster.

AVR Microcontroller Harvard Architecture Harvard Architecture diagram

AVR Microcontroller A series of 8-bit RISC microcontrollers from Atmel. All AVR microcontrollers share same instruction set and a basic CPU (Harvard) architecture. It has 32 8-Bit general purpose registers. Mostly instruction Execute in Single clock cycle. Which makes it faster among 8 bit microcontrollers. AVR was designed for efficient execution of compiled C code.

AVR Architecture status register (SREG) that contains It is 8-bit long each bit has a different meaning. I: Global Interrupt Enable/Disable Flag, SREG7 T: Transfer bit used by BLD and BST instructions, SREG6 H: Half Carry Flag, SREG5 S: For signed tests Instruction Set, SREG4 V: Two's complement overflow indicator, SREG3 N: Negative Flag, SREG2 Z: Zero Flag, SREG1 C: Carry Flag, SREG0 I Z T N H S V C

PIN CONFIGURATIONS ATmega Pinout and Packages (DIP and TQFP)

CPU CORE AND ARCHITECTURE II: Atmega8 – Basic features CPU CORE AND ARCHITECTURE CPU Core ● Seperate Instruction and Data Memories (Harvard) ● all 32 General Purpose Registers connected to ALU ● I/O Modules connected to Data Bus and accessible via Special Function Registers Core Architecture

CPU CORE AND ARCHITECTURE II: Atmega8 – Basic features CPU CORE AND ARCHITECTURE Pin and Port Overview: GND: Ground (0V) VCC: Digital Supply Voltage (2,7 – 5,5V) AVCC: Analog Supply Voltage connect to low-pass filtered VCC AREF: Analog Reference Voltage, usually AVCC /Reset: Low level on this pin will generate a reset Port B, Port C, Port D: General Purpose 8 Bit bidirectional I/O - Ports, optional internal pullup-resistors when configured as input output source capability: 20mA

AVR MEMORY ORGANIZATION II: Atmega8 – Basic features AVR MEMORY ORGANIZATION AVR Memory organization: ● Program Flash Memory: On-chip, in system programmable 8 Kbytes, organized in 4K 16 bit words Program Counter (PC) = 12 bits Accessible via special instructions: LPM, SPM Boot Loader support: Boot Flash Section, SPM can be executed only from Boot Flash

AVR MEMORY ORGANIZATION II: Atmega8 – Basic features AVR Memory organization: ● EEPROM - Memory: 512 Bytes, single Bytes can be read and written Special EEPROM read and write procedure using SFRs: EEPROM Address Register, EEPROM Data Register, EEPROM Control Register C – Library Functions available Precautions to prevent EEPROM memory corruption: ● no flash memory or interrupt operations ● stable power supply

AVR MEMORY ORGANIZATION II: Atmega8 – Basic features AVR MEMORY ORGANIZATION AVR Memory organization: ● SRAM Data Memory: 32 GPR’s and 64 SFR’s mapped to SRAM memory space SFR’s accessed via in / out instructions (I/O-registers) 1 Kbytes of internal SRAM can be accessed from address 0x060 to address 0x45f 5 Direct and indirect addressing modes

AVR MEMORY ORGANIZATION II: Atmega8 – Basic features AVR MEMORY ORGANIZATION AVR Memory organization: ● General Purpose Registers: Although not being physically implemented as SRAM locations, GPR’s can be accessed by SRAM locations X, Y and Z 16-bit registers can be used for indirect addressing ALU - Input / output schemes: one 8-bit operand, 8-bit result two 8-bit operands, 8-bit result two 8-bit operands, 16-bit result one 16-bit operand, 16-bit result

I/O REGISTERS Important I/O Registers: SREG – Status Register Bit 7 – I: Global Interrupt Enable Bit 6 – T: Bit Copy Storage Bit 5 – H: Half Carry Flag Bit 4 – S: Sign Bit Bit 3 – V: Two’s Complement Overflow Flag Bit 2 – N: Negative Flag Bit 1 – Z: Zero Flag Bit 0 – C: Carry Flag

I/O REGISTERS Important I/O Registers: Stack Pointer (SPH and SPL) II: Atmega8 – Basic features Important I/O Registers: Stack Pointer (SPH and SPL) ● Stack is a LIFO buffer located in SRAM ● Stack Pointer addresses the current location ● Push and pop instructions write / read from Stack ● Enter or return from subroutines / interrupt routines: Address and Parameters transferred via Stack

II: Atmega8 – Basic features SYSTEM CLOCK

SYSTEM CLOCK System Clock Options: II: Atmega8 – Basic features ● Clock Muliplexer selects the clock source according to FUSE settings ● Clock Control Unit distributes clocks clocks can be halted to reduce power consumption ● CPU Clock: CPU, ALU, GPRs ● I/O Clock: Ports, Timers, SPI, UART ● ADC Clock: seperate cock for ADC noise reduction in sleep mode ● Asynchronous Timer Clock: external 32kHz Crystal for realtime clock, keeps timer module running during sleep mode

INTERRUPT SERVICES II: Atmega8 – Basic features ● several Interrupt Sources: External Interrupts, Timer, Bus-Peripherals, ADC, EEPROM ● individual Interrupt-Enable bits in the SFR‘s ● global interrupt enable Bit in SREG, set with sei() and clear with cli() instruction ● flagged (remembered) and non-flagged interrupt sources ● lowest addresses in program memory reserved for the interrupt vector table ● higher priority interrupts have lower addresses

-THE END THANKS FOR WATCHING