Preview

Embedded Systems

Good Essays
Open Document
Open Document
3932 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Embedded Systems
yayavaram@yahoo.com

EMBEDDED SYSTEMS
UNITS IV & V

Interfacing methods

The interfacing of an I/O device to an embedded system is always an important task. Generally interfacing means , both the physical connections of the hardware devices and the software routines that effect the data transfer .Due to incompatibility in speeds of the microcontroller and I/O devices ,there is always a problem in data transfer between two devices .This leads to a concept called ‘Latency’. Latency is nothing but the time between the interrupt request from the I/O device and the initiation of service by the microprocessor (or) controller. This latency includes both hardware delays and software delays .The software latency is the time between the availability of new data and the software reading. Another important aspect in I/O interfacing is the throughput (or) bandwidth. The bandwidth is the maximum data flow (bytes per second ) that can be processed by the system .Sometimes the bandwidth is limited by the I/O device while other times it is limited by the software . So to transfer the data synchronously between I/O device and the embedded system , there are two synchronization techniques ,they are a) Blind cycle counting synchronization. b) Gadfly (or) Busy waiting synchronization.

Blind cycle counting synchronization :

Blind cycle is appropriate for fixed and known I/O delays i.e Blind cycle is a method where the software simply waits a fixed amount of time and assumes that the I/O will complete before that fixed delay has elapsed. For an input device, the software triggers (starts) the external input hardware, wait a specified time, then reads data from device. For an output device, the software writes data to the output device, triggers (starts) the

You May Also Find These Documents Helpful

  • Powerful Essays

    Ait235 Quizes

    • 5726 Words
    • 23 Pages

    The _________ is a term for the device or unit that receives the information transfer.…

    • 5726 Words
    • 23 Pages
    Powerful Essays
  • Good Essays

    So latency is the time it takes you to get out the coffee, fill the pot with water, add a filter to the machine measure the coffee then pour the water…

    • 523 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    ITNW 2335

    • 402 Words
    • 2 Pages

    the average time it takes a packet to reach the destination and for the response to return to the source…

    • 402 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CIST1122 Lab 5

    • 349 Words
    • 2 Pages

    4) Why is it important to match the latencies of the older modules to the newer modules?…

    • 349 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Unit 3 P3

    • 1666 Words
    • 7 Pages

    When data is sent using parallel data transmission, multiple data bits are transmitted over multiple channels at the same time. This means that data can be sent much faster than using serial transmission…

    • 1666 Words
    • 7 Pages
    Powerful Essays
  • Good Essays

    Unit 1 Exercise 1

    • 835 Words
    • 3 Pages

    In a 1-2 page paper, discuss HOW the data gets sent from a computer or gaming system to the…

    • 835 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Ping: The ping is the reaction time of user connection–how fast users get a response after they sent out a request. A fast ping means a more responsive connection, especially in applications where timing is everything (like video games). Ping is measured in milliseconds (ms).…

    • 697 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Study Guide

    • 350 Words
    • 2 Pages

    Data bits are frequently passed through pins in a connector.Synchronous protocols are the type of data link protocols primarily used to delineate groups of bits or bytes:…

    • 350 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Nt1110 Computer Memory

    • 781 Words
    • 4 Pages

    8. CD ROM – A device used to read CD-ROMs. If capable of writing to the…

    • 781 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    Delayed feedback occurs after the skill has been performed. An example of this is putting in golf. The feedback is not received until after the ball has either gone in or missed the hole.…

    • 875 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Once upon a time, way back when in the caveman era, caveman used drawings on walls to keep track of information and to communicate with each other in the clan of one 's life-span. Over time, man have improved and evolved in the way of keeping track of information and communicating with one another. Today, one finds himself more in an automated world than he did 25 years ago. When planning to purchase a computer, one must take in consideration all possibilities, options, and accessories that one could receive along with the computer. In this summary, we are going to examine some of the input, output, and storage devices along with speeds of a computer. You did a good job of getting the reader 's attention and giving the reader a "road map" to your paper.…

    • 1764 Words
    • 8 Pages
    Powerful Essays
  • Powerful Essays

    SRAM (static random access memory) is the memory which is used as the slave in this project. Input is taken from the AXI-BUS as the data-input and the corresponding information or data is stored in the SRAM memory.…

    • 1219 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Developments in VLSI (Very Large Scale Integrated Circuits) technology have led to implementation of an entire microcomputer on a single board. SBC (Single Board Computers) are complete computers built on a single circuit board. Unlike the motherboard of a personal computer that functions with various daughter boards to perform different tasks, SBCs design consists of a single/dual microprocessor with RAM, I/O devices and all other features needed to be a functional computer on a single board. SBCs have gained huge market acceptance for embedded applications like process control, industrial computing, data acquisition, research and development and military projects. We will be discussing in this paper about the latest microprocessors used in SBC based on ARM, Intel and standard connections like LAN, PCIe, USB and Ethernet. The processor is the main component of SBC. Hence it is essential to know the type of the processor, processing speed etc. for a particular application. For eg, in an industrial environment where the importance is given to ruggedness of the box rather than the CPU performance, the preference would be fanless processors like those from Intel (Atom) and VIA. But for billing systems which needs more processing power, SBC may require a dual port or higher performance processor.ARM which was prevalent on handset space has entered SBC with its Cortex A series processors. For eg, Beagle Board is popular single board computer that is powered by 1GHz ARM Cortex A8 processor. For network appliance, it’ll be the external interface like LAN (Local Area Network) port that plays an important role while in a PDA or other handheld where integration on chip is important in compact space,…

    • 482 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    The main aim of this project is to study and design Xilinx, SPI, Sparton, and Serial EEPROM operation and explain the sophisticated methodology.…

    • 1640 Words
    • 7 Pages
    Powerful Essays
  • Powerful Essays

    Background The basic function performed by a computer is execution of a program, which consists of a set of instructions stored in memory. The processor does the actual work by executing instructions specified in the program. In its simplest form, instruction processing consists of two steps The processor reads (fetches) instructions from memory one at a time and executes each instruction. Program execution consists of repeating the process of instruction fetch and instruction execution The processing required for a single instruction is called an instruction cycle consist of two steps, the fetch cycle and the execute cycle. Program execution halts only if the machine is turned off, some sort of unrecoverable error occurs, or a program instruction that halts the computer is encountered. To improve processing efficiency, the concept of interrupts is used. Virtually all computers provide a mechanism by which other modules (I/O, memory) may interrupt the normal processing of the processor. With interrupts, the processor can be engaged in executing other instructions while an I/O operation is in progress. For example, most external devices are much slower than the processor. Suppose that the processor is transferring data to a printer using the instruction cycle. After each write operation, the processor must pause and remain idle until the printer catches up. The length of this pause may be on the order of many hundreds or even thousands of instruction cycles that do not involve memory. Clearly, this is a very wasteful use of the processor. In this project, multiple nested interrupt are being discuss and the program build are meant to this type of interrupt but somehow the program can also work for multiple sequential interrupt based on how priority of interrupts are set. Later I will discuss how multiple interrupts are being served by operating system and how sequential and nested multiple interrupt are differs. 1.1 Objectives…

    • 3502 Words
    • 10 Pages
    Powerful Essays