Microcontroller. Microcontroller systems Lec 1 Introduction to Microcontrollers. Microcontroller (2) Microcontroller (2)
|
|
- Gerard King
- 6 years ago
- Views:
Transcription
1 TKT-3500 Microcontroller systems Lec 1 Introduction to Microcontrollers Erno Salminen Institute of Digital and Computer Systems Tampere University of Technology Fall 2008 Microcontroller Merriam-Webster dictionary: microcontroller [\mī-krō\\-kən-trō-lər\ ] Function: noun, Date: 1971 a microprocessor that controls some or all of the functions of an electronic device (as a home appliance) or system micro - very small controller - one that controls or has power or authority to control control - to exercise restraining or directing influence over #2/52 Microcontroller (2) Microcontrollers are used in automatically controlled products and devices such as automobile engine control systems, remote controls, office machines, appliances, power tools, and toys i.e. in embedded systems Microcontroller chip includes, for example an integrated microprocessor memories (RAM, Flash, EEPROM etc.) input and output peripherals timers, event counters, PWM generators etc. clock generator many include analog-to-digital converters in-circuit programming and debugging support A PIC 18F8720 microcontroller in an 80-pin TQFP package. Microcontroller (2) It emphasizes high integration, in contrast to a microprocessor which only contains a CPU (and cache) functional computer system-on-a-chip Difference between uproc and ukontr is blur Modest processing capability Adequate for simple control applications Usually not meant for heavy number crunching Low power consumption Cheap unit price, high volumes Programmable devices #3/52 #4/52
2 Where are the processors [Tennenhouse00] Embedded systems (1) [Tennenhouse, D Proactive computing. Commun. ACM 43, 5 (May. 2000), 43-50] Interactive 2% denotes PCs and servers Portable devices (cell phones etc) have spread after 2000 Application specific electronic sub-system used in a larger system such as an appliance, an instrument or a vehicle Not User-Programmable System needs to implement only a limited function whose characteristics are known at design time The design can take advantage of the specification s characteristics in ways that general-purpose computing systems cannot Targeting certain performance level instead of maximum Based on both hardwired and programmable components e.g. CPU, DSP, custom HW #5/52 #6/52 Embedded systems (2) Hardware/Software co-design required Resemble distributed systems multiple tasks are running on multiple processing elements (PE) interprocess communication and synchronization critical Are subject to external timing constraints Hard real-time missed deadlines are fatal e.g. ABS brakes, safety system of nuclear plant Soft real-time missed deadlines cause degraded quality or inconvenience e.g. video frames are dropped Embedded systems (3) Reactive Real-Time Systems Continuous interaction with external environment Ideally never terminate while (1) { read the sensors control the actuators sleep() } Where would execution go after main()? Fig: [Pinello, TVLSI08] #7/52 #8/52
3 car digital camera Examples of embedded systems network router asd robot elevator mobile phone PDA printer microwave oven game console medical equipment harvester washing machine Stored program concept Program s instructions (control statements) are stored in memory In contrast to e.g. ASIC, in which the control is hard-wired during manufacturing CPU repeats fetch-execute cycle for every instruction Originates from Turing machine (1936) that manipulates data based on the instructions and state of the machine The behavior can be programmed An universal machine it can simulate the behavior of any other machine Theoretical concept that assumes infinite memory capacity #9/52 Figures from Wikipedia factory automation #10/52 Memory types Every microprocessor needs some memory May be internal (on the same chip), external, or combination 1. Instruction memory Stores the program s inctructions Non-volatile keeps the information when powered off mask-programmed read-only memory (ROM) (electronically) erasable programmable ROM (EEPROM/EPROM) Flash memory 2. Data memory Stores the program s variables and status Most parts volatile contents lost when powered off static random access memory (SRAM), dynamic RAM (DRAM) Some parts may be non-volatile EEPROM, Flash, (in principle also hard-disk) Memories (2) Memory type affects cost, speed, area, and power consumption notably E.g. SRAM is expensive, fast, area- and power consuming technology The program may be copied from non-volatile mem to faster RAM during initalization The same RAM may contain both program and data sections as well (classical von Neumann architecture) Whereas Harvard architecture separates program and data address spaces #11/52 #12/52
4 Microprocessor Programming A program is a set of instructions written in a specific sequence for a processor to accomplish specified tasks An instruction is defined as a simple task (such as addition) performed by the microprocessor To the microprocessor, instructions must be supplied in binary, i.e., as machine language Instruction-set is processor-specific (PIC, x86, MIPS ) Assembly language is a symbolic language which represents machine-language instructions with short human-readable mnemonics For example, in PIC assembler a null operation or no operation is represented by the mnemonic NOP One-to-one correspondence between the assembly language mnemonics and the machine code instructions An assembler is a software tool that converts assembler source programs into machine language object files Microprocessor Programming(2) Machine and assembly languages are referred to as low-level languages Generally faster and more compact than higher-level language programs Not portable to other processors, tedious to write High-level languages are machine-independent E.g. C/C++, Java Program s source codes are translated by compilers or interpreters into machine language The translated code is called object code Easier to debug and port design-time run-time.c,.h compiler.asm assembler.hex CPU+mem+etc.java interpreter #13/52 #14/52 #15/52 Classification of microprocessors Number of bits 4,8,16,32,64... Number of instructions RISC (Reduced instruction-set computer) CISC (Complex instruction-set computer) ASIP (Application-specific instruction-set processor) Memory space von Neumann same for instr. and data Harvard separate addr spaces Data path where are the operands Stack Accumulator Register-memory Register-register (so called load-store) Integrated peripherals, pipelining, num of ALUs... #16/52 CPU s s instruction-set set architecture (ISA) instr type 1 instr type 2 instr type 3... Defines the supported machine-instructions Defines size of instruction word and its fields Operation codes (ADD, SUB, JMP...) Parameters (src0, src0, dst) Whther params are in registers or in memory Addressing types (direct, indirect...) add/sub/ AND/XO R/OR... add/sub/ AND/XO R/OR... src0 src1 dst src0 (also dst) immediate add reg0, reg5, reg3 i.e. reg3 reg0 + reg5 and reg0, 0x500 i.e. reg3 reg0 & 0x500 jmp address goto Nevada i.e. PC address of label Nevada 0
5 Micro-architecture Defines the HW resources that implement ISA arithmetic-logic unit (ALU) performs the actual computation control logic fetches the instructions, decodes them and passes to ALU registers store temporary data (optional) internal memories store instructions and/or data memory and IO buses provide connection to outisde world Peripherals perform supplementary tasks There may be several micro-architectures for the same ISA microcontroller CPU peripherals instr. fetch instr. decode pipeline ctrl oscillator power ctrl data mem instr. mem register file timer analog IO ext. mem IO multiplier ALU watchdog digital IO Clock cycle and Instruction cycle Machine operations are sequenced by clock signal Provided by external or internal oscillator (RC circuit, INVloop, quartz crystal) Oscillator signal may multiplied/divided by constant (e.g. 10 MHZ * 4 = 40 MHZ) Execution of machine instruction may take more one clock cycle 4 clock cycles/instr. in PIC 40 MHz clock yields approx. 10 MIPS Some instructions take over 4 cycles, e.g. operations affecting program counter (PC) Some CPUs pipeline the execution of instructions E.g. instr takes 4 cycles but the next finishes after 1 cycle #17/52 #18/52 Program flow CPU executes instructions step by step Instructions are executed consecutively (addresses 0x0, 0x2, 0x4) until Branch occurs if-then-else, function call, goto Exception occurs interrupt, div-by-zero The address of the next instruction is stored into register program counter (PC) Interrupts are function calls made from HW Timer overflow (1ms passed) Peripheral device (serial IO transmit completed) External pin (from button) Extremely useful concept Program flow (2) After reset, PC gets the value of reset vector Usually rst vec points to some sort of (ccompiler-generated) initialization function that will call the user s main function Call graph shows which functions are called and their order (nesting) Interrupt service routine (ISR) may be called anywhere After that execution continues from the interrupted point 0x0 rst vec init(){... main()} isr() {... return from int} main(){... foo()... while(1){} foo() {... bar()... return bar(){... return #19/52 #20/52
6 Example microcontrollers Atmel AVR 8- ja 32-bit RISC families Over 80 models Texas Instruments (TI) MSP430 low power TMS320 high performance TMS470 ARM7-based Renesas SuperH High speed / performance MR32 32-bit H8 low cost ST microelectronics And many others... PIC microcontrollers Designed and sold by Microchip Corporation PIC = initially Programmable Interface Controller then Programmable Intelligent Computer Many configurations of 8-, 16- and 32- microcontrollers 8-bit volume prices ~2$-12$ Minimalist basic ideology #21/52 #22/52 8-bit PIC Families Images: PIC18 family 8-bit stands for width of data path PIC10 (and some PIC12 and PIC16) Baseline architecture, 12-bit program word Bytes of SRAM 256-2K Bytes of flash program memory 4-32 IO-Pins, 2 level deep stack PIC12 and PIC16 Midrange architecture, 14-bit program word Bytes of SRAM 1-8 kbytes of flash program memory 6-53 IO-pins, 8 level deep stack High-tech 8-bit architecture, program word 16-bit 256 bytes 4kBytes of SRAM kbytes of program memory GPIO-pins Plenty of peripherals, for example: USB, Ethernet, LCD,CAN 75 instuctions (some models have 83) 31 level deep stack #23/ :09 Copyright Tampere University of Technology #24/ :09 Copyright Tampere University of Technology
7 PIC18LF8722 Used on this course Symbol L stands for Low Power - Operating voltage V, normally V F for Flash memory (?) Accumulator machine Accumulator= special register for storing results Makes assembly and high level compiler writing complicated W-register= ALU s working register (WREG) Many operations can be done only in W-register PIC vs. Pentium roughly speaking PIC 8-bit 1-50 MHz 5 mw pins Harvard arch MIPS Few instructions Accumulator 1 instr/4 cycles no pipeline or very short Pentium4 32-bit, 64-bit 2-4 GHz 150 W 150 ~1000 pins von Neumann arch MIPS Zillions of instructions Register bank, Superscalar/EPIC Deeply Pipelined #25/ :09 Copyright Tampere University of Technology #26/52 TUT Wireless Sensor Network (TUTWSN) Platform for exercises Multisensor sensor network node Very large research project in TUT/DCS since 2002 Sensor networks are emerging technology where the network consists of nodes that measure ( sense ) the environment communicate autonomously and wireleslly self-organizing topology may control actuators Special courses TKT-2300 and TKT-2456 #27/52 #28/52
8 TUTWSN Nodes TUTWSN Multisensor node Multisensor node Includes almost all sensors Used in TKT-3500 Other nodes Pipe Node Long range pipe node Badge node Wrist node Ethernet gateway daci/ra_tutwsn_prototypes.html #29/52 #30/52 TUTWSN Multisensor node TUTWSN Multisensor node Microcontroller: PIC18LF kbyte external SRAM Sensors and modules GPS (Global positioning system) Radio Temperature Humidity Accelerometer Compass Luminance #31/52 #32/52
9 TUTWSN Multisensor node Add-on modules (not connected) PIR (passive infrared, motion detector) VGA Camera Microphone Interface 1 Pushbutton, 1 led Input/Output RS-232 serial port MAX3226E is used to convert voltage levels SPI (Serial peripheral interface), I2C 4 input/output pins ADC (analog-to-digital converter) Power control Possible power sources a) DC power supply b) 2 AA Batteries c) Solar panel All sensors can be turned off by uc Voltage after regulation: 3 V/2 V and 2,7 V 2.7 V is used for GPS, 3V/2V (software selectable) for other devices #33/52 #34/52 PIC18LF bit RISC microcontroller with Harvard architecture High End 8-bit microcontroller Accumulator Assembly programming complicated 128 kb program memory, 4 kb SRAM, 1kB EEPROM Operating voltage: V Max. Power dissipation 1 W Min. Power dissipation (@1 Mhz): 3 mw Compare: Normal red led 2V and max 20 ma Image: PIC18LF8722 Plenty of peripherals SPI, i2c, USART 16 channel 10-bit AD-converter 5 timers and capture/compare/pwm module HW 8-bit multiplier Watchdog, Brown-out Max. Frequency: 40 Mhz Many power management modes Clock sources on platform: Low frequency external clock Internal clock #35/52 #36/52
10 GPS: itrax03-s+geohelix s+geohelix S Fasttrax itrax03-s Includes lots of functionality: only few extra components needed Communication: USART with NMEA (National Marine Electronics Association) messages Operating voltage: V Max power dissipation 500 mw Sarantel GeoHelix-S Active GPS antenna Operating voltage: V Typical current 15 ma Radio: nrf24l01 Operating voltage: V Frequency: GHz Communication: SPI Fully automated packet handling Current consumption: Power down 900 na Standby 22 ua or 320 ua (Two standby modes) Transmission < 11.3 ma, Reception < 12.3 ma Range about 15 meters indoors Image: #37/52 #38/52 Temperature Sensor Maxim DS620 Operating voltage: V Communication: i2c Selectable resolution: LSB 0.5 C, 0.25 C, C or C Conversion time depends on accuracy 10 bit 25 ms, 13 bit 200 ms Continuos conversion and one shot modes Image: Humidity: Sensirion SHT1x Humidity AND temperature sensor Operating voltage: V Communication: almost i2c Not compatible with standard i2c interface Conversion times: 11 ms (8 bit) 210 ms (14 bit) Accuracy: Humidity 2 %, temperature 0.3 K Current consumption: Sleep 0,3 ua, measuring 550 ua #39/52 #40/52
11 Accelerometer: VTI SCA3000 3D accelerometer Operating voltage: V Communication: SPI Modes: Free fall detection Motion detection Image: Normal mode Current consumption 120 ua in active mode Compass: Hitachi HM55B Operating voltage: V Communication: SPI Transmission length 4 bits (normal SPI 8 bits) Current consumption: Sleep 1 ua, Measuring 9 ma Measuring time 30 ms Resolution: 11 bits Measures magnetic field strength Min. value -180 ut max. 180 ut Image: #41/52 #42/52 Luminance: Agilent APDS-9002 Photosensor: Luminance is relative to current Operating voltage: V Connected to uc s analog-to-digital converter Resolution equals AD-converter s resolution 10 bit in PIC18LF8722 Sample rate = ADC s sample rate In PIC user selectable, but depends on clock frequency. About 1 Mhz is theoretical maximum PIC s AD-converter operates also in idle mode Completion of conversion can cause an interrupt Image: PIR MS300 PIR = Passive Infra Red Connected to uc s ADC, but needs an operating voltage Used as motion detector Operating voltage: 2.6 V 5.5 V Current consumption: ~35 ua #43/52 #44/52
12 VGA C328 Max. 640x480 pixels, 16 bit Frames/s depends on image quality JPEG still picture with best quality 0.75 fps Camera + compression module + EEPROM No extra components needed Connection: RS-232 JPEG picture format Operating voltage: V Operation current: 60 ma Suspend current: 100 ua Image: Microphone AOM-6746P 6746P-R Capacitor microphone Omnidirectional Picks up sound evenly from all directions Connection: ADC Image: PIC18LF8722 has 16 ADC channels, but one converter Image: #45/52 #46/52 Programming Microchip ICD2 In-Circuit Debugger Includes 5V Power supply Image: Not used with TUTWSN nodes due to lower voltages -> External voltage source needed Works fine with MPLAB IDE At first Make sure that simple things work before even trying more complex ones HUOM! OBS! Muy importante! #47/52 #48/52
13 Two great truths in design 1.If it's not tested, it's broken 2.If it's not simple, it's broken [M. Keating, ISQED, 2006] Conclusions Microprocessors/controllers are used practically everywhere High volume necessitates cheap price per device This allows only modest performance Controllers integrate several peripherals into same chip with processor In embedded systems, designers target certain performace level, not for max. perf. System is optimized (made maximally cheap) while still meeting the requirements Programmability allows faster development and upgrades also after shipping Connectivity of components is the key in many projects Exercise platform integrates many sensors. Extremely good for educational purposes Portability and shorter dev.time favor using high-level languages (C/C++) instead of assembly #49/52 #50/52
Microcontroller systems Lec 2 PIC18LF8722 Microcontroller s s core
TKT-3500 Microcontroller systems Lec 2 PIC18LF8722 Microcontroller s s core Erno Salminen Copyright notice Some figures by Robert Reese, from supplementary CD of the course book from PIC18F8722 Family
More informationTKT-3500 Microcontroller systems
TKT-3500 Microcontroller systems Lec 2 PIC18LF8722 Microcontroller s core Teemu Laukkarinen Department of Computer Systems Tampere University of Technology Fall 2011 Copyright Tampere University of Technology
More informationBasic Components of Digital Computer
Digital Integrated Circuits & Microcontrollers Sl. Mihnea UDREA, mihnea@comm.pub.ro Conf. Mihai i STANCIU, ms@elcom.pub.ro 1 Basic Components of Digital Computer CPU (Central Processing Unit) Control and
More informationMicroProcessor. MicroProcessor. MicroProcessor. MicroProcessor
1 2 A microprocessor is a single, very-large-scale-integration (VLSI) chip that contains many digital circuits that perform arithmetic, logic, communication, and control functions. When a microprocessor
More informationMT2 Introduction Embedded Systems. MT2.1 Mechatronic systems
MT2 Introduction Embedded Systems MT2.1 Mechatronic systems Mechatronics is the synergistic integration of mechanical engineering, with electronics and intelligent computer control in the design and manufacturing
More informationEmbedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad
Embedded Systems Lab Lab 1 Introduction to Microcontrollers Eng. Dalia A. Awad Objectives To be familiar with microcontrollers, PIC18F4550 microcontroller. Tools PIC18F4550 Microcontroller, MPLAB software,
More informationAVR Microcontrollers Architecture
ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,
More informationELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers. Eng. Salma Hesham
ELCT708 MicroLab Session #1 Introduction to Embedded Systems and Microcontrollers What is common between these systems? What is common between these systems? Each consists of an internal smart computer
More informationCOMP2121: Microprocessors and Interfacing. Introduction to Microprocessors
COMP2121: Microprocessors and Interfacing Introduction to Microprocessors http://www.cse.unsw.edu.au/~cs2121 Lecturer: Hui Wu Session 2, 2017 1 1 Contents Processor architectures Bus Memory hierarchy 2
More informationComputer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers
Lecture (4) Computer Hardware Requirements for ERTSs: Microprocessors & Microcontrollers Prof. Kasim M. Al-Aubidy Philadelphia University-Jordan DERTS-MSc, 2015 Prof. Kasim Al-Aubidy 1 Lecture Outline:
More informationAli Karimpour Associate Professor Ferdowsi University of Mashhad
AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar
More informationARDUINO MEGA INTRODUCTION
ARDUINO MEGA INTRODUCTION The Arduino MEGA 2560 is designed for projects that require more I/O llines, more sketch memory and more RAM. With 54 digital I/O pins, 16 analog inputs so it is suitable for
More informationFig 1. Block diagram of a microcomputer
Computer: A computer is a multipurpose programmable machine that reads binary instructions from its memory, accepts binary data as input,processes the data according to those instructions and provides
More informationEmbedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept.
Embedded Systems Design (630414) Lecture 1 Introduction to Embedded Systems Prof. Kasim M. Al-Aubidy Computer Eng. Dept. Definition of an E.S. It is a system whose principal function is not computational,
More informationTEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!
Summer Training 2016 Advance Embedded Systems Fast track of AVR and detailed working on STM32 ARM Processor with RTOS- Real Time Operating Systems Covering 1. Hands on Topics and Sessions Covered in Summer
More informationMicrocontrollers. Microcontroller
Microcontrollers Microcontroller A microprocessor on a single integrated circuit intended to operate as an embedded system. As well as a CPU, a microcontroller typically includes small amounts of RAM and
More informationAli Karimpour Associate Professor Ferdowsi University of Mashhad
AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Main reference: Christopher T. Kilian, (2001), Modern Control Technology: Components and Systems Publisher: Delmar
More informationMICROPROCESSOR BASED SYSTEM DESIGN
MICROPROCESSOR BASED SYSTEM DESIGN Lecture 5 Xmega 128 B1: Architecture MUHAMMAD AMIR YOUSAF VON NEUMAN ARCHITECTURE CPU Memory Execution unit ALU Registers Both data and instructions at the same system
More informationLecture Objectives. Introduction to Computing Chapter 0. Topics. Numbering Systems 04/09/2017
Lecture Objectives Introduction to Computing Chapter The AVR microcontroller and embedded systems using assembly and c Students should be able to: Convert between base and. Explain the difference between
More informationFIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)
(Revision-10) FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100) PART-A (Maximum marks : 10) I. Answer all
More informationATmega128. Introduction
ATmega128 Introduction AVR Microcontroller 8-bit microcontroller released in 1997 by Atmel which was founded in 1984. The AVR architecture was conceived by two students (Alf-Egil Bogen, Vergard-Wollen)
More informationLecture 1. Course Overview and The 8051 Architecture
Lecture 1 Course Overview and The 8051 Architecture MCUniversity Program Lectures 8051 architecture t System overview of C8051F020 8051 instruction set System clock, crossbar and GPIO Assembler directives
More informationVLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab
AVR Training Board-I V., Konkuk Univ. Yong Beom Cho ybcho@konkuk.ac.kr What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor
More informationAutomation Engineers AB Pvt Ltd, NOIDA Job-Oriented Course on Embedded Microcontrollers & Related Software Stack
Automation Engineers AB Pvt Ltd, NOIDA Job-Oriented Course on Embedded Microcontrollers & Related Software Stack Course Syllabus: Chapter# Topic Covered Duration MODULE 1 INTRO TO EMBEDDED SYSTEMS 2-1
More informationEE 308: Microcontrollers
EE 308: Microcontrollers AVR Architecture Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA January 23, 2018 Aly El-Osery (NMT) EE 308:
More informationChapter 1 Microprocessor architecture ECE 3120 Dr. Mohamed Mahmoud http://iweb.tntech.edu/mmahmoud/ mmahmoud@tntech.edu Outline 1.1 Computer hardware organization 1.1.1 Number System 1.1.2 Computer hardware
More informationPIC Microcontroller Introduction
PIC Microcontroller Introduction The real name of this microcontroller is PICmicro (Peripheral Interface Controller), but it is better known as PIC. Its first ancestor was designed in 1975 by General Instruments.
More informationMidrange 8b PIC Microcontrollers. ECE Senior Design 14 February 2017
Midrange 8b PIC Microcontrollers ECE Senior Design 14 February 2017 Harvard vs. Von Neumann Harvard Architecture Program Memory 14-bit Bus CPU 8-bit Bus Data Memory Harvard architecture Separate busses
More informationMicroprocessors And Microcontroller
Microprocessors And Microcontroller Semester : 4 th, 5 th (TL, ES) Course Code : ES256, ES313 By: Dr. Attiya Baqai Assistant Professor, Department of Electronics, MUET. Internal block diagram of CPU Internal
More informationAVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.
AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful
More informationIntroduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.
Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform www.sierraradio.net www.hamstack.com Topics Introduction Hardware options Software development HamStack project
More informationOverview of Microcontroller and Embedded Systems
UNIT-III Overview of Microcontroller and Embedded Systems Embedded Hardware and Various Building Blocks: The basic hardware components of an embedded system shown in a block diagram in below figure. These
More informationLecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee
Lecture (01) Introducing Embedded Systems and the Microcontrollers By: Dr. Ahmed ElShafee ١ Agenda What is microprocessor system? What is Microcontroller/embedded system? Definition of Embedded Systems
More informationFigure 1.1: Some embedded device. In this course we shall learn microcontroller and FPGA based embedded system.
Course Code: EEE 4846 International Islamic University Chittagong (IIUC) Department of Electrical and Electronic Engineering (EEE) Course Title: Embedded System Sessional Exp. 1: Familiarization with necessary
More informationIntroduction to Microcontrollers
Introduction to Microcontrollers Embedded Controller Simply an embedded controller is a controller that is embedded in a greater system. One can define an embedded controller as a controller (or computer)
More informationINDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD
MODULE-1 C Programming Language Introduction to C Objectives of C Applications of C Relational and logical operators Bit wise operators The assignment statement Intermixing of data types type conversion
More informationCHAPTER 4 MARIE: An Introduction to a Simple Computer
CHAPTER 4 MARIE: An Introduction to a Simple Computer 4.1 Introduction 177 4.2 CPU Basics and Organization 177 4.2.1 The Registers 178 4.2.2 The ALU 179 4.2.3 The Control Unit 179 4.3 The Bus 179 4.4 Clocks
More informationECE 471 Embedded Systems Lecture 2
ECE 471 Embedded Systems Lecture 2 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 7 September 2018 Announcements Reminder: The class notes are posted to the website. HW#1 will
More informationArchitecture of Computers and Parallel Systems Part 6: Microcomputers
Architecture of Computers and Parallel Systems Part 6: Microcomputers Ing. Petr Olivka petr.olivka@vsb.cz Department of Computer Science FEI VSB-TUO Architecture of Computers and Parallel Systems Part
More informationIntroducing Microcontrollers System Design
Introducing Microcontrollers System Design Eng. Ahmed S. Afifi 1 What is a Microcontroller? Mini-Computer CPU (Brain) 1. Arithmetic Logic Unit (ALU) 2. Control Unit 3. Register Program/ Data Memory Peripherals
More informationAVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab
AVR Training Board-I V., Konkuk Univ. Tae Pyeong Kim What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor (CPU). A small
More informationME 515 Mechatronics. A microprocessor
ME 515 Mechatronics Microcontroller Based Control of Mechanical Systems Asanga Ratnaweera Department of Faculty of Engineering University of Peradeniya Tel: 081239 (3627) Email: asangar@pdn.ac.lk A microprocessor
More informationComputer Hardware Requirements for Real-Time Applications
Lecture (4) Computer Hardware Requirements for Real-Time Applications Prof. Kasim M. Al-Aubidy Computer Engineering Department Philadelphia University Real-Time Systems, Prof. Kasim Al-Aubidy 1 Lecture
More informationLecture 14. Ali Karimpour Associate Professor Ferdowsi University of Mashhad
Lecture 14 AUTOMATIC CONTROL SYSTEMS Ali Karimpour Associate Professor Ferdowsi University of Mashhad Lecture 4 The AVR Microcontroller Introduction to AVR CISC (Complex Instruction Set Computer) Put as
More informationINSTITUTO SUPERIOR TÉCNICO. Architectures for Embedded Computing
UNIVERSIDADE TÉCNICA DE LISBOA INSTITUTO SUPERIOR TÉCNICO Departamento de Engenharia Informática Architectures for Embedded Computing MEIC-A, MEIC-T, MERC Lecture Slides Version 3.0 - English Lecture 21
More informationMicroprocessors/Microcontrollers
Microprocessors/Microcontrollers A central processing unit (CPU) fabricated on one or more chips, containing the basic arithmetic, logic, and control elements of a computer that are required for processing
More informationNetwork Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,
Network Embedded Systems Sensor Networks Fall 2013 Hardware Marcus Chang, mchang@cs.jhu.edu 1 Embedded Systems Designed to do one or a few dedicated and/or specific functions Embedded as part of a complete
More informationELC4438: Embedded System Design Embedded Processor
ELC4438: Embedded System Design Embedded Processor Liang Dong Electrical and Computer Engineering Baylor University 1. Processor Architecture General PC Von Neumann Architecture a.k.a. Princeton Architecture
More informationZ8 Encore! XP F1680 Series 8-Bit Flash Solution with Extended Peripherals
Embedded Flash Solutions Z8 Encore! XP F1680 Series High-performance 8-bit Flash MCU F1680 advantage low power - 1.8 V highly integrated peripherals flexible memory options optimized cost/performance target
More informationIn this tutorial, we will discuss the architecture, pin diagram and other key concepts of microprocessors.
About the Tutorial A microprocessor is a controlling unit of a micro-computer, fabricated on a small chip capable of performing Arithmetic Logical Unit (ALU) operations and communicating with the other
More information1 Introduction to Microcontrollers
1 Introduction to Microcontrollers EE445 - Microcontrollers and Embedded Systems Chapter 1: Introduction to Microcontro EE445 Microcontrollers and Emb and and Embedded Embedded Microcontrollers EE445 -
More informationReminder. Course project team forming deadline. Course project ideas. Friday 9/8 11:59pm You will be randomly assigned to a team after the deadline
Reminder Course project team forming deadline Friday 9/8 11:59pm You will be randomly assigned to a team after the deadline Course project ideas If you have difficulty in finding team mates, send your
More informationEmbedded Systems. PIC16F84A Internal Architecture. Eng. Anis Nazer First Semester
Embedded Systems PIC16F84A Internal Architecture Eng. Anis Nazer First Semester 2017-2018 Review Computer system basic components? CPU? Memory? I/O? buses? Instruction? Program? Instruction set? CISC,
More informationAVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director
AVR XMEGA TM A New Reference for 8/16-bit Microcontrollers Ingar Fredriksen AVR Product Marketing Director Kristian Saether AVR Product Marketing Manager Atmel AVR Success Through Innovation First Flash
More informationEC EMBEDDED AND REAL TIME SYSTEMS
EC6703 - EMBEDDED AND REAL TIME SYSTEMS Unit I -I INTRODUCTION TO EMBEDDED COMPUTING Part-A (2 Marks) 1. What is an embedded system? An embedded system employs a combination of hardware & software (a computational
More informationModule 1. Introduction. Version 2 EE IIT, Kharagpur 1
Module 1 Introduction Version 2 EE IIT, Kharagpur 1 Lesson 4 Embedded Systems Components Part II Version 2 EE IIT, Kharagpur 2 Overview on Components Instructional Objectives After going through this lesson
More informationEMBEDDED SYSTEM BASICS AND APPLICATION
EMBEDDED SYSTEM BASICS AND APPLICATION Dr.Syed Ajmal IIT- Robotics TOPICS TO BE DISCUSSED System Embedded System Components Classifications Processors Other Hardware Software Applications 2 INTRODUCTION
More informationPIC32&Overview& E155&
PIC32&Overview& E155& Outline PIC 32 Architecture MIPS M4K Core PIC 32 Peripherals PIC 32 Basic Operations Clock 2 Microcontroller Approximately $16B of microcontrollers were sold in 2011, and the market
More informationEE 3170 Microcontroller Applications
EE 3170 Microcontroller Applications Lecture 4 : Processors, Computers, and Controllers - 1.2 (reading assignment), 1.3-1.5 Based on slides for ECE3170 by Profs. Kieckhafer, Davis, Tan, and Cischke Outline
More informationECE 1160/2160 Embedded Systems Design. Midterm Review. Wei Gao. ECE 1160/2160 Embedded Systems Design
ECE 1160/2160 Embedded Systems Design Midterm Review Wei Gao ECE 1160/2160 Embedded Systems Design 1 Midterm Exam When: next Monday (10/16) 4:30-5:45pm Where: Benedum G26 15% of your final grade What about:
More informationEE 354 Fall 2015 Lecture 1 Architecture and Introduction
EE 354 Fall 2015 Lecture 1 Architecture and Introduction Note: Much of these notes are taken from the book: The definitive Guide to ARM Cortex M3 and Cortex M4 Processors by Joseph Yiu, third edition,
More informationELEG3923 Microprocessor Ch.0 & Ch.1 Introduction to Microcontroller
Department of Electrical Engineering University of Arkansas ELEG3923 Microprocessor Ch. & Ch. Introduction to Microcontroller Dr. Jingxian Wu wuj@uark.edu OUTLINE 2 What is microcontroller? (Ch..) 85 Microcontroller
More informationIntroducing: New Low-Cost & Low Pin Count PIC Microcontrollers for the 8-, 16- & 32-bit Markets
Introducing: New Low-Cost & Low Pin Count PIC Microcontrollers for the 8-, 16- & 32-bit Markets PIC MCU and dspic DSC Family Portfolio 2 New Low Cost, Low Pin-Count 8-, 16-, 32-bit Offerings 3 What Are
More informationCN310 Microprocessor Systems Design
CN310 Microprocessor Systems Design Micro Architecture Nawin Somyat Department of Electrical and Computer Engineering Thammasat University 28 August 2018 Outline Course Contents 1 Introduction 2 Simple
More informationLecture (02) PIC16F84 (I)
Lecture (02) PIC16F84 (I) By: Dr. Ahmed ElShafee ١ Review of Memory Technologies The PIC 16 Series PIC 16F84A The PIC 16F84A Memory The Oscillator Instruction Cycle Power up and Reset Parallel ports Technical
More informationCS 101, Mock Computer Architecture
CS 101, Mock Computer Architecture Computer organization and architecture refers to the actual hardware used to construct the computer, and the way that the hardware operates both physically and logically
More informationMicroprocessor (COM 9323)
Microprocessor (COM 9323) Lecture 1: Introduction Ahmed Elnakib, PhD Assistant Professor, Mansoura University, Egypt Feb 17 th, 2016 1 Course Syllabus* o Introduction to computer architecture o Basics
More informationClock and Fuses. Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar
Clock and Fuses Prof. Prabhat Ranjan Dhirubhai Ambani Institute of Information and Communication Technology, Gandhinagar Reference WHY YOU NEED A CLOCK SOURCE - COLIN O FLYNN avrfreaks.net http://en.wikibooks.org/wiki/atmel_avr
More informationMoodle WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics
Moodle 4 WILLINGDON COLLEGE SANGLI (B. SC.-II) Digital Electronics Advanced Microprocessors and Introduction to Microcontroller Moodle developed By Dr. S. R. Kumbhar Department of Electronics Willingdon
More informationA First Look at Microprocessors
A First Look at Microprocessors using the The General Prototype Computer (GPC) model Part 4 Ports CPU Ecosystem All CPUs need RAM, ROM, a clock source and reset circuit, and power. Power Supply 1 Vio Vcore
More informationChapter 1. Microprocessor architecture ECE Dr. Mohamed Mahmoud.
Chapter 1 Microprocessor architecture ECE 3130 Dr. Mohamed Mahmoud The slides are copyright protected. It is not permissible to use them without a permission from Dr Mahmoud http://www.cae.tntech.edu/~mmahmoud/
More informationEmbedded Systems: Hardware Components (part I) Todor Stefanov
Embedded Systems: Hardware Components (part I) Todor Stefanov Leiden Embedded Research Center Leiden Institute of Advanced Computer Science Leiden University, The Netherlands Outline Generic Embedded System
More informationDERTS Design Requirements (1): Microcontroller Architecture & Programming
Lecture (5) DERTS Design Requirements (1): Microcontroller Architecture & Programming Prof. Kasim M. Al-Aubidy Philadelphia University 1 Lecture Outline: Features of microcomputers and microcontrollers.
More informationRobotics Training Module ABLab Solutions
Robotics Training Module ABLab Solutions www.ablab.in Table of Contents Course Outline... 4 Introduction to Robotics... 4 Overview of Basic Electronic... 4 Overview of Digital Electronic... 4 Power Supply...
More informationMICROCONTROLLERS 8051
MICROCONTROLLERS 8051 PART A Unit 1: Microprocessor and Microcontroller. Introduction, Microprocessor and Microcontrollers, A Microcontroller survey. RISC & CISC CPU Architectures, Harvard & Von Neumann
More informationOverview The Microcontroller The Flex Board Expansion boards Multibus board Demo board How to: Compile demo Flash & Run Demos
RETIS Lab Real-Time Systems Laboratory FLEX Developement Environment Mauro Marinoni [nino@evidence.eu.com [ nino@evidence.eu.com] ] Overview The Microcontroller The Flex Board Expansion boards Multibus
More informationClassification of Semiconductor LSI
Classification of Semiconductor LSI 1. Logic LSI: ASIC: Application Specific LSI (you have to develop. HIGH COST!) For only mass production. ASSP: Application Specific Standard Product (you can buy. Low
More informationHello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be
Hello, and welcome to this presentation of the STM32L4 power controller. The STM32L4 s power management functions and all power modes will also be covered in this presentation. 1 Please note that this
More informationChoosing a Micro for an Embedded System Application
Choosing a Micro for an Embedded System Application Dr. Manuel Jiménez DSP Slides: Luis Francisco UPRM - Spring 2010 Outline MCU Vs. CPU Vs. DSP Selection Factors Embedded Peripherals Sample Architectures
More informationEmbedded Systems: Architecture
Embedded Systems: Architecture Jinkyu Jeong (Jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu ICE3028: Embedded Systems Design, Fall 2018, Jinkyu Jeong (jinkyu@skku.edu)
More informationPIC Microcontroller and
PIC Microcontroller and Embedded d Systems Muhammad Ali Mazidi, Rolin McKinlay and Danny Causey Eng. Husam Alzaq The Islamic Uni. Of Gaza The PIC ucs 1-1 Chapter 1: The PIC Microcontrollers: History and
More informationPIC16F87X. 28/40-pin 8-Bit CMOS FLASH Microcontrollers. Devices Included in this Data Sheet: Pin Diagram PDIP. Microcontroller Core Features:
PIC16F7X 2/40-pin -Bit CMOS FLASH Microcontrollers Devices Included in this Data Sheet: PIC16F7 PIC16F74 PIC16F76 PIC16F77 Microcontroller Core Features: High-performance RISC CPU Only 5 single word instructions
More informationComputer Organization and Microprocessors SYLLABUS CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS CHAPTER - 3 : THE MEMORY SYSTEM
i SYLLABUS UNIT - 1 CHAPTER - 1 : BASIC STRUCTURE OF COMPUTERS Computer Types, Functional Units, Basic Operational Concepts, Bus Structures, Software, Performance, Multiprocessors and Multicomputers, Historical
More informationEmbedded Systems. Octav Chipara. Thursday, September 13, 12
Embedded Systems Octav Chipara Caught between two worlds Embedded systems PC world 2 What are embedded systems? Any device that includes a computer (but you don t think of it as a computer) iphone digital
More information(Embedded) Systems Programming Overview
System Programming Issues EE 357 Unit 10a (Embedded) Systems Programming Overview Embedded systems programming g have different design requirements than general purpose computers like PC s I/O Electro-mechanical
More informationIntroduction to Embedded Systems
Stefan Kowalewski, 4. November 25 Introduction to Embedded Systems Part 2: Microcontrollers. Basics 2. Structure/elements 3. Digital I/O 4. Interrupts 5. Timers/Counters Introduction to Embedded Systems
More informationELCT 912: Advanced Embedded Systems
ELCT 912: Advanced Embedded Systems Lecture 2-3: Embedded System Hardware Dr. Mohamed Abd El Ghany, Department of Electronics and Electrical Engineering Embedded System Hardware Used for processing of
More informationEmbedded Systems. Computer Organization. Wednesday 25 November 15
Embedded Systems Computer Organization Wednesday 25 November 15 Summary Previous Class Analog-Digital Interface Today: Embedded Systems Characteristics Architectures Complete Systems Computer Organization
More informationThe MAXQ TM Family of High Performance Microcontrollers
The MAXQ TM Family of High Performance Microcontrollers Kris Ardis Senior Software Engineer Dallas Semiconductor/MAXIM http://www.maxim-ic.com/maxq ic.com/maxq Microprocessor Summit [MPS-920] Booth 826
More informationArduino Uno R3 INTRODUCTION
Arduino Uno R3 INTRODUCTION Arduino is used for building different types of electronic circuits easily using of both a physical programmable circuit board usually microcontroller and piece of code running
More informationCourse Introduction. Purpose: Objectives: Content: Learning Time:
Course Introduction Purpose: This course provides an overview of the Renesas SuperH series of 32-bit RISC processors, especially the microcontrollers in the SH-2 and SH-2A series Objectives: Learn the
More informationBasic Concepts COE 205. Computer Organization and Assembly Language Dr. Aiman El-Maleh
Basic Concepts COE 205 Computer Organization and Assembly Language Dr. Aiman El-Maleh College of Computer Sciences and Engineering King Fahd University of Petroleum and Minerals [Adapted from slides of
More informationCN310 Microprocessor Systems Design
CN310 Microprocessor Systems Design Microcontroller Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3 Microprocessor
More informationComputer Organization
INF 101 Fundamental Information Technology Computer Organization Assistant Prof. Dr. Turgay ĐBRĐKÇĐ Course slides are adapted from slides provided by Addison-Wesley Computing Fundamentals of Information
More informationMicroprocessor Systems
Microprocessor Systems Networks and Embedded Software Module 4.1.1 by Wolfgang Neff Components (1) Microprocessor System Microprocessor (CPU) Memory Peripherals Control Bus Address Bus Data Bus 2 Components(2)
More informationEmbedded Training MakeICT Workshop
Embedded Training MakeICT Workshop 1 PROJECT GOAL Come learn with use as we introduce programming skills via a project and program embedded systems with the vision of understanding the hardware and software
More information8051 Microcontroller
8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many
More informationUNIVERSITY OF MORATUWA CS2052 COMPUTER ARCHITECTURE. Time allowed: 2 Hours 10 min December 2018
Index No: UNIVERSITY OF MORATUWA Faculty of Engineering Department of Computer Science & Engineering B.Sc. Engineering 2017 Intake Semester 2 Examination CS2052 COMPUTER ARCHITECTURE Time allowed: 2 Hours
More informationb. List different system buses of 8085 microprocessor and give function of each bus. (8) Answer:
Q.2 a. Discuss and differentiate between a Microprocessor and a Microcontroller. Microprocessor is an IC which has only the CPU inside them i.e. only the processing powers such as Intel s Pentium 1,2,3,4,
More informationEE4390 Microprocessors. Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System
EE4390 Microprocessors Lessons 2, 3 68HC12 Hardware Overview, Subsystems, and memory System 1 Overview 68HC12 hardware overview Subsystems Memory System 2 68HC12 Hardware Overview "Copyright of Motorola,
More information