Avr introduction

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Avr introduction - Presentation Transcript

    1. Anant Shrivatsava EI – 7 th SEM
    2. INTRODUCTION
      • AVR or Atmel AVR are RISC based family of microcontroller produced by Atmel Corporations
      • The acronym AVR has been reported to stand for Advanced Virtual RISC, but it has also been rumored to stand for the initials chip's designers: Alf and Vegard [RISC]. Atmel says that the name AVR is not an acronym and does not stand for anything in particular.
      • The original AVR MCU was developed at a local ASIC house in Trondheim Norway, where the two founders of Atmel Norway were working as students. It was known as a uRISC (MicroRISC). The internal architecture was further developed by Alf and Vergard.
      • The AVR is a Harvard architecture machine with programs and data stored separately.
      • AVRs are generally classified into three broad groups:
      • tinyAVRs
        • 1-8 kB program memory
        • 8-20-pin package
        • Limited peripheral set
      • megaAVRs
        • 4-256 kB program memory
        • 28-100-pin package
        • Extended instruction set and peripheral set
      • 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 etc.
    3. Device Architecture Data RAM Flash, EEPROM, and SRAM are all integrated onto a single chip, removing the need for external memory (though still available on some devices). Program Memory Program instructions are stored in non-volatile Flash memory. Although they are 8-bit MCUs, each instruction takes 16 bits with an 8-bit opcode followed by 8 bits of data or an address to be modified by the previous instruction. So the flash memory is actually addressed in a 16-bit fashion. Internal Data Memory The data address space consists of the register file, I/O registers, and SRAM. The AVRs have 32 single-byte registers and are classified as 8-bit RISC devices.
    4. Internal Registers The working registers are mapped in as the first 32 memory addresses (000016-001F16) followed by the 64 I/O registers (002016-005F16). Actual SRAM starts after the register sections (address 006016). EEPROM Some AVR microcontrollers have internal Electrically Erasable Programmable Read Only Memory (EEPROM) for semi-permanent data storage. Like Flash memory, EEPROM can maintain its contents when electrical power is removed.Since the number of writes to EEPROM is not unlimited - Atmel specifies 100,000 write cycles in their datasheets. More on Device Architecture
    5. Program Execution Atmel's AVRs have a single level pipeline design. This means the next machine instruction is fetched as the current one is executing. Most instructions take just one or two clock cycles, making AVRs relatively fast among the eight-bit microcontrollers. The AVR family of processors were designed with the efficient execution of compiled C code in mind and has several built-in pointers for the task. MCU Speed The AVR line can normally support clock speeds from 0-16 MHz, with some devices reaching 20 MHz. Lower powered operation usually requires a reduced clock speed. All AVRs feature an on-chip oscillator. Since many operations on the AVR are single cycle, the AVR can achieve up to 1MIPS per MHz.
      • Features
      • Current AVRs offer a wide range of features:
      • Multifunction, Bi-directional General Purpose I/O ports with configurable, built-in pull-up resistors
      • Multiple Internal Oscillators
      • Internal, Self-Programmable Instruction Flash Memory up to 256 K
        • In-System Programmable using ISP, JTAG, or High Voltage methods
        • Optional Boot Code Section with Independent Lock Bits for Protection
      • On chip debugging (OCD) support through JTAG or debugWIRE on most devices
      • Internal Data EEPROM up to 4 kB
      • Internal SRAM up to 8 K
      • 8-Bit and 16-Bit Timers
        • Synchronous/Asynchronous Serial Peripherals (UART/USART)
        • Serial Peripheral Interface Bus (SPI)
        • Universal Serial Interface (USI) for Two/Three-Wire Synchronous Data Transfer
      • Brownout Detection
      • Watchdog Timer (WDT)
      • Multiple Power-Saving Sleep Modes
      • Lighting and motor control (PWM Specific) Controller models
      • 10-Bit A/D Converters, with multiplex of up to 16 channels
      • A variety of serial interfaces, including
      MORE FEATURES
      • SOME MORE FEATURES
      • CAN Controller Support
      • USB Controller Support
        • Proper High-speed hardware & Hub controller with embedded AVR.
        • Also freely available low-speed (HID) software emulation
      • Ethernet Controller Support
      • LCD Controller Support
      • Low-voltage Devices Operating Down to 1.8v
      • picoPower Devices
      • I²C Compatible Two-Wire Interface (TWI)
      • PWM output (Dead time generator on some devices)
        • Input capture
      • Analog Comparators

    + Anant ShrivastavaAnant Shrivastava, 2 years ago

    custom

    1426 views, 1 favs, 0 embeds more stats

    an introduction to AVR microcontroller family. you more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1426
      • 1426 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 54
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories