tinyavr Microcontrollers White Paper is the registered trademark of Atmel Corporation, 2325 Orchard Parkway, San Jose, CA Rev.

Size: px
Start display at page:

Download "tinyavr Microcontrollers White Paper is the registered trademark of Atmel Corporation, 2325 Orchard Parkway, San Jose, CA 95131 Rev."

Transcription

1 tinyavr Microcontrollers White Paper is the registered trademark of Atmel Corporation, 2325 Orchard Parkway, San Jose, CA R Rev.

2 Table of Contents Introduction to Microcontrollers... 1 Microcontroller Architectures... 1 Von-Neumann Architecture... 1 Harvard Architecture... 1 Issues for MCU Designs... 2 Atmel s tinyavr 8-bit Enhanced RISC MCU... 3 A Rich Set of Fixed-length 16-bit Instructions Developed for Highest Code Density... 4 Two Address Machine... 4 Single Cycle Instruction Execution... 4 Thirty-two 8-bit Registers... 5 Bit Manipulation Enhances Code Efficiency... 5 In-System Programmable Flash... 5 EEPROM for Calibration and Correlation Factors... 6 Analog-to-Digital Converter... 6 Timer/Counters... 6 tinyavr Development Tools... 6 ICE 10 and ICE 200 In-Circuit Emulator... 6 AVR Studio... 6 STK500 Starter Kit...7 Features... 7 Summary... 7 tinyavr Microcontrollers White Paper i

3 White Paper Introduction to Microcontrollers Microcontroller Architectures Von-Neumann Architecture Harvard Architecture CISC RISC Within the last 25 years microcontrollers have influenced the way we live. They can be found in keyless entry systems, car alarms, fire detectors and toys. They are used to achieve many different things from protocol conversion, battery charging to motor controls. For example, the average new automobile has microcontrollers that operate the brakes, airbag, suspension, fuel, engine emissions, temperature control, cruise control, window opener, windshield wiper and much more. The average PC uses ten microcontrollers, in addition to the system microprocessor. Altogether, the average US home has 130 microcontrollers that control everything from washing machines, dryers, dishwashers, and microwaves to telephones, stereo systems, garage openers, burglar alarms, thermostats and battery chargers. But let s start with a look at the different controller architectures that are available on the market. The MCU architectures can be divided in two categories: the Von-Neumann architecture and the Harvard architecture. Today, the most commonly used MCU architecture is the Von-Neumann architecture. These machines are characterized by having common shared buses and a single shared address space for both the data and program memories. Successful examples for this architecture include Motorola s 68HC05 and 68HC11 families of MCUs. All Von-Neumann machines have a bottleneck that hinders systems performance because they have just a single bus for both the address and data. This means that instructions and data cannot be fetched simultaneously. An instruction must be fetched during one clock cycle and the data must be fetched during the next. Operations that could be performed quickly must wait for these alternative program data cycles to complete. The Harvard architecture is gaining popularity in the MCU market. It eliminates the instruction bottleneck associated with Von-Neumann machines by providing separate buses for the data and address. This is achieved by using separate buses for addresses and data. It increases the throughput of the microcontroller significantly, up to single cycle execution of the instructions. Another way to distinguish between architectures is to divide them into CISC and RISC machines. The Complex Instruction Set Computers (CISC) machines were designed to perform complex operations with one instruction, thus reducing the number of instructions required to perform a given task. In most cases, this makes CISC machines very code efficient. However, the complex instruction set requires complex hardware logic and also multiple clock cycles per instruction. This tends to make them relatively expensive and slow. A CISC machine can require more than 20 clock cycles to execute a single instruction. Also called Reduced Instruction Set Computers (RISC) machines, these microcontrollers have simple fixed-length instructions that can be executed in fewer clock cycles than a CISC machine. The term Reduced means that the complexity of each instruction is reduced. Typically, the instruction set is limited to perform simple arithmetic operations on a set of data registers and transferring data between these registers and the data memory. The simple instruction allows single cycle execution, which greatly increases execution speed. The hardware logic required to handle a RISC instruction set is simpler than that of a CISC machine, enabling a significant cost reduction. The drawback traditionally associated with RISC architectures is that they tend to require a 1

4 larger number of these simple instructions to perform a given task, increasing the amount of the memory required to house the program. Issues for MCU Designs Increased Performance Power Consumption Issues Shorter Product Life Cycles 2 White Paper The main issues to be addressed when specifying a microcontroller are cost and performance. Performance will be a function of the microcontroller architecture (CISC or RISC), its utilization of pipelining, its instruction set, its support for C-compilers, its buswidth and its clock frequency. Faster and wider microcontroller buses tend to offer better performance, but they are also much more expensive. Conversely, low system cost is often associated with the use of less expensive, 8-bit devices that also offer poor system performance. Thus, it seems that low cost and high performance are mutually exclusive phenomena. This need not be the case. High system performance can be achieved without radically increasing system costs by taking advantage of new architectural innovations provided by Atmel s AVR family of microcontrollers. A combination of factors contribute to the total cost of a microcontroller, which include the amount of memory required for program storage, the need and facilities to modify designs to correct errors or add features, system performance goals and how many additional parts are necessary to achieve the required functionality. Having additional parts on the PCB make the PCB and the assembly of it much more expensive. Therefore the price of the microcontroller is only one factor that contributes to the overall system cost. The tinyavr microcontroller provides high performance, substantial on- MCU program store, In-System Programmability (ISP), and a variety of on-mcu peripheral functions. There are several approaches to achieving better throughput. One approach is to use a wider bus and/or a faster clock, but these approaches tend to be very expensive. Since system power consumption increases proportionately to clock speed, increasing the clock will increase the power consumption. Therefore more economical means of increasing microcontroller throughput is to modify the microcontroller architecture to eliminate bottlenecks and to increase its ability to handle multiple instructions at once. This will also allow the designer to minimize fetch and store operations and to minimize the number of instructions it must execute to get a job done. This approach increases the performance without having an impact on the next point, which is very important for most of the design especially for battery powered systems. Wireless and other portable products are proliferating at a rapid rate. Battery powered systems require power consumption to be minimized in order to keep battery size, product weight and cost down, and to extend battery life. Integrating the program and data memory as well as many additional peripherals integrated not only reduces the product size, but also decreases the power consumption. In fact, the extra ICs associated with using off-mcu NVM can increase the power consumption by a factor of six, compared with an on-chip NVM. This is because the most power-hungry transistors are those that drive inter-chip interfaces. With a high performance controller, the best way to reduce power consumption is to use the sleep and power down modes. If a certain task can be accomplished in half the time, when compared with another controller, the faster MCU can enter into sleep mode for half the time, and wake up for the next task. This is the most efficient way to reduce power consumption even more than can be achieved by only reducing the clock frequency. Competitive pressures have sliced some product life cycles to as little as six months. Generally, product enhancements are made in the firmware, so the code is continuously evolving. EPROM or OTP MCUs which must be programmed prior to product assembly are often replaced with enhanced versions before their inventory is used up. In addition, multiple OTP MCUs with different code must be kept in inventory to accommodate dif-

5 White Paper ferent products that use the same hardware design, but are differentiated using firmware. The difficulties often associated with forecasting demand often result in excessive inventory that must be discarded when the new generation product is introduced. All excess unusable inventory adds to the effective product cost. A significant saving comes from In-System Programmable on-chip NVM. The ability to carry only inventory of non-programmed parts makes product changes much easier when programming a different firmware or a different country or product version, simply by downloading a new hex file. Easy Field Updates Atmel s tinyavr 8-bit Enhanced RISC MCU Rapid changes in our environment make field updates necessary for many applications. The possibility to update a microcontroller via a telephone line, RS232 or even via the Internet makes field updates possible without sending a service person to the location itself. Eliminating field service calls can save far more than the cost of the original equipment. In summary, many existing microcontroller architectures are no longer suitable for today s system requirements of fast instruction execution, lower power consumption or In-System programming requirements. Atmel s family of tinyavr microcontrollers comprise a reduced instruction set (RISC) machine, employing a true Harvard architecture with separate busses and address spaces for program and data memories, load and store operation, 32 8-bit registers and single-cycle instruction execution. The RISC architecture was selected because it eliminates the bottleneck and performance penalty associated with accumulator-based CISC architectures, in which, program and data share the same bus where several complex multi-clock instructions are required to complete virtually any operation. In developing its tinyavr family, Atmel has taken the Harvard architecture and added several enhancements that allow it to provide exceptional performance, sufficient In-System Program store to accommodate the largest applications, excellent code density, and on-chip peripherals that meet the needs of today s advanced sensor-based systems. These enhancements include: 16-bit fixed-length instructions to increase code density by eliminating the need for logic to determine instruction length Up to 118 instructions that have been optimized so that approximately 80% of all MCU operations can be handled by a single cycle instruction 8-bit register files that allow the CPU to access multiple data simultaneously, eliminating the need for most data transfer operations, thereby enabling much smaller code size 1 to 2 kilobytes In-System Programmable Flash memory for program code storage Integrated EEPROM with over 100,000 guaranteed erase/write cycles to accommodate and update constants, algorithms, and calibration data Low-power idle, noise reduction and power-down modes Programmable lock bits to protect Flash memory from being read to prevent reverse engineering Operation voltage range of 1.8V 5.5V Programmable brown out detection Wide selection of programmable peripherals that includes integrated RC Oscillator; PLL for fast PWMs; timer/counters with prescaler and pulse width modulation; programmable watchdog timer with on-chip oscillator; analog comparator and 10-bit ADCs 3

6 A Rich Set of Fixedlength 16-bit Instructions Developed for Highest Code Density Two Address Machine Single Cycle Instruction Execution The tinyavr instruction set consists of up to 118 fixed-length 16-bit instructions that eliminate the need for logic to determine instruction length, contributing to higher code density. More importantly, the instruction set was developed based on actual code implementations. Atmel evaluated numerous existing designs, and identified the most frequently used individual instructions, as well as the most frequently used instruction combinations. tinyavr instructions were developed to directly support 90% of the operations most commonly used in MCU designs in just one instruction. Individual instructions are included that implement frequently used combinations of operations. For example, the comparison of 16- or 32-bit numbers is an extremely common operation particularly in C-code. Implementing a 16-bit comparison in most 8-bit machines typically requires ten instructions and 132 clock cycles to subtract the low byte, test, jump up, carry, continue with the high byte, test again, and propagate the zero flag to the high byte. The tinyavr instruction set provides two instructions (subtract with carry and compare with carry) that execute the entire operation in four clocks at most, including the propagation of the carry and zero flags. The C-compiler compiles the instruction directly from the C-code. To eliminate the need for carry instructions with constants during a 16-bit ADD, Atmel implemented the ADD instruction as subtract and carry instruction (SBCI). This enables 16- and 32-bit arithmetic with no code size penalty for 8-bit arithmetic. The compare with carry instruction enables non-destructive comparison of numbers that are greater than 8 bits. This common-sense approach of implementing the most frequently used functions in individual tinyavr instructions results in exceptionally dense compiled code. In a competitive analysis of code density for a variety of applications running on several popular MCU architectures, the tinyavr consistently had the highest code density. Even the highly respected 16-bit H8/300 required 20% more code than the tinyavr to implement the same functionality. Eight-bit MCUs such as the 80C51 and Microchip s PIC required 45% to 65% more code. Two addresses enable the 8-bit tinyavr to simultaneously load and store the entire 16-bit instruction. It also facilitates comparisons of 16- and 32-bit numbers. A pair of two 8-bit registers can be added or subtracted directly using the two-addresses. Although other 8-bit Harvard-based microcontrollers require many fewer cycles per instruction than CISC machines, only rarely do they execute in a single cycle; three or four cycles per instruction is more common. The tinyavr has achieved true single cycle execution by implementing a two-stage pipeline in which the next instruction is fetched while the current instruction is executed. ALU operations and branches execute in a single instruction. Loads, stores and taken branches execute in just two cycles, while the slowest instruction, RET, takes only four clocks. Across a wide spectrum of applications, the tinyavr averages 1.3 instructions per clock cycle twice as much throughput as its nearest competitor, the H8/300, and over ten times more throughput than the 80C51. The tinyavr can execute up to 8 million instructions per second, with a maximum clock frequency of 8 MHz. Also, the superlative performance of the tinyavr enables it to meet or exceed the performance of many 16-bit MCUs at a fraction of the cost. 4 White Paper

7 White Paper Thirty-two 8-bit Registers Bit Manipulation Enhances Code Efficiency In-System Programmable Flash Most programmers would agree: you can t have too many data registers. Data registers greatly speed up instruction execution. However, very few 8-bit microcontrollers contain more than one or two registers. When most 8-bit architectures were developed in the 1970 s and 1980 s process technologies were much larger. The large silicon area required to implement data registers makes them too costly. Since then, process technologies have shrunk dramatically, greatly reducing the cost disadvantage. Adding registers eliminates the need to continuously transfer data in and out of the single accumulator in a CISC machine. Atmel has used today s small process technology to equip the tinyavr with thirty-two registers the maximum number of registers consistent with a 16-bit instruction. Sixty-four registers would have increased the two address decode instructions by 1-bit each, leaving only four bits for the operating code, and requiring longer instructions. Since this option would have decreased the code density, thirty-two registers were considered to be the optimum. The 32 8-bit registers in the tinyavr give the CPU access to multiple data simultaneously. They also greatly facilitate 16- and 32- bit arithmetic by allowing direct operations on them without having to load and operate on them in 8-bit segments. The tinyavr architecture and C-compiler support bit manipulation that further enhances code efficiency and security. Transfer Bit For example, scrambling data, as is typically done by a cable TV company to prevent unauthorized viewing of cable channels, can require six to eight instructions per byte. Given the number of bytes of data in your average TV show, this can lead to a massive number of instructions to execute. A very fast clock may be necessary to achieve the required performance. The tinyavr architecture greatly simplifies this process by providing a status register with a transfer bit. Any bit in the register file can be arbitrarily switched into the transfer register for scrambling and then transferred back for de-scrambling. This reduces an 8-instruction operation to a simple two instruction (load bit, store bit) operation. I/O-pin Bit Manipulation Individual I/O pins are frequently used to switch external devices, such as lights, door locks, or process machinery on or off. Most microcontrollers must read all the bits on the I/O port, change the appropriate bit, and then write them all back out to the port. In addition to requiring at least three instructions to execute this operation, it can result in the accidental, incorrect setting of other pins that could lead to catastrophic system failure. The tinyavr allows a single I/O bit to be directly and immediately set by a single instruction, without affecting any other I/O pin on the port. The In-System Programmability of the tinyavr cuts inventory costs by allowing various revisions of the code to be programmed at the end of the manufacturing process. The majority of microcontrollers have one-time-programmable (OTP) or EPROM program memory that must be programmed in special equipment before the controller is soldered in the final product. When the same hardware design is being used to implement multiple products that are differentiated by their firmware, large OTP MCU inventories must be maintained that have been programmed with different code. This situation is error prone and often results in the wrong OTP MCU being inserted in a product that consequently performs improperly in the field. Any bugs that are discovered will necessitate that all existing programmed OTP parts are thrown away, at great cost to the manufacturer. Finally, the inability to accurately forecast demand can result in inventory waste. The In-System Programmability of the tinyavr family of microcontrollers eliminates this needless waste by enabling system updates in the field, as well as on the factory floor. Code revisions or enhancements, as well as changes in product demand, are easily accommodated via the three-pin serial peripheral interface (SPI). Products can be reconfigured without disassembly. 5

8 EEPROM for Calibration and Correlation Factors Analog-to-Digital Converter Timer/Counters tinyavr Development Tools ICE 10 and ICE 200 In- Circuit Emulator AVR Studio Many embedded systems, such as ABS breaking systems are self-calibrating. As the system wears or operating conditions change new calibration data or correlation factors must be loaded. Atmel s tinyavr family provides a range of densities of In-System Programmable, byte-erasable EEPROM that allows calibration data and correlation factors to be updated as needed using the tinyavr serial peripheral interface. System data can even be updated remotely via telephone lines. The ISP features of the tinyavr even enable systems to self calibrate, measuring system conditions and revising calibration automatically. Information gathered by sensors, such as temperature, speed, humidity, acceleration, or light, is analog in nature. Analog data must be digitized into values represented by 0s or 1s before a processor can operate them on. Many microcontroller-based applications rely on analog data for their operation. For example, a fuel injection system, which must determine the fuel mix based on a variety of analog data such as temperature, revolutions per minute, and timing, must convert all this data to a digital form prior to performing algorithms that will determine the fuel mix. Some derivatives of the tinyavr family provide a built-in 4- to 11-channel 10-bit A/D converter to perform this function. It can operate in single-conversion mode, which is activated by the user, or in free-running mode, in which, the ADC constantly samples and updates the ADC register. The AD converter on tinyavr microcontrollers enables them to operate as a single chip solution in a myriad of applications that must sample and operate on analog data. Most tinyavr family members have prescaled timer/counters. tinyavr MCUs have 8-bit prescaler timer/counters. The timer counters enable the microcontroller to keep track of the number of times an operation has been performed or the amount of time that has elapsed. The tinyavr microcontroller family comes with a comprehensive set of development tools that include integrated development environment with assembler and simulator, In- Circuit emulators ICE10 and ICE200, and the STK500 starter kit. The ICE 200 is a real time in-circuit emulator (ICE) with an unlimited number of breakpoints that connects to the RS-232 port of any PC or workstation. The ICE10 supports all tinyavr parts with analog capabilities. All Atmel emulators are designed to work with the Integrated Development Environment, the AVR Studio, which automatically senses its presence. All Atmel AVR emulators can be purchased from any Atmel distributor. Further information on software and hardware support can be found on Atmel s web site. There is a huge section that lists all of Atmel s business partners that offer many items, from real-time operation systems to programming adapters. The AVR Studio Integrated Development Environment enables the assembling, execution and debugging of AVR programs using either the in-circuit emulator or using the AVR Studio's built-in Instruction Set Simulator. AVR Studio provides a Source window with the program code and a pointer that marks the code currently being executed. Other windows that are available include: Watch window that displays the values of defined symbols, allows direct manipulation of the data; Register window that displays the contents of all 32 registers; Memory window that allows the user the to view and modify the contents of all the memory resources; 6 White Paper

9 White Paper Processor window that shows the address of the next instruction to be executed, the value of the stack pointer, and the number of clock cycles that have elapsed since the last reset; Peripheral device windows, each of which shows the status of the I/Os; Port windows that show the three I/O registers on each of the ports on the AVR. Since version 4.0 of the AVR Studio the programming interface for the STK500 starter kit is integrated in the software. The AVR Studio development software is available free of charge on Atmel's web site, STK500 Starter Kit The STK500 starter kit is the most complete starter kit for any microcontroller: A professional starter kit and development system for the AVR Flash Microcontroller from Atmel. It is designed to give designers a quick start to develop code on the AVR, combined with advanced features for using the starter kit to prototypes and testing of new designs. The STK500 starter kit interfaces with AVR Studio, Atmel's Integrated Development Environment (IDE) for professional code writing and debugging. Features Compatible with AVR Studio V3.2 and newer RS232 Interface to PC for Programming and Control Regulated Power Supply for 10V 15V DC Power Sockets for 8-, 20-, 28-, and 40-pin AVR Parts Parallel and Serial High-voltage Programming of AVR Parts Serial In-System Programming (ISP) of AVR Parts In-System Programmer for Programming AVR Parts in External Target System 8 Push-Buttons and 8 LEDs for General Use All AVR I/O Ports Easily Accessible Through Pin Header Connectors Additional RS232 Port for General Use Expansion Connectors for Plug-In Modules and Prototype Area On-board 2-Mbit Data Flash for Non-Volatile Data Storage Software Upgradeable from AVR Studio to support future AVR parts Summary Atmel's 8-bit tinyavr family represents a single-chip solution for many different applications from battery charger, universal remote control to remote keyless entries. It combines the most advantageous attributes of CISC and RISC MCUs into a flexible, 8-bit machine that meets, sometimes exceeds the performance of many more expensive 16-bit machines. The tinyavr family consists of devices with 8 to 32 pins and onchip program memory ranges from 1 to 2 kilobytes of ISP Flash memory. Selected devices also have integrated EEPROM. With a wide variety of programmable peripherals there is certain to be one member of the tinyavr family available to provide a perfect solution for virtually any microcontroller application. Finally, the true Harvard architecture and single cycle instruction execution deliver performance that vastly exceeds that of any other 8-bit MCU available today at a sub one dollar price. 7

10 Atmel Headquarters Corporate Headquarters 2325 Orchard Parkway San Jose, CA TEL 1(408) FAX 1(408) Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland TEL (41) FAX (41) Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong TEL (852) FAX (852) Japan 9F, Tonetsu Shinkawa Bldg Shinkawa Chuo-ku, Tokyo Japan TEL (81) FAX (81) Atmel Operations Memory 2325 Orchard Parkway San Jose, CA TEL 1(408) FAX 1(408) Microcontrollers 2325 Orchard Parkway San Jose, CA TEL 1(408) FAX 1(408) La Chantrerie BP Nantes Cedex 3, France TEL (33) FAX (33) ASIC/ASSP/Smart Cards Zone Industrielle Rousset Cedex, France TEL (33) FAX (33) East Cheyenne Mtn. Blvd. Colorado Springs, CO TEL 1(719) FAX 1(719) Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland TEL (44) FAX (44) RF/Automotive Theresienstrasse 2 Postfach Heilbronn, Germany TEL (49) FAX (49) East Cheyenne Mtn. Blvd. Colorado Springs, CO TEL 1(719) FAX 1(719) Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP Saint-Egreve Cedex, France TEL (33) FAX (33) literature@atmel.com Web Site Atmel Corporation Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company s standard warranty which is detailed in Atmel s Terms and Conditions located on the Company s web site. The Company assumes no responsibility for any errors which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel s products are not authorized for use as critical components in life support devices or systems. ATMEL AVR and AVR Studio are the registered trademarks of Atmel; tinyavr is the trademark of Atmel. Motorola is the registered trademark of Motorola, Inc. Microchip and PIC are the registered trademarks of Microchip Technology, Inc. Other terms and product names may be the trademarks of others. Printed on recycled paper. xm

AT89C5131A Starter Kit... Software User Guide

AT89C5131A Starter Kit... Software User Guide AT89C5131A Starter Kit... Software User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Abbreviations...1-1 Section 2 Getting Started... 2-3 2.1 Hardware Requirements...2-3 2.2 Software Requirements...2-3

More information

8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter

8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter AVR400: Low Cost A/D Converter Features Interrupt Driven : 23 Words Low Use of External Components Resolution: 6 Bits Measurement Range: 0-2 V Runs on Any AVR Device with 8-bit Timer/Counter and Analog

More information

General Porting Considerations. Memory EEPROM XRAM

General Porting Considerations. Memory EEPROM XRAM AVR097: Migration between ATmega128 and ATmega2561 Features General Porting Considerations Memory Clock sources Interrupts Power Management BOD WDT Timers/Counters USART & SPI ADC Analog Comparator ATmega103

More information

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction AVR319: Using the USI module for SPI communication Features C-code driver for SPI master and slave Uses the USI module Supports SPI Mode 0 and 1 Introduction The Serial Peripheral Interface (SPI) allows

More information

AVR106: C functions for reading and writing to Flash memory. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR106: C functions for reading and writing to Flash memory. 8-bit Microcontrollers. Application Note. Features. Introduction AVR106: C functions for reading and writing to Flash memory Features C functions for accessing Flash memory - Byte read - Page read - Byte write - Page write Optional recovery on power failure Functions

More information

8-bit RISC Microcontroller. Application Note. AVR182: Zero Cross Detector

8-bit RISC Microcontroller. Application Note. AVR182: Zero Cross Detector AVR182: Zero Cross Detector Features Interrupt Driven Modular C Source Code Size Efficient Code Accurate and Fast Detection A Minimum of External Components Introduction One of the many issues with developing

More information

8-bit RISC Microcontroller. Application Note. AVR236: CRC Check of Program Memory

8-bit RISC Microcontroller. Application Note. AVR236: CRC Check of Program Memory AVR236: CRC Check of Program Memory Features CRC Generation and Checking of Program Memory Supports all AVR Controllers with LPM Instruction Compact Code Size, 44 Words (CRC Generation and CRC Checking)

More information

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example

More information

8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.

8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1. AVR415: RC5 IR Remote Control Transmitter Features Utilizes ATtiny28 Special HW Modulator and High Current Drive Pin Size Efficient Code, Leaves Room for Large User Code Low Power Consumption through Intensive

More information

8-bit Microcontroller. Application Note. AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory

8-bit Microcontroller. Application Note. AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory AVR105: Power Efficient High Endurance Parameter Storage in Flash Memory Features Fast Storage of Parameters High Endurance Flash Storage 350K Write Cycles Power Efficient Parameter Storage Arbitrary Size

More information

8-bit Microcontroller. Application Note. AVR222: 8-point Moving Average Filter

8-bit Microcontroller. Application Note. AVR222: 8-point Moving Average Filter AVR222: 8-point Moving Average Filter Features 31-word Subroutine Filters Data Arrays up to 256 Bytes Runable Demo Program Introduction The moving average filter is a simple Low Pass FIR (Finite Impulse

More information

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR134: Real Time Clock (RTC) using the Asynchronous Timer Features Real Time Clock with Very Low Power Consumption (4 μa @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts

More information

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR305: Half Duplex Compact Software UART Features 32 Words of Code, Only Handles Baud Rates of up to 38.4 kbps with a 1 MHz XTAL Runs on Any AVR Device Only Two Port Pins Required Does Not Use Any Timer

More information

AT91 ARM Thumb Microcontrollers. Application Note. Interfacing a PC Card to an AT91RM9200-DK. Introduction. Hardware Interface

AT91 ARM Thumb Microcontrollers. Application Note. Interfacing a PC Card to an AT91RM9200-DK. Introduction. Hardware Interface Interfacing a PC Card to an AT91RM9200-DK Introduction This Application Note describes the implementation of a PCMCIA interface on an AT91RM9200 Development Kit (DK) using the External Bus Interface (EBI).

More information

8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier

8-bit Microcontroller. Application Note. AVR201: Using the AVR Hardware Multiplier AVR201: Using the AVR Hardware Multiplier Features 8- and 16-bit Implementations Signed and Unsigned Routines Fractional Signed and Unsigned Multiply Executable Example Programs Introduction The megaavr

More information

Quick Start Guide. CAN Microcontrollers. ATADAPCAN01 - STK501 CAN Extension. Requirements

Quick Start Guide. CAN Microcontrollers. ATADAPCAN01 - STK501 CAN Extension. Requirements ATADAPCAN01 - STK501 CAN Extension The ATADAPCAN01 - STK501 CAN add-on is an extension to the STK500 and STK501 development boards from Atmel Corporation, adding support for the AVR AT90CAN128 device in

More information

Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations

Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations C51 General Information about Bootloader and In System Programming Overview This document describes the Atmel Bootloaders for 8051 family processors. Abreviations ISP: In-System Programming API : Applications

More information

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features. AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR Features How to open a new workspace and project in IAR Embedded Workbench Description and option settings for compiling the c-code Setting

More information

8-bit Microcontroller. Application Note. AVR461: Quick Start Guide for the Embedded Internet Toolkit. Introduction. System Requirements

8-bit Microcontroller. Application Note. AVR461: Quick Start Guide for the Embedded Internet Toolkit. Introduction. System Requirements AVR461: Quick Start Guide for the Embedded Internet Toolkit Introduction Congratulations with your AVR Embedded Internet Toolkit. This Quick-start Guide gives an introduction to using the AVR Embedded

More information

How to Calculate the Capacitor of the Reset Input of a C51 Microcontroller 80C51. Application Note. Microcontrollers. Introduction

How to Calculate the Capacitor of the Reset Input of a C51 Microcontroller 80C51. Application Note. Microcontrollers. Introduction How to Calculate the Capacitor of the Reset Input of a C51 Microcontroller This application note explains how the reset of the 80C51 microcontroller works when the RST pin is a pure input pin and when

More information

How To Prevent Power Supply Corruption On An 8Bit Microcontroller From Overheating

How To Prevent Power Supply Corruption On An 8Bit Microcontroller From Overheating AVR180: External Brown-out Protection Features Low-voltage Detector Prevent Register and EEPROM Corruption Two Discrete Solutions Integrated IC Solution Extreme Low-cost Solution Extreme Low-power Solution

More information

Tag Tuning/RFID. Application Note. Tag Tuning. Introduction. Antenna Equivalent Circuit

Tag Tuning/RFID. Application Note. Tag Tuning. Introduction. Antenna Equivalent Circuit Tag Tuning Introduction RFID tags extract all of their power to both operate and communicate from the reader s magnetic field. Coupling between the tag and reader is via the mutual inductance of the two

More information

8-bit Microcontroller. Application Note. AVR314: DTMF Generator

8-bit Microcontroller. Application Note. AVR314: DTMF Generator AVR314: DTMF Generator Features Generation of Sine Waves Using PWM (Pulse-Width Modulation) Combine Different Sine Waves to DTMF Signal Assembler and C High-level Language Code STK500 Top-Module Design

More information

AVR245: Code Lock with 4x4 Keypad and I2C LCD. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR245: Code Lock with 4x4 Keypad and I2C LCD. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR245: Code Lock with 4x4 Keypad and I2C LCD Features Application example for code lock - Ideal for low pin count AVRs Uses I/O pins to read 4x4 keypad Uses Timer/Counter to control piezoelectric buzzer

More information

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation.

8-bit Microcontroller. Application Note. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer. Features. Theory of Operation. AVR134: Real-Time Clock (RTC) using the Asynchronous Timer Features Real-Time Clock with Very Low Power Consumption (4µA @ 3.3V) Very Low Cost Solution Adjustable Prescaler to Adjust Precision Counts Time,

More information

Table of Contents. Section 1 Introduction... 1-1. Section 2 Getting Started... 2-1. Section 3 Hardware Description... 3-1

Table of Contents. Section 1 Introduction... 1-1. Section 2 Getting Started... 2-1. Section 3 Hardware Description... 3-1 ISP... User Guide Table of Contents Table of Contents Section 1 Introduction... 1-1 1.1 Features...1-1 1.2 Device Support...1-2 Section 2 Getting Started... 2-1 2.1 Unpacking the System...2-1 2.2 System

More information

8-bit Microcontroller. Application. Note. AVR204: BCD Arithmetics. Features. Introduction. 16-bit Binary to 5-digit BCD Conversion bin2bcd16

8-bit Microcontroller. Application. Note. AVR204: BCD Arithmetics. Features. Introduction. 16-bit Binary to 5-digit BCD Conversion bin2bcd16 AVR204: BCD Arithmetics Features Conversion 16 Bits 5 Digits, 8 Bits 2 Digits 2-digit Addition and Subtraction Superb Speed and Code Density Runable Example Program Introduction This application note lists

More information

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR. 8-bit Microcontroller. Application Note. Features.

AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR. 8-bit Microcontroller. Application Note. Features. AVR034: Mixing C and Assembly Code with IAR Embedded Workbench for AVR Features Passing Variables Between C and Assembly Code Functions Calling Assembly Code Functions from C Calling C Functions from Assembly

More information

AVR442: PC Fan Control using ATtiny13. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR442: PC Fan Control using ATtiny13. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR442: PC Fan Control using ATtiny13 Features Variable speed based on: - Temperature sensor (NTC). - External PWM input. Stall detection with alarm output. Implementation in C code to ease modification.

More information

AT91 ARM Thumb Microcontrollers. AT91SAM CAN Bootloader. AT91SAM CAN Bootloader User Notes. 1. Description. 2. Key Features

AT91 ARM Thumb Microcontrollers. AT91SAM CAN Bootloader. AT91SAM CAN Bootloader User Notes. 1. Description. 2. Key Features User Notes 1. Description The CAN bootloader SAM-BA Boot4CAN allows the user to program the different memories and registers of any Atmel AT91SAM product that includes a CAN without removing them from

More information

AVR120: Characterization and Calibration of the ADC on an AVR. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR120: Characterization and Calibration of the ADC on an AVR. 8-bit Microcontrollers. Application Note. Features. Introduction AVR120: Characterization and Calibration of the ADC on an AVR Features Understanding Analog to Digital Converter (ADC) characteristics Measuring parameters describing ADC characteristics Temperature, frequency

More information

AVR241: Direct driving of LCD display using general IO. 8-bit Microcontrollers. Application Note. Features. Introduction AVR

AVR241: Direct driving of LCD display using general IO. 8-bit Microcontrollers. Application Note. Features. Introduction AVR AVR241: Direct driving of LCD display using general IO Features Software driver for displays with one common line Suitable for parts without on-chip hardware for LCD driving Control up to 15 segments using

More information

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB AVR282: USB Firmware Upgrade for AT90USB Features Supported by Atmel FLIP program on all Microsoft O/S from Windows 98SE and later FLIP 3.2.1 or greater supports Linux Default on chip USB bootloader In-System

More information

Application Note. USB Mass Storage Device Implementation. USB Microcontrollers. References. Abbreviations. Supported Controllers

Application Note. USB Mass Storage Device Implementation. USB Microcontrollers. References. Abbreviations. Supported Controllers USB Mass Storage Device Implementation References Universal Serial Bus Specification, revision 2.0 Universal Serial Bus Class Definition for Communication Devices, version 1.1 USB Mass Storage Overview,

More information

AT86RF230 (2450 MHz band) Radio Transceiver... User Guide

AT86RF230 (2450 MHz band) Radio Transceiver... User Guide ATAVRRZ200 Demonstration Kit AT86RF230 (2450 MHz band) Radio Transceiver... User Guide Section 1 1.1 Organization...1-1 1.2 General Description...1-1 1.3 Demonstration kit features...1-2 1.4 Included

More information

USB Test Environment ATUSBTEST- SS7400. Summary

USB Test Environment ATUSBTEST- SS7400. Summary Features Simple Command-driven Host Model Comprehensive Reports by Monitor Protocol Validation by Monitor Comprehensive Test Suite Fully Compliant with USB Forum Checklist Generates and Monitors Packets

More information

Atmel s Self-Programming Flash Microcontrollers

Atmel s Self-Programming Flash Microcontrollers Atmel s Self-Programming Flash Microcontrollers By Odd Jostein Svendsli, Marketing Manager Summary The third-generation Flash microcontrollers from Atmel are now available. These microcontrollers offer

More information

8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming

8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming AVR910: In-System Programming Features Complete In-System Programming Solution for AVR Microcontrollers Covers All AVR Microcontrollers with In-System Programming Support Reprogram Both Data Flash and

More information

AVR1900: Getting started with ATxmega128A1 on STK600. 8-bit Microcontrollers. Application Note. 1 Introduction

AVR1900: Getting started with ATxmega128A1 on STK600. 8-bit Microcontrollers. Application Note. 1 Introduction AVR1900: Getting started with ATxmega128A1 on STK600 1 Introduction This document contains information about how to get started with the ATxmega128A1 on STK 600. The first three sections contain information

More information

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel AVR115: Data Logging with Atmel File System on ATmega32U4 Microcontrollers 01101010 11010101 01010111 10010101 Application Note 1 Introduction Atmel provides a File System management for AT90USBx and ATmegaxxUx

More information

USB 2.0 Full-Speed Host/Function Processor AT43USB370. Summary. Features. Overview

USB 2.0 Full-Speed Host/Function Processor AT43USB370. Summary. Features. Overview Features USB 2.0 Full Speed Host/Function Processor Real-time Host/Function Switching Capability Internal USB and System Interface Controllers 32-bit Generic System Processor Interface with DMA Separate

More information

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration AVR270: USB Mouse Demonstration Features Runs with AT90USB Microcontrollers at 8MHz USB Low Power Bus Powered Device (less then 100mA) Supported by any PC running Windows (98SE or later), Linux or Mac

More information

ATF15xx Product Family Conversion. Application Note. ATF15xx Product Family Conversion. Introduction

ATF15xx Product Family Conversion. Application Note. ATF15xx Product Family Conversion. Introduction ATF15xx Product Family Conversion Introduction Table 1. Atmel s ATF15xx Family The ATF15xx Complex Programmable Logic Device (CPLD) product family offers high-density and high-performance devices. Atmel

More information

AVR32110: Using the AVR32 Timer/Counter. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32110: Using the AVR32 Timer/Counter. 32-bit Microcontrollers. Application Note. Features. 1 Introduction AVR32110: Using the AVR32 Timer/Counter Features Three independent 16 bit Timer/Counter Channels Multiple uses: - Waveform generation - Analysis and measurement support: Frequency and interval measurements

More information

DIP Top View VCC A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3. PLCC Top View VCC A17

DIP Top View VCC A16 A15 A12 A7 A6 A5 A4 A3 A2 A1 A0 I/O0 I/O1 I/O2 GND A17 A14 A13 A8 A9 A11 A10 I/O7 I/O6 I/O5 I/O4 I/O3. PLCC Top View VCC A17 Features Fast Read Access Time 70 ns 5-volt Only Reprogramming Sector Program Operation Single Cycle Reprogram (Erase and Program) 1024 Sectors (256 Bytes/Sector) Internal Address and Data Latches for

More information

Chapter 13. PIC Family Microcontroller

Chapter 13. PIC Family Microcontroller Chapter 13 PIC Family Microcontroller Lesson 01 PIC Characteristics and Examples PIC microcontroller characteristics Power-on reset Brown out reset Simplified instruction set High speed execution Up to

More information

Fondamenti su strumenti di sviluppo per microcontrollori PIC

Fondamenti su strumenti di sviluppo per microcontrollori PIC Fondamenti su strumenti di sviluppo per microcontrollori PIC MPSIM ICE 2000 ICD 2 REAL ICE PICSTART Ad uso interno del corso Elettronica e Telecomunicazioni 1 2 MPLAB SIM /1 MPLAB SIM is a discrete-event

More information

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR353: Voltage Reference Calibration and Voltage ADC Usage Features Voltage reference calibration. - 1.100V +/-1mV (typical) and < 90ppm/ C drift from 10 C to +70 C. Interrupt controlled voltage ADC sampling.

More information

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary Features Three Selectable Outputs All Outputs Can Be Used Either for Standard (5V) or High Voltage (9V) Maximum Output Current at All Outputs Up to 150 ma On-chip Low-EMI RF Oscillator With Spread-spectrum

More information

8-bit RISC Microcontroller. Application Note. AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface

8-bit RISC Microcontroller. Application Note. AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface Features Compatible with Philips' I 2 C protocol 2-wire Serial Interface Master Driver for Easy Transmit and Receive Function

More information

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P.

Palaparthi.Jagadeesh Chand. Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P. Patient Monitoring Using Embedded Palaparthi.Jagadeesh Chand Associate Professor in ECE Department, Nimra Institute of Science & Technology, Vijayawada, A.P Abstract The aim of this project is to inform

More information

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS AVR1309: Using the XMEGA SPI Features Introduction to SPI and the XMEGA SPI module Setup and use of the XMEGA SPI module Implementation of module drivers Polled master Interrupt controlled master Polled

More information

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK 500 Starter Kit and AVR Studio Debugger Creating a New Project Using

More information

AVR32100: Using the AVR32 USART. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32100: Using the AVR32 USART. 32-bit Microcontrollers. Application Note. Features. 1 Introduction AVR32100: Using the AVR32 USART Features Supports character length from 5 to 9 bits Interrupt Generation Parity, Framing and Overrun Error Detection Programmable Baud Rate Generator Line Break Generation

More information

Application Note. 8-bit Microcontrollers. AVR280: USB Host CDC Demonstration. 1. Introduction

Application Note. 8-bit Microcontrollers. AVR280: USB Host CDC Demonstration. 1. Introduction AVR280: USB Host CDC Demonstration 1. Introduction The RS232 interface has disappeared from the new generation of PCs replaced by the USB interface. To follow this change, applications based on UART interface

More information

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction. APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)

More information

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors AVR1600: Using the XMEGA Quadrature Decoder Features Quadrature Decoders 16-bit angular resolution Rotation speed and acceleration 1 Introduction Quadrature encoders are used to determine the position

More information

Application Note. 8-bit Microcontrollers. AVR091: Replacing AT90S2313 by ATtiny2313. Features. Introduction

Application Note. 8-bit Microcontrollers. AVR091: Replacing AT90S2313 by ATtiny2313. Features. Introduction AVR091: Replacing AT90S2313 by ATtiny2313 Features AT90S2313 Errata Corrected in ATtiny2313 Changes to Bit and Register Names Changes to Interrupt Vector Oscillators and Selecting Start-up Delays Improvements

More information

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction AVR32701: AVR32AP7 USB Performance Features Linux USB bulk transfer performance ATSTK1000 (32-bit SDRAM bus width) ATNGW100 (16-bit SDRAM bus width) GadgetFS driver and gadgetfs-test application USB performance

More information

256K (32K x 8) OTP EPROM AT27C256R 256K EPROM. Features. Description. Pin Configurations

256K (32K x 8) OTP EPROM AT27C256R 256K EPROM. Features. Description. Pin Configurations Features Fast Read Access Time - 45 ns Low-Power CMOS Operation 100 µa max. Standby 20 ma max. Active at 5 MHz JEDEC Standard Packages 28-Lead 600-mil PDIP 32-Lead PLCC 28-Lead TSOP and SOIC 5V ± 10% Supply

More information

Application Note. Migrating from RS-232 to USB Bridge Specification USB Microcontrollers. Doc Control. References. Abbreviations

Application Note. Migrating from RS-232 to USB Bridge Specification USB Microcontrollers. Doc Control. References. Abbreviations Migrating from RS-232 to USB Bridge Specification USB Microcontrollers Doc Control Rev Purpose of Modifications Date 0.0 Creation date 24 Nov 2003 Application Note 1.0 updates 22 Dec 2003 References Universal

More information

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR1301: Using the XMEGA DAC Features 12 bit resolution Up to 1 M conversions per second Continuous drive or sample-and-hold output Built-in offset and gain calibration High drive capabilities Driver source

More information

Microtronics technologies Mobile: 99707 90092

Microtronics technologies Mobile: 99707 90092 For more Project details visit: http://www.projectsof8051.com/rfid-based-attendance-management-system/ Code Project Title 1500 RFid Based Attendance System Synopsis for RFid Based Attendance System 1.

More information

AVR068: STK500 Communication Protocol. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR068: STK500 Communication Protocol. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR068: STK500 Communication Protocol Features Interfaces both STK500 and AVRISP Supports STK500 FW 2.XX 1 Introduction This document describes the 2.0 version of the communication protocol between the

More information

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note. AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System Features 32-bit Real Time Counter (RTC) - 32-bit counter - Selectable clock source 1.024kHz 1Hz - Long overflow time

More information

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs)

Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Embedded Systems on ARM Cortex-M3 (4weeks/45hrs) Course & Kit Contents LEARN HOW TO: Use of Keil Real View for ARM Use ARM Cortex-M3 MCU for professional embedded application development Understanding

More information

Step Motor Controller. Application Note. AVR360: Step Motor Controller. Theory of Operation. Features. Introduction

Step Motor Controller. Application Note. AVR360: Step Motor Controller. Theory of Operation. Features. Introduction AVR360: Step Motor Controller Features High-Speed Step Motor Controller Interrupt Driven Compact Code (Only 10 Bytes Interrupt Routine) Very High Speed Low Computing Requirement Supports all AVR Devices

More information

JTAG ICE.... User Guide

JTAG ICE.... User Guide JTAG ICE... User Guide Table of Contents Table of Contents Section 1 Introduction... 1-1 1.1 Features...1-1 1.2 JTAG ICE and the OCD Concept...1-2 1.2.4.1 Software Breakpoints...1-3 1.2.4.2 Hardware Breakpoints...1-3

More information

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or APPLICATION NOTE Atmel AVR32848: Android Accessory Demo 32-bit Atmel Microcontrollers Features Control an accessory from an Android device Send data to and from an Android device to an accessory Supported

More information

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA Using CryptoMemory in Full I 2 C Compliant Mode 1. Introduction This application note describes how to communicate with CryptoMemory devices in full I 2 C compliant mode. Full I 2 C compliance permits

More information

AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC. 8-bit Microcontrollers. Application Note. Features.

AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC. 8-bit Microcontrollers. Application Note. Features. AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC Features Calibration using a 32 khz external crystal Adjustable RC frequency with maximum +/-2% accuracy Tune RC oscillator at any

More information

The Heartbeat behind Portable Medical Devices: Ultra-Low-Power Mixed-Signal Microcontrollers

The Heartbeat behind Portable Medical Devices: Ultra-Low-Power Mixed-Signal Microcontrollers The Heartbeat behind Portable Medical Devices: Ultra-Low-Power Mixed-Signal Microcontrollers The proliferation of sophisticated yet affordable personal medical devices is transforming the health care industry,

More information

STK500... User Guide

STK500... User Guide STK500... User Guide Table of Contents Section 1 Introduction... 1-1 1.1 Starter Kit Features...1-1 1.2 Device Support...1-2 Section 2 Getting Started... 2-1 2.1 Unpacking the System...2-1 2.2 System

More information

2.0 Command and Data Handling Subsystem

2.0 Command and Data Handling Subsystem 2.0 Command and Data Handling Subsystem The Command and Data Handling Subsystem is the brain of the whole autonomous CubeSat. The C&DH system consists of an Onboard Computer, OBC, which controls the operation

More information

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features. Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2 Features Advantages Implementation differences Integration Migration from stack V1 to stack V2 8-bit Atmel Microcontrollers Application

More information

ET-BASE AVR ATmega64/128

ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 ET-BASE AVR ATmega64/128 which is a Board Microcontroller AVR family from ATMEL uses MCU No.ATmega64 and ATmega128 64PIN. Board ET-BASE AVR ATmega64/128 uses MCU s resources on

More information

FLYPORT Wi-Fi 802.11G

FLYPORT Wi-Fi 802.11G FLYPORT Wi-Fi 802.11G System on module 802.11g WIFI - Infrastructure mode - softap mode - Ad hoc mode Microchip PIC 24F 16 bit processor Microchip MRF24WG0MA/MB - Native WiFi 802.11g transceiver - PCB

More information

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

A 5 Degree Feedback Control Robotic Arm (Haptic Arm) A 5 Degree Feedback Control Robotic Arm (Haptic Arm) 1 Prof. Sheetal Nirve, 2 Mr.Abhilash Patil, 3 Mr.Shailesh Patil, 4 Mr.Vishal Raut Abstract: Haptics is the science of applying touch sensation and control

More information

Two-wire Automotive Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 (1) AT24C16 (2)

Two-wire Automotive Serial EEPROM AT24C01A AT24C02 AT24C04 AT24C08 (1) AT24C16 (2) Features Medium-voltage and Standard-voltage Operation 5.0 (V CC = 4.5V to 5.5V) 2.7 (V CC = 2.7V to 5.5V) Internally Organized 128 x 8 (1K), 256 x 8 (2K), 512 x 8 (4K), 1024 x 8 (8K) or 2048 x 8 (16K)

More information

2-wire Serial EEPROM AT24C1024. Advance Information

2-wire Serial EEPROM AT24C1024. Advance Information Features Low-voltage Operation 2.7(V CC =2.7Vto5.5V) Internally Organized 3,072 x 8 2-wire Serial Interface Schmitt Triggers, Filtered Inputs for Noise Suppression Bi-directional Data Transfer Protocol

More information

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc. SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance

More information

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA

8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port

More information

2-Wire Serial EEPROM AT24C32 AT24C64. 2-Wire, 32K Serial E 2 PROM. Features. Description. Pin Configurations. 32K (4096 x 8) 64K (8192 x 8)

2-Wire Serial EEPROM AT24C32 AT24C64. 2-Wire, 32K Serial E 2 PROM. Features. Description. Pin Configurations. 32K (4096 x 8) 64K (8192 x 8) Features Low-Voltage and Standard-Voltage Operation 2.7 (V CC = 2.7V to 5.5V) 1.8 (V CC = 1.8V to 5.5V) Low-Power Devices (I SB = 2 µa at 5.5V) Available Internally Organized 4096 x 8, 8192 x 8 2-Wire

More information

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE SMART ARM-based Microcontrollers SMARTCARD XPRO USER GUIDE Preface Atmel SMARTCARD Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. Atmel SMARTCARD Xplained Pro is designed

More information

The Programming Interface

The Programming Interface : In-System Programming Features Program any AVR MCU In-System Reprogram both data Flash and parameter EEPROM memories Eliminate sockets Simple -wire SPI programming interface Introduction In-System programming

More information

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR1318: Using the XMEGA built-in AES accelerator Features Full compliance with AES (FIPS Publication 197, 2002) - Both encryption and decryption procedures 128-bit Key and State memory XOR load option

More information

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ

Freescale Semiconductor, Inc. Product Brief Integrated Portable System Processor DragonBall ΤΜ nc. Order this document by MC68328/D Microprocessor and Memory Technologies Group MC68328 MC68328V Product Brief Integrated Portable System Processor DragonBall ΤΜ As the portable consumer market grows

More information

AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR125: ADC of tinyavr in Single Ended Mode Features Up to 10bit resolution Up to 15kSPS Auto triggered and single conversion mode Optional left adjustment for ADC result readout Driver source code included

More information

Atmel Norway 2005. XMEGA Introduction

Atmel Norway 2005. XMEGA Introduction Atmel Norway 005 XMEGA Introduction XMEGA XMEGA targets Leadership on Peripheral Performance Leadership in Low Power Consumption Extending AVR market reach XMEGA AVR family 44-100 pin packages 16K 51K

More information

AVR444: Sensorless control of 3-phase brushless DC motors. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR444: Sensorless control of 3-phase brushless DC motors. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR444: Sensorless control of 3-phase brushless DC motors Features Robust sensorless commutation control. External speed reference. Overcurrent detection/protection. Basic speed controller included. Full

More information

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction Atmel AVR4903: ASF - USB Device HID Mouse Application Features USB 2.0 compliance - Chapter 9 compliance - HID compliance - Low-speed (1.5Mb/s) and full-speed (12Mb/s) data rates Standard USB HID mouse

More information

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description APPLICATION NOTE Atmel AT259: In House Unit with Bluetooth Low Energy Module Hardware User Guide Features 8-bit Atmel Microcontroller Low power consumption Interface with BLE with UART Bi-direction wake

More information

Microcontrollers in Practice

Microcontrollers in Practice M. Mitescu I. Susnea Microcontrollers in Practice With 117 Figures, 34 Tables and CD-Rom 4y Springer Contents Resources of Microcontrollers, 1 1.1 In this Chapter 1 1.2 Microcontroller Architectures 1

More information

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia

C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia C8051F020 Utilization in an Embedded Digital Design Project Course Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia Abstract In this paper, the utilization of the C8051F020 in an

More information

Software Real Time Clock Implementation on MC9S08LG32

Software Real Time Clock Implementation on MC9S08LG32 Freescale Semiconductor Document Number: AN4478 Rev. 0, 03/2012 Software Real Time Clock Implementation on MC9S08LG32 by: Nitin Gupta Automotive and Industrial Solutions Group 1 Introduction The MC9S08LG32

More information

Open Architecture Design for GPS Applications Yves Théroux, BAE Systems Canada

Open Architecture Design for GPS Applications Yves Théroux, BAE Systems Canada Open Architecture Design for GPS Applications Yves Théroux, BAE Systems Canada BIOGRAPHY Yves Théroux, a Project Engineer with BAE Systems Canada (BSC) has eight years of experience in the design, qualification,

More information

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter APPLICATION NOTE Features Atmel AVR32918: UC3-A3 Xplained Hardware User s Guide Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter I/O One mechanical button

More information

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation UPS PIco Uninterruptible Power Supply with Peripherals and I 2 C control Interface to be used with Raspberry Pi B+, A+, B, and A HAT Compliant Raspberry Pi is a trademark of the Raspberry Pi Foundation

More information

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction AVR1922: Xplain Board Controller Firmware Features USB interface - Mass-storage to on-board DataFlash memory Atmel AVR XMEGA TM reset control 1 Introduction The Xplain board controller, an AT90USB1287,

More information

Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge

Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge AVR272: USB CDC Demonstration UART to USB Bridge Features Supported by Windows 2000 or later No driver installation Virtual COM Port Enumeration USB to RS232 Bridge with dynamic baudrate Bus powered 8-bit

More information