Systemy RT i embedded Wykład 2 Mikrokontrolery 8-bitowe

Similar documents
Atmel Norway XMEGA Introduction

Chapter 13. PIC Family Microcontroller

Focus Product Selector Guide

Tutorial for MPLAB Starter Kit for PIC18F

Introducing a New Breed of Microcontrollers for 8/16-bit Applications

Advanced Microcontrollers Grzegorz Budzyń Lecture. 3: Electrical parameters of microcontrollers 8051 family

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

ZigBee Technology Overview

Focus Product Selector Guide

Focus Product Selector Guide

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

Focus Product Selector Guide

USB OTG and Embedded Host Microchip Technology Incorporated. All Rights Reserved. Slide 1

Chapter 1 Lesson 3 Hardware Elements in the Embedded Systems Chapter-1L03: "Embedded Systems - ", Raj Kamal, Publs.: McGraw-Hill Education

DAC Digital To Analog Converter

FLYPORT Wi-Fi G

2.0 Command and Data Handling Subsystem

AN4646 Application note

STM32 F-2 series High-performance Cortex-M3 MCUs

CSE2102 Digital Design II - Topics CSE Digital Design II

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

A 5 Degree Feedback Control Robotic Arm (Haptic Arm)

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

How To Use Nuc123 (Nuc123) For A Week

Lab Experiment 1: The LPC 2148 Education Board

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

TURBO PROGRAMMER USB, MMC, SIM DEVELOPMENT KIT

Am186ER/Am188ER AMD Continues 16-bit Innovation

DATA LOGGER AND REMOTE MONITORING SYSTEM FOR MULTIPLE PARAMETER MEASUREMENT APPLICATIONS. G.S. Nhivekar, R.R.Mudholker

Figure 1.Block diagram of inventory management system using Proximity sensors.

STM32L. Ultra-low-power Cortex -M3 devices

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

Wireless monitoring system for temperature and humidity based on ZigBee

DS1104 R&D Controller Board

MX PIC24F Educational Module User Manual

POCKET SCOPE 2. The idea 2. Design criteria 3

Focus Product Selector Guide

Design of an Insulin Pump. Purpose of an Insulin Pump:

Serial port interface for microcontroller embedded into integrated power meter

System Design Issues in Embedded Processing

Ingar Fredriksen AVR Applications Manager. Tromsø August 12, 2005

7a. System-on-chip design and prototyping platforms

Display Message on Notice Board using GSM

How to design an insulin pump

Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol

Computer Automation Techniques. Arthur Carroll

Adding WiFi to Your Embedded System. WPG Americas & Gainspan Titus Wandinger (WPG) & Su Li (Gainspan) April 23, 2013

Wireless Microcontrollers for Environment Management, Asset Tracking and Consumer. October 2009

ARM Cortex STM series

Embedded Software Development: Spottbillige Hardware + OSS = Zum Spielen zu Schade!

Von der Hardware zur Software in FPGAs mit Embedded Prozessoren. Alexander Hahn Senior Field Application Engineer Lattice Semiconductor

Corporate Focus Product Selector Guide. Fourth Quarter 2010

AVR126: ADC of megaavr in Single Ended Mode. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

Versions. Q.station Q.station T. Q.station D. Q.station DT x x

Design of Online Embedded Web Server for Data Acquisition System # Author

USER GUIDE EDBG. Description

The new 32-bit MSP432 MCU platform from Texas

Digitale Signalverarbeitung mit FPGA (DSF) Soft Core Prozessor NIOS II Stand Mai Jens Onno Krah

AN1416. Low-Power Design Guide INTRODUCTION LOW-POWER BASICS. Main Sources of Power Consumption DYNAMIC POWER

Microcontrollers in Practice

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

SBC6245 Single Board Computer

ÇANKAYA ÜNİVERSİTESİ ECE 491 SENIOR PROJECT I ERDİNÇ YILMAZ

Microtronics technologies Mobile:

Motor Control using NXP s LPC2900

Embedded Display Module EDM6070

Building Blocks for PRU Development

ET-BASE AVR ATmega64/128

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

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

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

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

User s Manual of Board Microcontroller ET-MEGA2560-ADK ET-MEGA2560-ADK

RN-131-PICTAIL & RN-171-PICTAIL Evaluation Boards

VADC Versatile Analog to Digital Converter. XMC Microcontrollers August 2014

ES_LPC4357/53/37/33. Errata sheet LPC4357/53/37/33. Document information

Android Controlled Based Interface

PAC52XX Clock Control Firmware Design

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

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

85MIV2 / 85MIV2-L -- Components Locations

128KB RAM. 2.4 GHz TX/RX. Radio. 2.4 GHz ADC. Crypto accelerator. Sensor Interface

Computer and Set of Robots

Gecko. Energy-friendly microcontrollers for the IoT. Gecko MCUs Complete portfolio of energyfriendly 32-bit microcontrollers PRODUCT SELECTOR GUIDE

Secure My-d TM and Mifare TM RFID reader system by using a security access module Erich Englbrecht (info@eonline.de) V0.1draft

PIC32 Microcontroller Families

ARM Cortex -A8 SBC with MIPI CSI Camera and Spartan -6 FPGA SBC1654

Microchip Technology. February 2008 Valerio Moretto Slide 1

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

PIC-MAXI-WEB development board Users Manual

General Porting Considerations. Memory EEPROM XRAM

Radio sensor powered by a mini solar cell the EnOcean STM 110 now functions with even less light

CPU ARM926EJ-S, 200MHz. Fast Ethernet 10/100 Mbps port. 6 digital input 2 digital open-drain alarm output

Byte code Interpreter for 8051 Microcontroller

SECURITY SYSTEM IN INDUSTRIES USING ZIGBEE TECHNOLOGY

Scalar Network Analyzer

SBC8600B Single Board Computer

MPX28. o UART, SD-CARD, I2C, PWM, Serial Audio, SPI Power management optimized for long battery life 3.3V I/O

The Research and Application of College Student Attendance System based on RFID Technology

8051 MICROCONTROLLER COURSE

Transcription:

Systemy RT i embedded Wykład 2 Mikrokontrolery 8-bitowe Wrocław 2013

Plan AVR ATTiny ATMega ATXMega PIC PIC10/12 PIC16/18

Introduction - AVR

Introduction Source: [1]

ATTiny

ATTiny Main features: RISC processors few instructions, high clock frequency 8-bit processors with simplified architecture Most instructions executed in one clock cycle Clock range up to 20MHz 1 MIPS/MHz

ATTiny Main features: Small amount of program memory (0.5-8kB) Small amount of SRAM (< 512B) Small cases (down to SOT23-6) 6-32 pins Energy efficient (PicoPower) Low voltage supply from 0.7V!!! Capacitive Touch technology

ATTiny10 block diagram Source: [2]

ATTiny10 pinout Source: [2]

ATTiny10 instructions

ATMega

ATMega Main features: RISC processors few instructions, high clock frequency Large family of 8-bit processors Most instructions executed in one clock cycle Clock range up to 20MHz 1 MIPS/MHz

ATMega Main features: Sufficient amount of program memory (4kB- 256kB) Sufficient amount of SRAM (512B-16kB) EEPROM present (256B-4096B) Some versions energy efficient (PicoPower) Low voltage supply even from 0.9V

ATMega Main features: 8 channels of 10-bit ADC Analogue comparator 4 Timers (2 x 16 bit, 2 x 8 bit) 34 interrupt sources 8 PWM channels RTC SPI UART

ATMega64 block diagram Source: [3]

ATMega64 Instruction List

ATMega64 Sample code

ATMega64 Pinout Source: [3]

ATXMega

ATXMega Main features: New family of 8/16 bit processors RISC processors few instructions, high clock frequency Most instructions executed in one clock cycle Clock range up to 32MHz 1 MIPS/MHz

ATXMega Main features: Sufficient amount of program memory (16kB-384kB) Sufficient amount of SRAM (2kB-32kB) EEPROM (1kB-4kB) Energy efficient (PicoPower) Low voltage supply from 1.6V Many interesting peripherals (DMA) Fast Cryptography support for AES and DES

ATXMega Main features: High precision analog: 12-bit ADCs with gain stage and combined throughput of 4 MSPS Fast 12-bit DAC with high drive strength and other functions that reduce the need for external components Inter-peripheral signaling with 100% predictable response time AVR Software Library with many ready solutions USB connectivity

ATXMega Source: [4]

ATXMega64A1 Main features: 16 channels of 10-bit ADC 4 Analogue comparators 8 Timers (all 16 bit wide) 24 PWM channels RTC 4 x SPI 8 x UART DMA

ATXMega64A1 - CPU Main features: Harvard architecture Single stage pipelining Hardware multiplier with hardware support for data cipher/decipher Support for 8-, 16- and 32-bits arithmetics Direct addressing of 16MB of data and program memory

ATXMega64A1 - DMAC DMAC Direct Memory Access Controller - CPU-independent data transfer that significantly boosts performance

ATXMega64A1 - DMAC DMAC Direct Memory Access Controller Main features: Fast data transfer: From memory to peripherals From memory to memory From peripherals to memory From peripherals to peripherals 4 channels

ATXMega64A1 Event System - XMEGA Event System enables inter-peripheral communication without CPU or DMA usage - Up to 8 simultaneous events or interrupt conditions in the peripherals can automatically start actions in other peripherals

ATXMega64A1 Event System

ATXMega64A1 PMIC - PMIC - Programmable Multi-level Interrupt Controller - Features: - Separate interrupt vector for each interrupt - Short, predictable interrupt response time - Programmable Multi-level Interrupt Controller - 3 programmable interrupt levels - Selectable priority scheme within low level interrupts (roundrobin or fixed) - Non-Maskable Interrupts (NMI) - All peripherals can define three different priority levels for interrupts; high, medium or low.

ATXMega64A1 PMIC - PMIC - Programmable Multi-level Interrupt Controller - Features: - 45 interrupt bases - The interrupt vector is the sum of the peripheral s base interrupt address and the offset address for specific interrupts in each peripheral (abundance of interrupts!) - Medium level interrupts may interrupt low level interrupt service routines - High level interrupts may interrupt both low and medium level interrupt service routines

ATXMega64A1 PMIC

ATXMega64A3U - ADC 12-bit resolution Up to 2 Million Samples Per Second 4 inputs can be sampled within 1.5µs Down to 2.5µs conversion time with 8-bit resolution Down to 3.5µs conversion time with 12-bit resolution Differential and Single-ended input Up to 16 single-ended inputs 16x4 differential inputs without gain 16x4 differential input with gain

ATXMega64A3U - ADC Built in differential gain stage 1/2x, 1x, 2x, 4x, 8x, 16x, 32x and 64x gain options Single, continues and scan conversion options 4 internal inputs Internal Temperature sensor DAC Output VCC voltage divided by 10 1.1V Bandgap voltage

ATXMega64A3U - ADC 4 conversion channels with individual input control and result registers Enable 4 parallel configurations and results Internal and external reference options Compare function for accurate monitoring of user defined thresholds Optional event triggered conversion for accurate timing Optional DMA transfer of conversion results

ATXMega64A3U - ADC

ATXMega64A3U - DAC 12-bit resolution Up to 1Million Samples Per Second conversion rate per DAC channel Built in calibration that removes Offset error Gain error Multiple conversion trigger sources On new available data Events from the Event System

ATXMega64A3U - DAC High drive capabilities and support for Resistive load Capacitive load Combined resistive and capacitive load Internal and external reference options DAC output available as input to Analog Comparator and ADC Low Power mode with reduced drive strength Optional DMA transfer of data

ATXMega64A3U - DAC

ATXMega64A3U - USB One USB 2.0 full speed (12Mbps) and low speed (1.5Mbps) device compliant interface Integrated on-chip USB transceiver, no external components needed 16 endpoint addresses with full endpoint flexibility for up to 32 endpoints One input endpoint per endpoint address One output endpoint per endpoint address Built in Direct Memory Access (DMA) to internal SRAM for Endpoint configurations Read and write of endpoint data

Wireless AVR

Wireless AVR Single Chip solution Currently only one single chip AVR available: ATMega128RFA1 IEEE 802.15.4 compliant (ZigBee) @ 2.4GHz Combination of ATMega core and RF transceiver

ATMega128RFA1 Features: supply voltage range down to 1.8V fast wake-up time from SLEEP mode to active modes variety of power-down modes, such as a wakeon-radio feature help keeping RF transceiver active while the microcontroller sleeps (higher efficiency!)

ATMega128RFA1 Features: Max clock 16MHz 2-cycle on chip multiplier 10-bit ADC, analog comparator 2xUSART, TWI, SPI RTC Case: 64-pin QFN

ATMega128RFA1

Introduction - PIC

Introduction

Introduction Source: [1]

Introduction - Architecture Main features: 8-bit RISC processors with modified Harvard architecture (instructions and data on separate busses) Two-stage pipelining Single word instructions

PIC10

PIC10

PIC10 Main features (1/2): Very simplified RISC processors Very few instructions (~30) Low clock rate, Difficulties in assembler programming Most instructions executed in one instruction clock cycle (1/4 clock rate) Clock range up to 4MHz

PIC10 Main features (2/2): Very tiny amount of program memory (< 750B) Almost no SRAM (< 24B) Small and very small cases (SOT23-6, DFN8, PDIP8) Very low power consumption (NanoWatt) Low voltage supply from 2V to 5V

PIC10F200 block diagram Source: [2]

PIC10F200 pinout Source: [2]

PIC10F200 instructions (33!)

PIC10F200 instructions (33!)

PIC12

PIC12 Main features (1/2): Simplified RISC processors Few instructions (>30) Decent clock rate, Difficulties in assembler programming Most instructions executed in one instruction clock cycle (1/4 clock rate) Clock range up to 20MHz

PIC12 Main features (2/2): Small amount of program memory (< 3750B) Almost no SRAM (< 128B) Small and very small cases (MSOP8, DFN8, PDIP8) Very low power consumption (NanoWatt) Low voltage supply from 2V to 5V

PIC12F615 block diagram Source: [3]

PIC16

PIC16

PIC16 Main features (1/3): RISC processors Rich family of processors More assembler instructions than in PIC10 and PIC12 Most instructions executed in one instruction clock cycle (1/4 clock rate) Good performance - clock range up to 32MHz

PIC16 Main features (2/3): More than 75 products @ 20 MHz Up to 16kB of program memory Up to1024b of SRAM EEPROM present (but not in all devices) Low power consumption (NanoWatt) Low voltage supply from 1.8V to 5V

PIC16 Main features (3/3): 10-bit ADC Analog comparator UART, USB, SPI USB Timers (PWM) Cap Sense LCD Drivers

PIC18

PIC18

PIC18 Main features : Efficient RISC processors Good performance up to 16MIPS Clock range up to 64MHz Low power consumption (nanowatt) Large number of different peripherals

PIC18 Main features : >200 devices: 18-100 pins Up to 128 KB Flash, 4 KB RAM, 1KB EEPROM Advanced Peripherals: -USB, Ethernet, CAN - 10 & 12-bit ADCs - Charge Time Measurement Unit - Integrated LCD Drivers - Peripheral Pin Select

Source: [5] PIC18

PIC18F2685 multiplier PIC18 processors have 8x8 hardware multipliers larger efficiency at the same cost Source: [5]

PIC18F47J53 nanowatt XLP Main features : Deep Sleep mode: CPU off, Peripherals off, Currents Down to 13 na and 850 na with RTCC Able to wake-up on external triggers, programmable WDT or RTCC alarm Sleep mode: CPU off, Peripherals off, SRAM on, Fast Wake-up, Currents Down to 105 na Typical Idle: CPU off, Peripherals on, Currents Down to 2.3 ua Typical Run: CPU on, Peripherals on, Currents Down to 6.2 ua Typical Watchdog Timer: 0.8 µa, 2V Typical

PIC18F47J53 PMP PMP Parallel Master Port 8-bit, highly configurable, parallel I/O module designed to communicate with a wide variety of parallel devices: communication peripherals, LCDs, external memory devices and microcontrollers

PIC18F47J53 PMP Main features : Up to 16 bits of addressing when using data/address multiplexing Up to 8 Programmable Address Lines One Chip Select Line Programmable Strobe Options: Individual Read and Write Strobes or; Read/Write Strobe with Enable Strobe Address Auto-Increment/Auto-Decrement Programmable Polarity on Control Signals Programmable Wait States Selectable Input Voltage Levels

PIC18F47J53 PMP

PIC18F47J53 RTCC RTCC Real Time Clock and Callendar Time: hours, minutes and seconds 24-hour format (military time) Calendar: weekday, date, month and year Alarm configurable Year range: 2000 to 2099 Leap year correction BCD format for compact firmware Optimized for low-power operation User calibration with auto-adjust Calibration range: +/-2.64 seconds error per month Requirements: external 32.768 khz clock crystal

Thank you for your attention

References [1] www.atmel.com [2] ATTiny10 documentation; www.atmel.com [3] ATMega64 documentation; www.atmel.com [4] ATxMega64A1 documentation; www.atmel.com [5] www.microchip.com [6] PIC10F200 documentation; www.microchip.com [7] PIC12F615 documentation; www.microchip.com [8] PIC16F1934 documentation; www.microchip.com [9] PIC18F2685 documentation; www.microchip.com