Module 10: System Integration & Planning. Introduction to I/O Elementary I/O in AVR MSI devices

Size: px
Start display at page:

Download "Module 10: System Integration & Planning. Introduction to I/O Elementary I/O in AVR MSI devices"

Transcription

1 Module 10: System Integration & Planning Introduction to I/O Elementary I/O in AVR MSI devices

2 Introduction

3 Introduction o There are five types of project complexity possibilities: o Purely software o Purely hardware: simple or single o Mixed software and hardware o Multi-software integration o Multi-hardware integration o As project size grows; o complexity grows - more proper planning is required o more manpower involved - more project partitioning is required

4 o Why? The Need To Integrate & Plan o To simplify development process by divide and rule. o To identify what is available and not. o Outsourcing the not available either due to o Short of related materials or reliable components or sub-systems o Short of time o Short of knowledge o Short of manpower o Add values to the original system: o The final product is more than sum of parts o Add more features to make original system - easier to use, better performance such as more accurate, capture more market segments o Be competitive o Easier to maintain and optimize the system

5 The Need To Integrate & Plan o Why? o To Understanding the System Requirement Specification (SRS). o Describe the system flows o List the needs, features, capabilities o List the restriction o List the time frame o Can be used as check list or QA/QC testing or verification

6 The Need To Integrate & Plan o In order to Understand the SRS and implementation, extra works may be needed such: o Block diagrams o Flowcharts o Timing diagrams o Circuits diagrams o User Interface o Procedures o Electronic setup or arrangement o Mechanical setup or arrangement o Animation (large project which worth the cost and efforts) o Cost correlation o Project schedule and milestone list and affect of the above

7 Project Planning

8 Project Planning o In general there are three planning: o Hardware Planning o Controller o The plant to be controlled o Human Machine Interface o Software Planning o Flowcharts o Identify the subroutines o Identify specific skills, routines or technology components needed o Documentation Planning o Actually, the most important aspect of the whole project o For contractors: important to claim payment o For engineers /programmers: important to maintain and upgrade o For researchers: important for publication and patents

9 Project Planning: Documentation o There are six things that needed in documentation planning: 1. Project description 2. Analysis Consists of words and sentences to describes the project Pictures: a picture describe a thousand words Block diagrams simplification of the pictures or description Block diagrams stage of process Flowcharts Timing diagrams Circuits diagrams Transaction diagrams

10 3. Schedule Project Planning: Documentation Tasks. To monitor progress To identify any possible missing details Can either be in days, weeks, or months Years are normally break into phases Weeks No. Tasks Problem description & analysis 2. Implementing basic components: a) LED b) 7Segment c) keypads d) Analog input 3. Main process implementation 4. Test and improvement 5. Report writing

11 3. Schedule Project Planning: Documentation Milestone. Major progress Payment claim, progress marks Any delay to achieve will become big attention Weeks No. Tasks Main process implementation * 2. Report writing submission * 4. Development 5. Verification 6. Manual & Report Manual & Training Commissioning and final report (As Built)

12 Project Planning: Hardware o There are three things that needed in hardware planning: 1. Controller Single or multi-controller Build from scratch or use on the shelf SDK (system development kit) use for fast prototyping or simulation Autonomous running or supervised Wired or wireless communication 2. The Plant to be Controlled Electronic, mechanical, chemical or hybrid Accuracy, resolution, speed, response time, distance etc. Analog or digital or hybrid 3. Human Machine Interface Mechanical user interface Electronic user interface Software user interface Hybrid Redundant system

13 Hardware Planning - Controller o Type based on performance criteria's (see module 2) o Brand based on: o Familiarity, experience o Support tools, o Design references, o To build or to buy based on o Time constraint o Availability o Stability o Support, Maintenance o Target user or market o Fixed application or programmable (upgradable) o Consumer or industrial o Education

14 Hardware Planning - Controller o Issues: o Testing procedure: in house, out field, calibration o Modeling o System: electronic, mechanical, chemical, radiation, o Size, power, o Equipment acquisition o Shipment delay: schedule, milestone, estimated time, actual time, reserve for delays o Fabrication: PCB, casing, mechanical etc. o Packaging o Interfacing circuits: input and output, digital and analog o Problems: not in stock, delivery delay, price increases, support, maintenance

15 Project Planning: Software o Why? o Long programs o Low-volume applications o Programs which are expected to undergo many changes o Applications involving more computation than Input/Output or control o Tools: compiler, assembler, simulator, hardware debugger, modeling verification o Speed requirement: almost none, real-time, user response time, machine response etc. o Memory size, feature capabilities

16 Project Planning: Software o Block Diagram o Overview of top level architecture o Identify data transaction between blocks o Flowcharts o Levels of flowchart: human understanding vs machine implementation o Design and verification (QC/QA) o Identify the subroutines/components o LED, 7Segment, keypad, ADC, o Identify specific skills, routines or technology components needed o Implementation issues: o Adjusting to actual hardware condition o Delays o Filter o Human response relative to actual data capture speed

17 There are many types of systems software, but two types are central to every computers today: An Operating System and a Compiler Computer System

18 System Software Operating Systems: A program that controls the execution of application programs and act as an interface between user s program and computer hardware. Examples: Windows, Linux, and MacOS. Compiler: A program that translates high-level language statements into assembly language statements

19 System Integration

20 System Integration o System Optimization (industrial product) o Making a system work AFAP is always the first priority o Making the system stable and reliable is always the 2nd round challenge o Price is always secondary o Increase performance or introducing new features is always productivity improvement future target

21 System Integration - Model o There are three types of software development model: 1. In House All components, sub-systems, hardware or software are built in the organization Advantage: Full control Disadvantage: easily cost over run if project is delayed 2. Partially Outsource Some of the components, sub-systems, hardware or software are built by subcontractor or purchased from third party Advantage: Save development time Disadvantage: Higher cost, possibility of obsolete, incompatibility issues (EDAS) 3. Full Outsource All components, sub-systems, hardware or software are built outside the organization Advantage: minimum overhead if economy downturn (eg. ARM, Bombardier) Disadvantage: possibility to lose control (see US and European automobile companies)

22 1. Partitioning 2. Approach System Integration - Approach different person for specific tasks to reduce errors divide and solve different team of designer and QC/QA top-down or bottom-up Experience vs theory 3. Integration Challenges Different vendors Non-standardize equipment Custom interface 4. Verification 5. Report The most difficult and boring part of all

23 Program Flow

24 Program Flow Types initialize initialize initialize Send data Send data Send data End End One pass sequence Ended sequence Infinite loop sequence PC keeps increasing may accidently hit opcode on next PC strict way to lock PC branch only needed consumes power cannot sleep

25 o Problem: There are 8 LEDs to be controlled. Each LEDs are active HIGH. Program Example : (1) From Port B pin 7 From Port B pin 0 ; Controlling LED.EQU DDRB = 0x037.EQU PORTB = 0x038.CSEG.ORG 0 ; Initialization I/O Interface ldi R16, 0xFF out DDRB, R16 ; Set PORTB as output ULANG: ldi R16, 0x0F out PORTB, R16 ; Switch ON pin B0 to B3 rjmp ULANG

26 o Problem: There are 8 LEDs to be controlled. Each LEDs are active HIGH. Write a programming that use: 1. One pass sequence 2. Ended sequence 3. Infinite loop sequence Program Example : (2) From Port B pin 7 From Port B pin 0 initialize Send data End One pass sequence ; Controlling LED.EQU DDRB = 0x037.EQU PORTB = 0x038.CSEG.ORG 0 ; Initialization I/O Interface ldi R16, 0xFF out DDRB, R16 ; Set PORTB as output ldi R16, 0x0F out PORTB, R16 ; Switch ON pin B0 to B3

27 o Problem: There are 8 LEDs to be controlled. Each LEDs are active HIGH. Write a programming that use: 1. One pass sequence 2. Ended sequence 3. Infinite loop sequence Program Example : (2) From Port B pin 7 From Port B pin 0 initialize Send data End Ended sequence Controlling LED.EQU DDRB = 0x037.EQU PORTB = 0x038.CSEG.ORG 0 ; Initialization I/O Interface ldi R16, 0xFF out DDRB, R16 ; Set PORTB as output ldi R16, 0x0F out PORTB, R16 ; Switch ON pin B0 to B3 STOP: rjmp STOP

28 o Problem: There are 8 LEDs to be controlled. Each LEDs are active HIGH. Write a programming that use: 1. One pass sequence 2. Ended sequence 3. Infinite loop sequence initialize Send data Program Example : (2) From Port B pin 7 From Port B pin 0 Controlling LED.EQU DDRB = 0x037.EQU PORTB = 0x038.CSEG.ORG 0 ; Initialization I/O Interface ldi R17, 0xFF out DDRB, R17 ; Set PORTB as output Infinite loop sequence ULANG: ldi R16, 0x0F out PORTB, R16 ; Switch ON pin B0 to B3 dec R17 ; If replace with ROL? brne ULANG STOP rjmp STOP ; Stop PC

29 Program Exercises : (1) o Problem: There are 8 LEDs and each are active HIGH. Write a programming to control LEDs pattern that: 1. Only ONE led ON at a time. 2. Start from the right, once reach maximum or left, restart from the right initialize Send data Change data Max? ROL CPI BRNE Reset data

30 Program Exercises : (2) o Problem: There are 8 LEDs and each are active HIGH. Write a programming to control LEDs pattern that has two direction based on the flowchart below. initialize Send data Change data ROL Max? Send data Change data Min? CPI BRNE ROR CPI BRNE Small changes from the previous exercise, learn: a) CPI instruction b) ROL and ROR instruction c) More branch instruction

31 Program Exercises : (2) o Problem: Same with the previous exercises (2), but now with: 1. Data indirect & data direct 2. And alternative flow chart as below initialize Counter, data constant, pointer Lookup Table Send data LPM ROL R16, Z Data + 1 Max? Reset data CPI BRNE ROR CPI BRNE Major changes from the previous exercise, learn: a) Use look up table b) CPI instruction c) Branch instruction d) Assemble directive,.db

APPENDIX D FLOWCHARTS AND PSEUDOCODE OVERVIEW

APPENDIX D FLOWCHARTS AND PSEUDOCODE OVERVIEW APPENDIX D FLOWCHARTS AND PSEUDOCODE OVERVIEW This appendix provides an introduction to writing flowcharts and pseudocode. 689 Flowcharts If you have taken any previous programming courses, you are probably

More information

Microprocessor Fundamentals. Topic 7 Timing: the Timer/Counter

Microprocessor Fundamentals. Topic 7 Timing: the Timer/Counter Microprocessor Fundamentals Topic 7 Timing: the Timer/Counter Objectives Examine the Timer/Counter Register: TCNT0 Examine the Timer/Counter Control Register: TCCR0 Write a time delay for the previous

More information

AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo

AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo 1 Lecture Overview AVR ISA AVR Instructions & Programming (I) Basic construct implementation 2 Atmel AVR 8-bit RISC architecture

More information

AVR ISA & AVR Programming (I)

AVR ISA & AVR Programming (I) AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo Week 1 1 Lecture Overview AVR ISA AVR Instructions & Programming (I) Basic construct implementation Week 1 2 1 Atmel AVR 8-bit

More information

IAS0430 MICROPROCESSOR SYSTEMS

IAS0430 MICROPROCESSOR SYSTEMS IAS0430 MICROPROCESSOR SYSTEMS Fall 2018 Arduino and assembly language Martin Jaanus U02-308 martin.jaanus@ttu.ee 620 2110, 56 91 31 93 Learning environment : http://isc.ttu.ee Materials : http://isc.ttu.ee/martin

More information

AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo

AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo AVR ISA & AVR Programming (I) Lecturer: Sri Parameswaran Notes by: Annie Guo 1 Lecture Overview AVR ISA AVR Instructions & Programming (I) Basic construct implementation 2 Atmel AVR 8-bit RISC architecture

More information

Module 8: Atmega32 Stack & Subroutine. Stack Pointer Subroutine Call function

Module 8: Atmega32 Stack & Subroutine. Stack Pointer Subroutine Call function Module 8: Atmega32 Stack & Subroutine Stack Pointer Subroutine Call function Stack Stack o Stack is a section of RAM used by the CPU to store information temporarily (i.e. data or address). o The CPU needs

More information

Team 1. Common Questions to all Teams. Team 2. Team 3. CO200-Computer Organization and Architecture - Assignment One

Team 1. Common Questions to all Teams. Team 2. Team 3. CO200-Computer Organization and Architecture - Assignment One CO200-Computer Organization and Architecture - Assignment One Note: A team may contain not more than 2 members. Format the assignment solutions in a L A TEX document. E-mail the assignment solutions PDF

More information

Introduction to Assembly language

Introduction to Assembly language Introduction to Assembly language 1 USING THE AVR MICROPROCESSOR Outline Introduction to Assembly Code The AVR Microprocessor Binary/Hex Numbers Breaking down an example microprocessor program AVR instructions

More information

Chapter 5: ASICs Vs. PLDs

Chapter 5: ASICs Vs. PLDs Chapter 5: ASICs Vs. PLDs 5.1 Introduction A general definition of the term Application Specific Integrated Circuit (ASIC) is virtually every type of chip that is designed to perform a dedicated task.

More information

Database Architectures

Database Architectures Database Architectures CPS352: Database Systems Simon Miner Gordon College Last Revised: 11/15/12 Agenda Check-in Centralized and Client-Server Models Parallelism Distributed Databases Homework 6 Check-in

More information

Database Architectures

Database Architectures Database Architectures CPS352: Database Systems Simon Miner Gordon College Last Revised: 4/15/15 Agenda Check-in Parallelism and Distributed Databases Technology Research Project Introduction to NoSQL

More information

Business Phone System Buyer s Guide

Business Phone System Buyer s Guide Business Phone System Buyer s Guide Types of Systems Available There are three primary types of of Voice over Internet Protocol (VoIP) phone systems on the market today: KSU-Less, KSU and PBX. Generally,

More information

University of Florida EEL 4744 Spring 2013 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering 28 March Jun-13 6:18 PM

University of Florida EEL 4744 Spring 2013 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering 28 March Jun-13 6:18 PM University of Florida EEL 4744 Spring 2013 Dr. Eric M. Schwartz Department of Electrical & Computer Engineering 2 March 2013 12-Jun-13 6:1 PM Page 1/14 Exam 2 Instructions: Turn off cell phones beepers

More information

Using ASIC circuits. What is ASIC. ASIC examples ASIC types and selection ASIC costs ASIC purchasing Trends in IC technologies

Using ASIC circuits. What is ASIC. ASIC examples ASIC types and selection ASIC costs ASIC purchasing Trends in IC technologies Using ASIC circuits What is this machine? ASIC examples ASIC types and selection ASIC ASIC purchasing Trends in IC technologies 9.3.2004 Turo Piila 1 9.3.2004 Turo Piila 2 What is ASIC Floorplan and layout

More information

Making EXCEL Work for YOU!

Making EXCEL Work for YOU! Tracking and analyzing numerical data is a large component of the daily activity in today s workplace. Microsoft Excel 2003 is a popular choice among individuals and companies for organizing, analyzing,

More information

Microcontrollers. Microcontroller

Microcontrollers. 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 information

Unit 2. Computer Control. PIC stands for PROGRAMMABLE INTERFACE CONTROLLER. A PIC chip takes in input signals and then controls output transducers

Unit 2. Computer Control. PIC stands for PROGRAMMABLE INTERFACE CONTROLLER. A PIC chip takes in input signals and then controls output transducers Unit 2 Computer Control PIC stands for PROGRAMMABLE INTERFACE CONTROLLER A PIC chip takes in input signals and then controls output transducers Name: Form: 2 ASIC or Application Specific Integrated Circuits

More information

Embedded Systems and Software

Embedded Systems and Software Embedded Systems and Software Potpourri & Notes on Lab 2 Artist's concept of Mars Exploration Rover. Courtesy NASA Lab 2 Notes Slide 1 The AVR Assembler We use the AVRASM2 assembler that comes with AVR

More information

COLUMBUS. Business Solutions. Cloud Unified Communications & Interoperability. Javier Pereira Director of Product Development November 2011

COLUMBUS. Business Solutions. Cloud Unified Communications & Interoperability. Javier Pereira Director of Product Development November 2011 COLUMBUS Business Solutions Cloud Unified Communications & Interoperability Javier Pereira Director of Product Development November 2011 Industry Tendencies Gartner Reported that the second priority for

More information

By: Dr. Hamed Saghaei

By: Dr. Hamed Saghaei By: Dr. Hamed Saghaei The AVR RISC Microcontroller supports powerful and efficient addressing modes for access to the program memory (Flash) and data memory (SRAM). This section describes the different

More information

Microprocessors & Interfacing

Microprocessors & Interfacing Lecture Overview Microprocessors & Interfacing Input/Output Devices Input devices Input switches Basics of switches Keypads Output devices LCD Lecturer : Dr. Annie Guo S2, 2008 COMP9032 Week8 1 S2, 2008

More information

Menu. The Cost of Debugging

Menu. The Cost of Debugging 12-Sep-18 330 PM ging >Why do we need to debug? >When do we need to debug? >How do we debug? Before/as we code After we code >Common bugs Menu Look into my... 1 The Cost of ging Increases exponentially

More information

The Embedded computing platform. Four-cycle handshake. Bus protocol. Typical bus signals. Four-cycle example. CPU bus.

The Embedded computing platform. Four-cycle handshake. Bus protocol. Typical bus signals. Four-cycle example. CPU bus. The Embedded computing platform CPU bus. Memory. I/O devices. CPU bus Connects CPU to: memory; devices. Protocol controls communication between entities. Bus protocol Determines who gets to use the bus

More information

AVR Microcontrollers Architecture

AVR 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 information

COMP2121: Microprocessors and Interfacing

COMP2121: Microprocessors and Interfacing Interfacing Lecture 9: Program Control Instructions http://www.cse.unsw.edu.au/~cs2121 Lecturer: Hui Wu Session 1, 2006 Program control instructions in AVR Stacks Overview Sample AVR assembly programs

More information

Assembly Programming in Atmel Studio 7 Step by Step Tutorial

Assembly Programming in Atmel Studio 7 Step by Step Tutorial Assembly Programming in Atmel Studio 7 Step by Step Tutorial Sepehr Naimi BIHE University 12/1/2017 Contents Introduction... 2 Downloading and Installing Atmel Studio... 3 Opening Atmel Studio... 3 Creating

More information

Logic Instructions and Programs READING

Logic Instructions and Programs READING 1 P a g e Logic Instructions and Programs READING The AVR Microcontroller and Embedded Systems using Assembly and C) by Muhammad Ali Mazidi, Sarmad Naimi, and Sepehr Naimi Chapter 5: Arithmetic, Logic

More information

Design and Simulation of Temperature Data Acquisition System based on Proteus. Jinghui Su

Design and Simulation of Temperature Data Acquisition System based on Proteus. Jinghui Su Design and Simulation of Temperature Data Acquisition System based on Proteus Jinghui Su Changchun University of Science and Technology, Changchun 130022, China Abstract. The design and simulation implementation

More information

Roundtable: Shaping the Future of z/os System Programmer Tasks Discussion

Roundtable: Shaping the Future of z/os System Programmer Tasks Discussion Roundtable: Shaping the Future of z/os System Programmer Tasks Discussion Iris Rivera, System z User Experience IBM Poughkeepsie, NY irivera@us.ibm.com Geoffrey Smith, z/os Information Strategy IBM Poughkeepsie,

More information

AGH University of Science and Technology Cracow Department of Electronics

AGH University of Science and Technology Cracow Department of Electronics AGH University of Science and Technology Cracow Department of Electronics Microprocessors laboratory Tutorial A Using Arduino UNO for laboratory tutorials Author: Paweł Russek http://www.fpga.agh.edu.pl/upt

More information

Magic 8 Ball. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name

Magic 8 Ball. Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name MPS Magic 8 Ball Lab Exercise Magic 8 Ball Student's name & ID (1): Partner's name & ID (2): Your Section number & TA's name Notes: You must work on this assignment with your partner. Hand in a printer

More information

Programming Microcontroller Assembly and C

Programming Microcontroller Assembly and C Programming Microcontroller Assembly and C Course Number CLO : 2 Week : 5-7 : TTH2D3 CLO#2 Student have the knowledge to create basic programming for microcontroller [C3] Understand how to program in Assembly

More information

COMP2121: Microprocessors and Interfacing. I/O Devices (II)

COMP2121: Microprocessors and Interfacing. I/O Devices (II) COMP2121: Microprocessors and Interfacing I/O Devices (II) http://www.cse.unsw.edu.au/~cs2121 Lecturer: Hui Wu Session 2, 2017 1 Overview Keyboard LCD (Liquid Crystal Display) 2 2 Input Switches (1/2)

More information

Microprocessors & Interfacing

Microprocessors & Interfacing Lecture Overview Microprocessors & Interfacing Interrupts (I) Lecturer : Dr. Annie Guo Introduction to Interrupts Interrupt system specifications Multiple sources of interrupts Interrupt priorities Interrupts

More information

INDUSTRIAL TRAINING:6 MONTHS PROGRAM TEVATRON TECHNOLOGIES PVT LTD

INDUSTRIAL 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 information

Ten Reasons to Optimize a Processor

Ten Reasons to Optimize a Processor By Neil Robinson SoC designs today require application-specific logic that meets exacting design requirements, yet is flexible enough to adjust to evolving industry standards. Optimizing your processor

More information

Interrupts (I) Lecturer: Sri Notes by Annie Guo. Week8 1

Interrupts (I) Lecturer: Sri Notes by Annie Guo. Week8 1 Interrupts (I) Lecturer: Sri Notes by Annie Guo Week8 1 Lecture overview Introduction to Interrupts Interrupt system specifications Multiple Sources of Interrupts Interrupt Priorities Interrupts in AVR

More information

ECE 477 Digital Systems Senior Design Project. Module 10 Embedded Software Development

ECE 477 Digital Systems Senior Design Project. Module 10 Embedded Software Development 2011 by D. G. Meyer ECE 477 Digital Systems Senior Design Project Module 10 Embedded Software Development Outline Memory Models Memory Sections Discussion Application Code Organization Memory Models -

More information

FIFTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLOGY-MARCH 2014 EMBEDDED SYSTEMS (Common for CT,CM) [Time: 3 hours] (Maximum marks : 100)

FIFTH 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 information

Microprocessor Fundamentals. Topic 8 Binary Addition

Microprocessor Fundamentals. Topic 8 Binary Addition Microprocessor Fundamentals Topic 8 Binary Addition Objectives Examine several assembler directives:.dseg /.eseg /.cseg.db.byte Use indirect addressing X register (r26 and r27) Post-increment Store results

More information

Implementing In-Application Programming on the ADuC702x

Implementing In-Application Programming on the ADuC702x Implementing In-Application Programming on the ADuC702x By Johnson Jiao [Johnson.Jiao@analog.com] and Raven Xue [Raven.Xue@analog.com] Background The ADuC702x Precision Analog Microcontroller provides

More information

EE Embedded Systems Design

EE Embedded Systems Design EE4800-03 Embedded Systems Design Lesson 2 Structured Design, Documentation, and Laboratory Notebooks 1 Overview - Structured Design The divide-and-conquer technique Requirements Partitioning - The Black

More information

BACHELOR OF COMPUTER APPLICATIONS (BCA)

BACHELOR OF COMPUTER APPLICATIONS (BCA) BACHELOR OF COMPUTER APPLICATIONS (BCA) BCA/ASSIGN/IV/YEAR/2012 ASSIGNMENTS Year, 2012 (4 th Semester (Pre-Revised) ) CS-06 CS-64 CS-65 CS-66 CS-67 SCHOOL OF COMPUTER AND INFORMATION SCIENCES INDIRA GANDHI

More information

EE 308: Microcontrollers

EE 308: Microcontrollers EE 308: Microcontrollers Timers Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA April 2, 2018 Aly El-Osery (NMT) EE 308: Microcontrollers

More information

EE 308: Microcontrollers

EE 308: Microcontrollers EE 308: Microcontrollers Introduction to the Assmbly Language Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA January 25, 2018 Aly

More information

Theory of Operation STOP CONDITION

Theory of Operation STOP CONDITION AVR 300: Software I 2 C Master Interface Features Uses Interrupts Supports rmal And Fast Mode Supports Both 7-Bit and 10-Bit Addressing Supports the Entire AVR Microcontroller Family Introduction The need

More information

Input/Output Devices. Lecturer: Sri Parameswaran Notes by: Annie Guo

Input/Output Devices. Lecturer: Sri Parameswaran Notes by: Annie Guo Input/Output Devices Lecturer: Sri Parameswaran Notes by: Annie Guo 1 Lecture Overview Input devices Input switches Basics of switches Keypads Output devices LCD 2 Input Switches Most basic binary input

More information

ATmega128 Assembly Language Programming

ATmega128 Assembly Language Programming 마이크로프로세서응용 7 ATmega128 Assembly Language Programming Assembly Language g Field Delimiter Field structure a space or colon after a label a space after the operation code a comma between operands in the

More information

Speed and Size-Optimized Implementations of the PRESENT Cipher for Tiny AVR Devices

Speed and Size-Optimized Implementations of the PRESENT Cipher for Tiny AVR Devices Speed and Size-Optimized Implementations of the PRESENT Cipher for Tiny AVR Devices Kostas Papagiannopoulos Aram Verstegen July 11, 2013 Papagiannopoulos and Verstegen July 11, 2013 Speed and Size-Optimized

More information

GUJARAT TECHNOLOGICAL UNIVERSITY

GUJARAT TECHNOLOGICAL UNIVERSITY GUJARAT TECHNOLOGICAL UNIVERSITY BRANCH NAME: INSTRUMENTATION & CONTROL ENGINEERING (17) SUBJECT NAME: EMBEDDED SYSTEM DESIGN SUBJECT CODE: 2171711 B.E. 7 th SEMESTER Type of course: Core Engineering Prerequisite:

More information

On-Site PBX Vs Hosted PBX

On-Site PBX Vs Hosted PBX Warm Welcome On-Site PBX Vs Hosted PBX On-Site PBX 1. Private Branch Exchange is a physically wired switchboard system that routes external calls to a series of internal phone lines. 2. This technology

More information

Making the Move to IP Telephony. Revolution, Evolution or Both?

Making the Move to IP Telephony. Revolution, Evolution or Both? Making the Move to IP Telephony Revolution, Evolution or Both? Agenda Welcome Is it the Right Time for IP Telephony? Migrating from TDM Forms of IP Telephony Is Your Network Ready? State of the Telecom

More information

Use the Associative Property of Multiplication to find the product.

Use the Associative Property of Multiplication to find the product. 3-1 1. The Associative Property of Multiplication states factors can be grouped differently and the product remains the same. Changing the grouping of the factors changes the factors that are multiplied

More information

ECED 3204 Microprocessor Midterm Reference Solution

ECED 3204 Microprocessor Midterm Reference Solution ECED 3204 Microprocessor Midterm Reference Solution Date: October 26 2017 Time: 7:00pm-9:00pm Room: B225, B227, B229 Student name ID 1) Problem one has following two sub problems: a. Write an instruction

More information

Register-Level Programming

Register-Level Programming Introduction Register-Level Programming Programming can be considered a set a instructions that are executed in a precise order. A programming simulator can evaluate how instructions store, move and calculate

More information

COMP2121: Microprocessors and Interfacing. Instruction Formats and Addressing Modes

COMP2121: Microprocessors and Interfacing. Instruction Formats and Addressing Modes COMP2121: Microprocessors and Interfacing Instruction Formats and Addressing Modes http://www.cse.unsw.edu.au/~cs2121 Lecturer: Hui Wu Session 2, 2017 1 1 Overview Instruction format AVR instruction format

More information

Lecture 20: AVR Programming, Continued. AVR Program Visible State (ones we care about for now)

Lecture 20: AVR Programming, Continued. AVR Program Visible State (ones we care about for now) 18 100 Lecture 20: AVR Programming, Continued S 15 L20 1 James C. Hoe Dept of ECE, CMU April 2, 2015 Today s Goal: You will all be ace AVR hackers! Announcements: Midterm 2 can be picked up in lab and

More information

Today s Menu. >Use the Internal Register(s) >Use the Program Memory Space >Use the Stack >Use global memory

Today s Menu. >Use the Internal Register(s) >Use the Program Memory Space >Use the Stack >Use global memory Today s Menu Methods >Use the Internal Register(s) >Use the Program Memory Space >Use the Stack >Use global memory Look into my See examples on web-site: ParamPassing*asm and see Methods in Software and

More information

ANZSCO Descriptions The following list contains example descriptions of ICT units and employment duties for each nominated occupation ANZSCO code. And

ANZSCO Descriptions The following list contains example descriptions of ICT units and employment duties for each nominated occupation ANZSCO code. And ANZSCO Descriptions The following list contains example descriptions of ICT units and employment duties for each nominated occupation ANZSCO code. Content 261311 - Analyst Programmer... 2 135111 - Chief

More information

Process Models. Projects Process. Common Process Models. Typical Student Process Model. Waterfall Model

Process Models. Projects Process. Common Process Models. Typical Student Process Model. Waterfall Model Process Models A process model specifies a general process, usually as a set of stages This model will be suitable for a class of projects i.e. a model provides generic structure of the process that can

More information

Visualization Re-Design

Visualization Re-Design CS448B :: 28 Sep 2010 Visualization Re-Design Last Time: Data and Image Models Jeffrey Heer Stanford University The Big Picture Taxonomy task data physical type int, float, etc. abstract type nominal,

More information

THE 8051 MICROCONTROLLER

THE 8051 MICROCONTROLLER SECOND EDITION THE 8051 MICROCONTROLLER I. Scott MacKenzie University of Guelph Guelph, Ontario 'v ' ' Prentice Hall, Upper Saddle River, New Jersey 07458 INTRODUCTION TO MICROCONTROLLERS 1 1.1 Introduction

More information

EE 308: Microcontrollers

EE 308: Microcontrollers EE 308: Microcontrollers Review Part I Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA February 15, 2018 Aly El-Osery (NMT) EE 308:

More information

AVR Subroutine Basics

AVR Subroutine Basics 1 P a g e AVR Subroutine Basics READING The AVR Microcontroller and Embedded Systems using Assembly and C) by Muhammad Ali Mazidi, Sarmad Naimi, and Sepehr Naimi Chapter 3: Branch, Call, and Time Delay

More information

2 Basic operations with AT90S1200 and TINY12

2 Basic operations with AT90S1200 and TINY12 2 Basic operations with AT90S1200 and TINY12 The best way to learn is through example and by doing things yourself. For the rest of the book we will cover example projects, many of which will be largely

More information

ECED3204: Microprocessor Part I--Introduction

ECED3204: Microprocessor Part I--Introduction ECED3204: Microprocessor Part I--Introduction Jason J. Gu Department of 1 Outline i. Computer ii. Processor iii. Embedded System iv. Memory v. Program Execution VI. VII. VIII. IX. AVR AVR Memory AVR CPU

More information

Part B Questions. Unit I

Part B Questions. Unit I Part B Questions Unit I 1. Explain the specification of Embedded system. Safety and Reliability Performance Power Consumption Cost Robustness Size Limited User Interface Software Upgradation Capability

More information

Tier-1 Motherboard Makers in Taiwan

Tier-1 Motherboard Makers in Taiwan Tier-1 Motherboard Makers in Taiwan Key Finding: As the desktop manufacturing industry in Taiwan is complicated and dynamic, each of the Taiwanese manufacturers, whether they delivered desktop, barebone

More information

DISTRIBUTED CONTROL SYSTEM LIFECYCLE PLANNING

DISTRIBUTED CONTROL SYSTEM LIFECYCLE PLANNING Tab 2 DISTRIBUTED CONTROL SYSTEM LIFECYCLE PLANNING Holyrood Thermal Generating Station November 2002 Background The distributed control system (DCS) in the Holyrood Thermal Generating Station provides

More information

EE 308: Microcontrollers

EE 308: Microcontrollers EE 308: Microcontrollers Assmbly Language Part I Aly El-Osery Electrical Engineering Department New Mexico Institute of Mining and Technology Socorro, New Mexico, USA January 30, 2018 Aly El-Osery (NMT)

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

Getting Started with STK200 Dragon

Getting Started with STK200 Dragon Getting Started with STK200 Dragon Introduction This guide is designed to get you up and running with main software and hardware. As you work through it, there could be lots of details you do not understand,

More information

PREPAID ENERGY METER

PREPAID ENERGY METER PREPAID ENERGY METER INTRODUCTION-: A scheme of Electricity billing system called "PREPAID ENERGY METER WITH TARIFF INDICATOR" can facilitate in improved cash flow management in energy utilities and can

More information

Team: XeroDual. EEL 4924 Electrical Engineering Design. Final Report 3 August Project Ehrgeiz. Team Name: XeroDual

Team: XeroDual. EEL 4924 Electrical Engineering Design. Final Report 3 August Project Ehrgeiz. Team Name: XeroDual Page 1/20 EEL 4924 Electrical Engineering Design Final Report 3 August 2009 Project Ehrgeiz Team Name: XeroDual Reinier Santos yayan26@ufl.edu Project Abstract: This project aims to design a human interface

More information

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015

EMBEDDED SYSTEMS: Jonathan W. Valvano INTRODUCTION TO THE MSP432 MICROCONTROLLER. Volume 1 First Edition June 2015 EMBEDDED SYSTEMS: INTRODUCTION TO THE MSP432 MICROCONTROLLER Volume 1 First Edition June 2015 Jonathan W. Valvano ii Jonathan Valvano First edition 3 rd printing June 2015 The true engineering experience

More information

Final Design Report. Team Name: No Rest for the Weary

Final Design Report. Team Name: No Rest for the Weary EEL 4924 Electrical Engineering Design (Senior Design) Final Design Report 4 August 2009 Project Title: SLEEP Team Name: No Rest for the Weary Team Members: Renard Sumlar lrsum825@ufl.edu Brad Bromlow

More information

Combining the Power of DAVE and SIMULINK

Combining the Power of DAVE and SIMULINK Combining the Power of DAVE and SIMULINK From a High Level Model to Embedded Implementation Pedro Costa Infineon Munich, Germany pedro.costa@infineon.com Abstract In a modern real-time control system,

More information

CMPE C Programming & Embedded Systems. Discussion I (Version 2.0) August 31, 2014

CMPE C Programming & Embedded Systems. Discussion I (Version 2.0) August 31, 2014 CMPE 311 - C Programming & Embedded Systems Discussion I (Version 2.0) August 31, 2014 Version History Version 2.1 - (August 31, 2015) - Addition Pin Connections Section and Document Verification. Version

More information

Air. CERTIFICATION PROCESS FOR CORE & SHELL v2.0. RESET Air PROCESS for Core & Shell v2.0. Copyright 2018 RESET

Air. CERTIFICATION PROCESS FOR CORE & SHELL v2.0. RESET Air PROCESS for Core & Shell v2.0. Copyright 2018 RESET Air CERTIFICATION PROCESS FOR CORE & SHELL v2.0 RESET Air PROCESS for Core & Shell v2.0 Copyright 2018 RESET Table of Contents 2.5.0 Preface 2.5.1 Phase 1 - Registration 2.5.2 Phase 2 - Pre-deployment

More information

CN310 Microprocessor Systems Design

CN310 Microprocessor Systems Design CN310 Microprocessor Systems Design Instruction Set (AVR) Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3

More information

Pantech Group Holdings Berhad

Pantech Group Holdings Berhad 2QFYFeb2018 Results 25 October 2017 Pantech Group Holdings Berhad Recovery trend continues in 2QFY18 Sustained demand on stable oil prices Stainless steel mills utilisation up to 90% Galvanising plant

More information

Parallel I/O and Keyboard Scanning

Parallel I/O and Keyboard Scanning 4 4.1 Objectives: Microprocessors can monitor the outside world using input ports. They can also control it using output ports. The TM4C123G (Tiva) performs I/O using 6 ports. Computer keyboards are typically

More information

Two-Factor Authentication The Real Cost of Ownership

Two-Factor Authentication The Real Cost of Ownership Secure Computing is a global leader in Enterprise Security solutions. Powered by our TrustedSource technology, our award-winning portfolio of solutions help our customers create trusted environments inside

More information

Segregating Data Within Databases for Performance Prepared by Bill Hulsizer

Segregating Data Within Databases for Performance Prepared by Bill Hulsizer Segregating Data Within Databases for Performance Prepared by Bill Hulsizer When designing databases, segregating data within tables is usually important and sometimes very important. The higher the volume

More information

Introducing the FPGA-Based Prototyping Methodology Manual (FPMM) Best Practices in Design-for-Prototyping

Introducing the FPGA-Based Prototyping Methodology Manual (FPMM) Best Practices in Design-for-Prototyping Introducing the FPGA-Based Prototyping Methodology Manual (FPMM) Best Practices in Design-for-Prototyping 1 What s the News? Introducing the FPMM: FPGA-Based Prototyping Methodology Manual Launch of new

More information

EMBEDDED DATA ACQUISITION SYSTEM USING M2M COMMUNICATION

EMBEDDED DATA ACQUISITION SYSTEM USING M2M COMMUNICATION International Journal of Electronics, Communication & Instrumentation Engineering Research and Development (IJECIERD) ISSN 2249-684X Vol. 2 Issue 4 Dec 2012 37-42 TJPRC Pvt. Ltd., EMBEDDED DATA ACQUISITION

More information

Assembly Programming (III)

Assembly Programming (III) Assembly Programming (III) Lecturer: Annie Guo S2, 2006 COMP9032 Week6 1 Lecture Overview Stack and stack operations Functions and function calls Calling conventions S2, 2006 COMP9032 Week6 2 What is stack?

More information

EMBEDDED SYSTEM BASICS AND APPLICATION

EMBEDDED 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 information

Assembly Programming (III) Lecturer: Sri Parameswaran Notes by: Annie Guo Dr. Hui Wu

Assembly Programming (III) Lecturer: Sri Parameswaran Notes by: Annie Guo Dr. Hui Wu Assembly Programming (III) Lecturer: Sri Parameswaran Notes by: Annie Guo Dr. Hui Wu 1 Lecture overview Stack and stack operations Functions and function calls Calling conventions 2 Stack What is stack?

More information

Embedded Systems and Software

Embedded Systems and Software Embedded Systems and Software Timers and Counters F-35 Lightning II Electro-optical Targeting System (EOTS Lecture 1, Slide-1 Timers and Counters Very important peripherals on microcontrollers ATtiny45

More information

PG Certificate. Embedded, Internet Of Things & Android

PG Certificate. Embedded, Internet Of Things & Android PG Certificate in Embedded, Internet Of Things & Android (Project Based) A Corporate Member of FITT-IIT Delhi An Initiative by Industry Experts from Cadence, Atrenta & Patni with qualification from IITs

More information

Training Kit for HP 1660/70 Series Logic Analyzers

Training Kit for HP 1660/70 Series Logic Analyzers Training Guide Publication Number E2433-97034 First Edition, November 1997 For Safety information, Warranties, and Regulatory information, see the pages behind the Index. Copyright Hewlett-Packard Company

More information

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their

Freescale and the Freescale logo are trademarks of Freescale Semiconductor, Inc. All other product or service names are the property of their S08 Highlighted Features Why Do I Need a Slave LIN Interface Controller (SLIC)? Design Challenges Slave synchronization Slave synchronizing to LIN messaging requires a cost versus resource trade-off. Your

More information

SOEN228, Winter Revision 1.2 Date: October 25,

SOEN228, Winter Revision 1.2 Date: October 25, SOEN228, Winter 2003 Revision 1.2 Date: October 25, 2003 1 Contents Flags Mnemonics Basic I/O Exercises Overview of sample programs 2 Flag Register The flag register stores the condition flags that retain

More information

AT90S Bit Microcontroller with 1K bytes Downloadable Flash AT90S1200. Features. Description. Pin Configuration

AT90S Bit Microcontroller with 1K bytes Downloadable Flash AT90S1200. Features. Description. Pin Configuration Features Utilizes the AVR Enhanced RISC Architecture 89 Powerful Instructions - Most Single Clock Cycle Execution 1K bytes of In-System Reprogrammable Downloadable Flash - SPI Serial Interface for Program

More information

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter

AN10210 Using the Philips 87LPC76x microcontroller as a remote control transmitter CIRCUITS ITEGRATED CIRCUITS ABSTRACT This application note illustrates the use of an 87LPC76x microcontroller from Philips Semiconductors as an infrared RC5. Using the Philips 87LPC76x microcontroller

More information

Lab 2: Basic Assembly Programming and Debugging using AVR Studio. Due: December 13, 2011

Lab 2: Basic Assembly Programming and Debugging using AVR Studio. Due: December 13, 2011 Lab 2: Basic Assembly Programming and Debugging using AVR Studio 1 Outcomes Due: December 13, 2011 Familiarize yourself with the capabilities of the ATMEGA32 embedded microcontroller and AVR Studio Develop

More information

Cambridge International General Certificate of Secondary Education 0478 Computer Science June 2015 Principal Examiner Report for Teachers

Cambridge International General Certificate of Secondary Education 0478 Computer Science June 2015 Principal Examiner Report for Teachers COMPUTER SCIENCE Paper 0478/11 Paper 1 Key Messages This is a new syllabus and the standard of candidates work was mostly very good. There is a continued move to provide questions where candidates have

More information

Acorn BBC. 8 BIT IDE Interface. Main Features

Acorn BBC. 8 BIT IDE Interface. Main Features Release 1.0 Acorn BBC 8 BIT IDE Interface Design Bas Gialopsos 2016 Main Features Professionally Manufactured, Double Sided, Shielded PCB 100% Acorn System Compliant 100% Tube and all Coprocessor Compliant

More information