I Introduction to Real-time Applications By Prawat Nagvajara

Size: px
Start display at page:

Download "I Introduction to Real-time Applications By Prawat Nagvajara"

Transcription

1 Electrical and Computer Engineering I Introduction to Real-time Applications By Prawat Nagvajara Synopsis This note is an introduction to a series of nine design exercises on design, implementation and verification of real-time applications. Real-time applications are software and hardware interacting within a dynamical system. They are implemented on a processor and peripherals which often interface to sensors and actuators. In the series two design exercises - motor speed control and single-tone signal detection are examples of real-time applications. 1. Real-time Applications Real-time application software uses the processor peripherals to interact with other objects in dynamical system. Dynamical system changes with time and the application responds to the changes. Controllers and signal processors are examples of real-time applications in dynamical systems. Figure 1 depicts a view of a real-time application software application runs on processor (hardware), it uses peripherals (hardware) to interact with dynamical system. The application is part of the dynamical system. Dynamical System Hardware Software Fig. 1 Real-time Application Implementing Real-time Application Real-time applications are software that run on the processor systems. Processor system comprises a processor, memory, bus interconnection and peripherals. The peripherals are hardware devices that interact with other components in the dynamical system. For instance, the device that provides means to interface with the external signals is called the General-Purpose Input Output GPIO. GPIOs are circuits that handle input and output signals - digital (two voltage level) and analog (continuous voltage). Peripherals are connected to the processor via the system bus which provides multi-point communication between source and destination devices. The processor reads and writes to the registers of the peripherals by memory-mapped addresses. Integrated Design Environment (IDE) tools provide Application Program Interface (API) functions for tasks performed on the peripherals such as configuration, initialization, start, stop and data transfers. API functions access the peripherals via writes and reads to addresses mapped to the peripheral registers. APIs alleviate programmers having to code the routine tasks. Furthermore, most Integrated Design Environment (IDE) tools provide GUI for the peripheral configuration and generate the configuration codes to be included in the applications. Figure 2 shows a block diagram of Xilinx Vivado IDE project block diagram for FPGA (Field Programmable Gate Array) based implementation. It demonstrates a typical processor system for running a real-time application. It comprises the processor (ZYNQ7 1

2 Processing System), the Processor System Reset, the system bus (AXI Interconnect, AXI is the name of this bus standard), and 4 peripherals. The peripherals are the GPIO for GPIO for buttons (AXI GPIO connected to a port named the buttons which is an input signal port), the switches GPIO, a custom ip (Intellectual Property) hardware peripheral for LEDs drive (led_ip_v1.0) and memory controller (AXI BRAM Controller) which connects to a block RAM memory (block RAM is Field Programmable Gate Array-FPGA). The diagram shows system reset signal connections to additional peripherals not included in the diagram, the FIXED IO and the DDR (Double Data Rate) memory peripherals. Fig. 2 Processor, Bus and Peripherals Tools Integrated Design Environment (IDE) tools provide designers with automation for developing the processing system hardware and software, that is, the tool can build a processing system tailored to the design specification. Designer describes the components, the interconnections and the software application using GUIs and code editors. Automation tools perform the following implementation steps when building the system - placing and routing the peripherals hardware and generates API codes for the peripherals. The building of hardware is a compilation of the block diagram where the blocks and interconnections may be in the form of user Hardware Description Language (HLD) or ready-made Intellectual Property (IP) HLD cores from a library or existing hardware devices. Components such as the processor, the bus and the GPIO often are wired hardware. However, with programmable devices such as FPGA the processors and interconnections often are configured onto the FPGA. Some development boards have fixed peripheral devices. When building the system the tool also generates a set of APIs for each peripheral. The tool generates an arsenal of codes (headers files containing the definitions of memory-mapped peripherals and C files for the API functions). Without automatic code generation aids, designer codes the necessary APIs for the peripherals using write and read to memory locations predefined by the development board manufacturers. Coding APIs from scratch is not difficult but can be tedious and mundane. Real-time Code Structure Consider single-threaded application where the processor does not have real-time operating system, the main program starts by initializing the peripheral hardware components, for example, it initializes the bus communication between the process and peripherals, and the states of the peripherals. The main program also initializes the variables uses for communicating with the subroutines which run when interrupts occur. Interrupt is a mechanism supported by the processor hardware in which the processor branches, temporally leaves the current program execution, when an interrupt event occurs to execute a subroutine program. Hardware interrupt events typically are indicated by digital signal changing from a low voltage, 0 V (0 logic) to a high voltage V DD, e.g., 3.3 V (1 logic) - rising edges, or falling edges. For example, in a computer system pressing a key on the key board or moving a mouse generates a rising edge digital signals which are connected to interrupt input ports of the processor. The processor s operating system switches to execute the routines that handle the keyboard or the mouse input data. In applications there are different interrupt sources (signals) and their corresponding subroutines. Depending on 2

3 which peripherals cause the interrupts and their priority, the processor branches to execute the associated code. 2. Example-Square Wave Period Measurement This section goes into the details of a square wave period measurement application. This design example demonstrates the use of peripherals, the interrupt and application code structure. The example takes the readers through an overview on important concepts covered in the series of exercises in this pamphlet. It first covers the peripherals describing the details on certain component configurations and the APIs generated by the IDE tool. Secondly the example covers the structure of a real-time application code. It is straightforward to use a timer peripheral for measuring elapsed time between two risingedges in a periodic square wave. A timer is a counter that when it is reset to its maximum count and set to free-running mode it counts down on every clock cycle. When a capture input event, for example configured to capture a rising edge, occurs the timer hardware writes the counter content to its register called compare register. The difference between two consecutive readings, from the compare register, right after capture events occur yields the elapsed time. Figure 3 shows a schematic of the peripherals used in the period measurement project developed using the PSoC Creator IDE [1]. The schematic comprises the Timer Counter component named Timer, the UART (Universal Asynchronous Receiver Transceiver the serial port) component named UART, the PWM (Pulse Width Modulation) component named PWM, the GPIO component or pin (configured as a digital input) named Captured_Input, the GPIO component (configured as a digital output) named Sq_Wave_Out, the Interrupt component named CC_ISR, and the Clock components named Clock_1 and Clock_2. The line named External wire connecting the Sq_Wave_Out pin and the Captured_Input pin annotates the connection during the verification after the processing system is built (it is not a component in the IDE tool). Note also that the schematic does not include the processor and the bus. The signal on the external wire is a square wave generated by the PWM. The timer is configured to capture a signal rising-edge event. When a capture happens the timer hardware loads its current counter content to the compare register and generates an interrupt at its interrupt output. Schematic Designer places, configures, connects the peripherals and builds the APIs as below. Fig. 3 PSoC Creator IDE Schematic Fig. 4 Timer Configuration 3

4 Timer Configuration Figure 4 shows the PSoC Creator GUI for the timer configuration. Designer gets to the Configure TCPWM_P4 (TCPWM_P4 is Timer Counter and Pulse Width Modulator PSoC4) by double clicking on the Timer block in the schematic. In the Timer/Counter tap, the interrupt is checked for On Compare/Capture count. This means that the timer will generate an interrupt signal at its interrupt output port on a capture event. The input capture is checked as present and the mode is Rising edge. The Period and Compare Register selections are configured 65,535 = for a maximum freerunning count, that is, the maximum count for a 16-bit counter. The component datasheet provides all information on the hardware and the APIs (Datasheet button is at the bottom left corner in Fig. 4). Interrupt Component The interrupt component named CC_ISR is connected to the timer interrupt output. It is an interface block that defines the interrupt trigger hardware. Designer configures the name of the interrupt, e.g., CC_ISR (Capture Counter Interrupt Service Routine), and the type of interrupt using the GUI. The generated APIs for this interrupt will have names started with CC_ISR_*, for example the API function CC_ISR_Start_Ex(InterruptHandler) sets up the interrupt routine named InterruptHandler where the function CY_ISR allows the designer to code the interrupt routine, Fig. 5 UART Configuration Pulse Width Modulator The design also uses the Pulse Width Modulator) component named PWM for generating test signal. Designer can verify the correctness without using external signal generator. The PWM output port line is connected to the digital output pin Sq_Wave_ Out (Fig. 3). CY_ISR(InterruptHandler) { Interrupt code for a routine named InterruptHandler }; In the main code designer codes CC_ISR_Start_Ex(InterruptHandler); to declare and set up the InterruptHandler. Universal Asynchronous Receiver Transmitter The UART component is configured with the parameters shown in Fig. 5. The baud rate is Fig. 6 PWM Configuration The PWM generates a periodic digital signal with single pulse per period. Application 4

5 software can program during run time the period and the pulse width using the APIs. Designer initializes the PWM configuration using the Configure TCPWM_P4 window, PWM tap (Fig. 6). The Period entry is 2000 counts and the Compare (pulse width) is 500 counts. With a 1MHz clock frequency (Clock_2 in Fig. 3) the period is 2000μs (2 ms) and the pulse width is 500μs. Oscilloscope measurement of the PWM line output (Fig. 7) shows 3.3V peak voltage amplitude (vertical axis) and the horizontal time axis with 500μs per division. Fig. 8 Digital Input GPIO Configuration Fig. 7 Sq_Wave_Out Port Measurement General-Purpose Input Output The GPIO (General Purpose Input Output) pin component named Captured_Input is configured in the Configure cy_pins window with Name assigned as Captured_Input (Fig. 8), in the Type tap is configured as Digital Input and HW Connection (hardware connection) that is a wire connection from the pin must be made to other components. The Preview shows the circuit diagram. The pin (square box with cross mark) is connected to a buffer (triangle) whose output is connected to a terminal (square box). The buffer input is to be either connected to ground or V DD (drain voltage rail). Fig. 9 Digital Input Drive Mode In the General tap (Fig. 9), Drive Mode is selected as High Impedance Digital which means that the drive output circuit an open circuit. The PWM signal is the input which supplies the ground or the V DD connection. In some cases digital input signals do not supply the ground or V DD connection leaving the port open, in which case, the Drive Mode circuit can complete the circuit connection. For example, the pin is connected to a device that grounds the pin for Logic 0 and leaves the pin open (floated) for Logic 1. In this case the GPIO drive mode supplies the V DD connection with resistive load when the pin is floated. When the pin is grounded the buffer input is grounded, and the resistive load prevents a short circuit between 5

6 V DD rail and ground (Fig. 10). Figure 10 shows a circuit where the DR Initial State is High (1) and the output of the inverter is Low (0) which makes the p-type MOS transistor (the top transistor) closed and the n-type (bottom) transistor open. Fig. 10 Resistive Pull-up Drive Mode Assigning GPIO to Physical Pins The GPIO Captured_Input and Sq_Wave_Out are assigned to actual pins available on the. PSoC Creator IDE has the pin assignment under.cydwr, TimerExample01.cydwr in the Workspace panel (Fig. 11). Fig. 11 Workspace Panel The GPIO-to-ports assignments (Fig. 12) consist of the rx and tx (receive and transmit) for the UART (not shown in the schematic Fig. 3). These are assigned to Ports P0[4] and P0[5]. GPIO Captured_Input and Sq_Wave_Out are assigned to Port P0[0] and P1[0]. Fig. 12 GPIO-to-Port Assignments Period Measurement Application Code The code (Fig. 13) consists of the interrupt routine named InterruptHandler, a function printint for printing integer on the serial port using the UART peripheral and the main program. The code includes the device.h header file for the APIs and the definitions and the stdio.h, the C Standard IO header file. It declares two 32-bit unsigned integer variables t0 and Period. The variable t0 is the old timer count stored at the last rising-edge capture event. The period is the difference between current and last counts captured at two consecutive rising-edge capture events. It declares an 8-bit unsigned integer variable data_ready, a flag used between the interrupt routine and the main program. The convention used in this particular IDE (PSoC Creator) is the generated APIs and definitions format begins with the component name, underscore then followed by the generic API or definition name. For example, the component Timer has the generated start API as Timer_Start() and the clear interrupt flag API function as Time_ClearInerrupt(Timer_INTR_ MASK_CC_MATCH). When an interrupt event on the CC_ISR component occurs (see Fig. 3), the interrupt code first clears the Timer interrupt flag. The API ClearInterrupt() is used with bit vector variable corresponding to the timer status register interrupt flag bits Timer_INTR_MASK_ CC_MATCH. It next calculates the difference between current count, the Timer_Read Capture() and the previous count t0. It then updates t0 with current count and sets the data_ready flag telling the main program. 6

7 the data_ready flag (a variable indicating new Period is available) it prints the Period value and reset the data_ready flag. A function CyDelay(200) pulses the processor for 200ms, making the printing action more visible. Implementation and Verification Reader can follow the design steps for this example. This involves 1. Place, configure the components and build 2. Edit main.c and build 3. Assign ports and build 4. Connect USB cable between the development board (CY8CKIT-024) and host computer, and program 5. Verify results Results Output on Serial Terminal When using the UART on the PSoC 4 CY8CKIT- 024 board [2], user wires the rx and tx (Ports P0[4] and P0[5]) to P12[7] and P12[6] (yellow wires in Fig. 14). The external wire (red wire in Fig. 13) connects P0[0] (Captured_ input) and P1[0] (Sq_Wave_Out). Fig. 14 CY8CKIT-024 Implementation Photo Fig. 13 Real-time Application Code Example The main program first enables the global interrupts, it then sets up the InterruptHandle" and starts the UART, the PWM and the Timer. The main program then goes into the control loop that is a program loop that repeats indefinitely a sequence of steps. In the control loop the program continuously checks (polls) on The processor uses the UART to communicate through the serial ports with, for instance, a serial terminal emulator application (e.g., the putty application). The host computer used for programming the microcontroller in this case a PSoC device also runs PuTTY and displays the design output the measured period of the square wave. 7

8 The setup for the terminal on PuTTY is shown in Fig. 15. Reader will need to verify the actual serial COM port number in the Device Manager under Ports (COM and LPT). 1. Universal Asynchronous Receiver Transmitter (UART) peripheral. 2. General Purpose Input Output (GPIO) 3. Pulse Width Modulator (PWM) 4. Timer 5. Speed control Project 6. Analog-to-Digital Converter (ADC) 7. Ping-Pong Buffer 8. Single-tone detection Project 4. Conclusions From doing the design exercises reader will better understand the basic concepts used in implementing real-time applications. Real-time operating system (RTOS) supporting multithread applications are used in practical applications. Further study includes implementation of RTOS applications and programming. Fig. 15 Serial Connection Parameters References 1. PSoC Creator Quick Start Guide 2. CY8CKIT-024 Pioneer Kit Guide Fig. 16 PuTTY Terminal Display Figure 16 shows PuTTY terminal displaying the difference between two consecutive contents of the timer compare register read when capture events occur. The period measured is the difference less one which corresponds to 2000μs. 3. Series of Design Exercises A series of design exercises that leads up to the motor speed control and single tone detection projects: 8

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1 Module 2 Embedded Processors and Memory Version 2 EE IIT, Kharagpur 1 Lesson 11 Embedded Processors - II Version 2 EE IIT, Kharagpur 2 Signals of a Typical Microcontroller In this lesson the student will

More information

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA

CE PSoC 4: Time-Stamped ADC Data Transfer Using DMA CE97091- PSoC 4: Time-Stamped ADC Data Transfer Using DMA Objective This code example uses a DMA channel with two descriptors to implement a time-stamped ADC data transfer. It uses the Watch Dog Timer

More information

Overview of Microcontroller and Embedded Systems

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

Unlocking the Potential of Your Microcontroller

Unlocking the Potential of Your Microcontroller Unlocking the Potential of Your Microcontroller Ethan Wu Storming Robots, Branchburg NJ, USA Abstract. Many useful hardware features of advanced microcontrollers are often not utilized to their fullest

More information

DEV-1 HamStack Development Board

DEV-1 HamStack Development Board Sierra Radio Systems DEV-1 HamStack Development Board Reference Manual Version 1.0 Contents Introduction Hardware Compiler overview Program structure Code examples Sample projects For more information,

More information

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an Microcontroller Basics MP2-1 week lecture topics 2 Microcontroller basics - Clock generation, PLL - Address space, addressing modes - Central Processing Unit (CPU) - General Purpose Input/Output (GPIO)

More information

How to use the PSoC based 16C450 Replacement

How to use the PSoC based 16C450 Replacement How to use the PSoC based 16C450 Replacement Matthew Burns Eric Ponce August 2017 (Updated April 2018) 1 Overview The PSoC based 16C450 Replacement is intended to replace the 16C450 serial communication

More information

PSoC Designer Quick Start Guide

PSoC Designer Quick Start Guide Installation PSoC Designer Quick Start Guide PSoC Designer is available for download at http://www.cypress.com/go/designer. You can also download an ISO image to create an installation CD. Each Starter

More information

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 Subject: Microcontroller and Interfacing (151001) Class: B.E.Sem V (EC-I & II) Q-1 Explain RISC

More information

The Atmel ATmega328P Microcontroller

The Atmel ATmega328P Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory 1 Introduction The Atmel ATmega328P Microcontroller by Allan G. Weber This document is a short introduction

More information

or between microcontrollers)

or between microcontrollers) : Communication Interfaces in Embedded Systems (e.g., to interface with sensors and actuators or between microcontrollers) Spring 2016 : Communication Interfaces in Embedded Systems Spring (e.g., 2016

More information

Robotics Training Module ABLab Solutions

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

Optional Pause Pulse for constant frame length of 282 clock ticks

Optional Pause Pulse for constant frame length of 282 clock ticks PSoC Creator Component Datasheet Single Edge Nibble Transmission (SENT_TX) 1.0 Features Compliant with SAE J2716 APR2016 (Issued 2007-04, Revised 2016-04) without any serial message formats Selectable

More information

CN310 Microprocessor Systems Design

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

8:1 Serial Port Expander

8:1 Serial Port Expander 8:1 Serial Port Expander V 1.3 This is an evolving document check back for updates. Features Expand a single UART (RX / TX) serial port into 8 additional serial ports On-board LEDs indicate which channel

More information

These three counters can be programmed for either binary or BCD count.

These three counters can be programmed for either binary or BCD count. S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.

More information

University of Florida EEL 3744 Spring 2018 Dr. Eric M. Schwartz. Good luck!

University of Florida EEL 3744 Spring 2018 Dr. Eric M. Schwartz. Good luck! Page 1/13 Exam 2 Relax! Go Gators! Good luck! First Name Instructions: Turn off all cell phones and other noise making devices and put away all electronics. Show all work on the front of the test papers.

More information

TLE9869 Eval.Kit V1.0 Users Manual

TLE9869 Eval.Kit V1.0 Users Manual TLE9869 Eval.Kit V1.0 Users Manual Contents Abbreviations... 2 1 Concept... 3 2 Interconnects... 4 3 Test Points... 5 4 Jumper Settings... 6 5 Communication Interfaces... 7 5.1 LIN (via Banana jack and

More information

Department of Electronics and Instrumentation Engineering Question Bank

Department of Electronics and Instrumentation Engineering Question Bank www.examquestionpaper.in Department of Electronics and Instrumentation Engineering Question Bank SUBJECT CODE / NAME: ET7102 / MICROCONTROLLER BASED SYSTEM DESIGN BRANCH : M.E. (C&I) YEAR / SEM : I / I

More information

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems

PD215 Mechatronics. Week 3/4 Interfacing Hardware and Communication Systems PD215 Mechatronics Week 3/4 Interfacing Hardware and Communication Systems Interfacing with the physical world A compute device (microprocessor) in mechatronic system needs to accept input information

More information

Using FlexIO to emulate communications and timing peripherals

Using FlexIO to emulate communications and timing peripherals NXP Semiconductors Document Number: AN12174 Application Note Rev. 0, 06/2018 Using FlexIO to emulate communications and timing peripherals 1. Introduction The FlexIO is a new on-chip peripheral available

More information

ARDUINO LEONARDO ETH Code: A000022

ARDUINO LEONARDO ETH Code: A000022 ARDUINO LEONARDO ETH Code: A000022 All the fun of a Leonardo, plus an Ethernet port to extend your project to the IoT world. You can control sensors and actuators via the internet as a client or server.

More information

8254 is a programmable interval timer. Which is widely used in clock driven digital circuits. with out timer there will not be proper synchronization

8254 is a programmable interval timer. Which is widely used in clock driven digital circuits. with out timer there will not be proper synchronization 8254 is a programmable interval timer. Which is widely used in clock driven digital circuits. with out timer there will not be proper synchronization between two devices. So it is very useful chip. The

More information

Avnet S6LX16 Evaluation Board and Maxim DAC/ADC FMC Module Reference Design

Avnet S6LX16 Evaluation Board and Maxim DAC/ADC FMC Module Reference Design Avnet S6LX16 Evaluation Board and Maxim DAC/ADC FMC Module Reference Design By Nasser Poureh, Avnet Technical Marketing Manager Mohammad Qazi, Maxim Application Engineer, SP&C Version 1.0 August 2010 1

More information

Capable of adjusting detection timings for start bit and data bit

Capable of adjusting detection timings for start bit and data bit PSoC Creator Component Datasheet Remote Control (PDL_RC) 1.0 Features Up to 2 Channels HDMI-CEC/ High Definition Multimedia Interface Consumer Electronics Control transmitter/receiver SIRCS/Sony Infrared

More information

Group 10 Programmable Sensor Output Simulator Progress Report #2

Group 10 Programmable Sensor Output Simulator Progress Report #2 Department of Electrical Engineering University of Victoria ELEC 499 Design Project Group 10 Programmable Sensor Output Simulator Progress Report #2 March 5, 2005 Submitted by: Group No.: 10 Team: Exfour

More information

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET 1 SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET Intel 8086/8088 Architecture Segmented Memory, Minimum and Maximum Modes of Operation, Timing Diagram, Addressing Modes, Instruction Set,

More information

Programming in the MAXQ environment

Programming in the MAXQ environment AVAILABLE The in-circuit debugging and program-loading features of the MAXQ2000 microcontroller combine with IAR s Embedded Workbench development environment to provide C or assembly-level application

More information

Introduction to Embedded Systems

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

INTERRUPTS in microprocessor systems

INTERRUPTS in microprocessor systems INTERRUPTS in microprocessor systems Microcontroller Power Supply clock fx (Central Proccesor Unit) CPU Reset Hardware Interrupts system IRQ Internal address bus Internal data bus Internal control bus

More information

Microcontroller basics

Microcontroller basics FYS3240 PC-based instrumentation and microcontrollers Microcontroller basics Spring 2017 Lecture #4 Bekkeng, 30.01.2017 Lab: AVR Studio Microcontrollers can be programmed using Assembly or C language In

More information

UART Devices. ECE 480: Design Team 3. Application Note. By: Hoyoung Jung. Date: 4/3/15

UART Devices. ECE 480: Design Team 3. Application Note. By: Hoyoung Jung. Date: 4/3/15 UART Devices ECE 480: Design Team 3 Application Note By: Hoyoung Jung Date: 4/3/15 Abstract The integration and communication of electronic systems requires the receiving and transmitting of data. In order

More information

Lecture 5: Computing Platforms. Asbjørn Djupdal ARM Norway, IDI NTNU 2013 TDT

Lecture 5: Computing Platforms. Asbjørn Djupdal ARM Norway, IDI NTNU 2013 TDT 1 Lecture 5: Computing Platforms Asbjørn Djupdal ARM Norway, IDI NTNU 2013 2 Lecture overview Bus based systems Timing diagrams Bus protocols Various busses Basic I/O devices RAM Custom logic FPGA Debug

More information

Arduino Prof. Dr. Magdy M. Abdelhameed

Arduino Prof. Dr. Magdy M. Abdelhameed Course Code: MDP 454, Course Name:, Second Semester 2014 Arduino What is Arduino? Microcontroller Platform Okay but what s a Microcontroller? Tiny, self-contained computers in an IC Often contain peripherals

More information

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0

Base Timer Channel (BT) Features. General Description. When to Use a PDL_BT Component 1.0 1.0 Features Four operating modes 16-bit PWM Timer 16-bit PPG Timer 16/32-bit Reload Timer 16/32-bit PWC Timer Trigger generation for ADC conversion General The Peripheral Driver Library (PDL) Base Timer

More information

The Atmel ATmega168A Microcontroller

The Atmel ATmega168A Microcontroller Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory The Atmel ATmega168A Microcontroller by Allan G. Weber 1 Introduction The Atmel ATmega168A is one member of

More information

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Microcontroller It is essentially a small computer on a chip Like any computer, it has memory,

More information

FEATURES DESCRIPTION FEATURES

FEATURES DESCRIPTION FEATURES FEATURES Two High Speed Counters Two Pulse Train Outputs Two Pulse Width Modulation Outputs 24 Sinking or Sourcing Inputs 16 Outputs 1 RS232 Port 2 RS485 Ports Supports Modbus RTU Protocol Communicate

More information

SquareWear Programming Reference 1.0 Oct 10, 2012

SquareWear Programming Reference 1.0 Oct 10, 2012 Content: 1. Overview 2. Basic Data Types 3. Pin Functions 4. main() and initsquarewear() 5. Digital Input/Output 6. Analog Input/PWM Output 7. Timing, Delay, Reset, and Sleep 8. USB Serial Functions 9.

More information

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, CISC and RISC processors etc. Knows the architecture and

More information

Xilinx Vivado/SDK Tutorial

Xilinx Vivado/SDK Tutorial Xilinx Vivado/SDK Tutorial (Laboratory Session 1, EDAN15) Flavius.Gruian@cs.lth.se March 21, 2017 This tutorial shows you how to create and run a simple MicroBlaze-based system on a Digilent Nexys-4 prototyping

More information

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

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

Prototyping Module Datasheet

Prototyping Module Datasheet Prototyping Module Datasheet Part Numbers: MPROTO100 rev 002 Zenseio LLC Updated: September 2016 Table of Contents Table of Contents Functional description PROTOTYPING MODULE OVERVIEW FEATURES BLOCK DIAGRAM

More information

AN SIO Tips and Tricks in PSoC 3 / PSoC 5. Application Note Abstract. Introduction

AN SIO Tips and Tricks in PSoC 3 / PSoC 5. Application Note Abstract. Introduction SIO Tips and Tricks in PSoC 3 / PSoC 5 Application Note Abstract AN60580 Author: Pavankumar Vibhute Associated Project: Yes Associated Part Family: CY8C38xxxx Software Version: PSoC Creator Associated

More information

keyestudio Keyestudio MEGA 2560 R3 Board

keyestudio Keyestudio MEGA 2560 R3 Board Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output

More information

MicroBolt. Microcomputer/Controller Featuring the Philips LPC2106 FEATURES

MicroBolt. Microcomputer/Controller Featuring the Philips LPC2106 FEATURES Microcomputer/Controller Featuring the Philips LPC2106 FEATURES Powerful 60 MHz, 32-bit ARM processing core. Pin compatible with 24 pin Stamp-like controllers. Small size complete computer/controller with

More information

Introduction to Arduino. Wilson Wingston Sharon

Introduction to Arduino. Wilson Wingston Sharon Introduction to Arduino Wilson Wingston Sharon cto@workshopindia.com Physical computing Developing solutions that implement a software to interact with elements in the physical universe. 1. Sensors convert

More information

Arduino Uno R3 INTRODUCTION

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

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet

HZX N03 Bluetooth 4.0 Low Energy Module Datasheet HZX-51822-16N03 Bluetooth 4.0 Low Energy Module Datasheet SHEN ZHEN HUAZHIXIN TECHNOLOGY LTD 2017.7 NAME : Bluetooth 4.0 Low Energy Module MODEL NO. : HZX-51822-16N03 VERSION : V1.0 1.Revision History

More information

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0

Multifunction Serial Interface (PDL_MFS) Features. General Description. When to Use a PDL_MFS Component. Quick Start 1.0 1.0 Features Configures the Multi-Function Serial (MFS) Interface to one of the following modes: UART (Asynchronous normal serial interface) Clock synchronous serial interface (SPI and I 2 S can be supported)

More information

ARDUINO LEONARDO WITH HEADERS Code: A000057

ARDUINO LEONARDO WITH HEADERS Code: A000057 ARDUINO LEONARDO WITH HEADERS Code: A000057 Similar to an Arduino UNO, can be recognized by computer as a mouse or keyboard. The Arduino Leonardo is a microcontroller board based on the ATmega32u4 (datasheet).

More information

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1

M68HC08 Microcontroller The MC68HC908GP32. General Description. MCU Block Diagram CPU08 1 M68HC08 Microcontroller The MC68HC908GP32 Babak Kia Adjunct Professor Boston University College of Engineering Email: bkia -at- bu.edu ENG SC757 - Advanced Microprocessor Design General Description The

More information

PSoC Filter Block Tutorial

PSoC Filter Block Tutorial PSoC Filter Block Tutorial Eric Ponce eaponce@mit.edu May 5, 2017 1 Introduction The goal of this tutorial is to take you through the steps to create a PSoC creator project that implements a digital low-pass

More information

Emulating an asynchronous serial interface (ASC0) via software routines

Emulating an asynchronous serial interface (ASC0) via software routines Microcontrollers ApNote AP165001 or æ additional file AP165001.EXE available Emulating an asynchronous serial interface (ASC0) via software routines Abstract: The solution presented in this paper and in

More information

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1

Module 1. Introduction. Version 2 EE IIT, Kharagpur 1 Module 1 Introduction Version 2 EE IIT, Kharagpur 1 Lesson 3 Embedded Systems Components Part I Version 2 EE IIT, Kharagpur 2 Structural Layout with Example Instructional Objectives After going through

More information

RT USB3000 Technical Description and User Manual. Revision 4.1.

RT USB3000 Technical Description and User Manual. Revision 4.1. RT USB3000 Technical Description and User Manual. Revision 4.1. 1. GENERAL INFORMATION...2 2. SPECIFICATIONS...3 3. OPERATING MODES...7 3.1. ADC MODE...7 3.2. DAC MODE...7 3.3. LOGIC ANALYZER MODE...8

More information

Computer Architecture CS 355 Busses & I/O System

Computer Architecture CS 355 Busses & I/O System Computer Architecture CS 355 Busses & I/O System Text: Computer Organization & Design, Patterson & Hennessy Chapter 6.5-6.6 Objectives: During this class the student shall learn to: Describe the two basic

More information

Filter_ADC_VDAC_poll Example Project Features. General Description. Development Kit Configuration

Filter_ADC_VDAC_poll Example Project Features. General Description. Development Kit Configuration 1.10 Features FIR low-pass filter at 6 khz with Blackman window, 85 taps Demonstrates the polling mode of the Filter component AC-coupled input provided bias with internal Opamp for maximum swing DMA used

More information

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas

Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Physics 364 Arduino Lab 1 Adapted from a lab originally written by Simon Hastings and Bill Ashmanskas Vithayathil/Kroll Introduction Last revised: 2014-11-12 This lab introduces you to an electronic development

More information

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine

MPLAB SIM. MPLAB IDE Software Simulation Engine Microchip Technology Incorporated MPLAB SIM Software Simulation Engine MPLAB SIM MPLAB IDE Software Simulation Engine 2004 Microchip Technology Incorporated MPLAB SIM Software Simulation Engine Slide 1 Welcome to this web seminar on MPLAB SIM, the software simulator that

More information

Color 7 click. PID: MIKROE 3062 Weight: 19 g

Color 7 click. PID: MIKROE 3062 Weight: 19 g Color 7 click PID: MIKROE 3062 Weight: 19 g Color 7 click is a very accurate color sensing Click board which features the TCS3472 color light to digital converter with IR filter, from ams. It contains

More information

Efficiency and memory footprint of Xilkernel for the Microblaze soft processor

Efficiency and memory footprint of Xilkernel for the Microblaze soft processor Efficiency and memory footprint of Xilkernel for the Microblaze soft processor Dariusz Caban, Institute of Informatics, Gliwice, Poland - June 18, 2014 The use of a real-time multitasking kernel simplifies

More information

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05 Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop Version 1.05 Agenda Introduction to ARM Cortex Cortex -M4F M4F and Peripherals Code Composer Studio Introduction to StellarisWare, I iti

More information

CENG-336 Introduction to Embedded Systems Development. Timers

CENG-336 Introduction to Embedded Systems Development. Timers CENG-336 Introduction to Embedded Systems Development Timers Definitions A counter counts (possibly asynchronous) input pulses from an external signal A timer counts pulses of a fixed, known frequency

More information

EMBEDDED SYSTEMS COURSE CURRICULUM

EMBEDDED SYSTEMS COURSE CURRICULUM On a Mission to Transform Talent EMBEDDED SYSTEMS COURSE CURRICULUM Table of Contents Module 1: Basic Electronics and PCB Software Overview (Duration: 1 Week)...2 Module 2: Embedded C Programming (Duration:

More information

LDR_Light_Switch5 -- Overview

LDR_Light_Switch5 -- Overview LDR_Light_Switch5 -- Overview OBJECTIVES After performing this lab exercise, learner will be able to: Interface LDR and pushbutton with Arduino to make light controlled switch Program Arduino board to:

More information

USB Interrupt Transfer Example PSoC 3 / PSoC 5

USB Interrupt Transfer Example PSoC 3 / PSoC 5 USB Interrupt Transfer Example PSoC 3 / PSoC 5 Project Objective This code example demonstrates how to perform USB Interrupt Transfer from a PC using the USB HID driver and PSoC 3 device. Overview USB

More information

ARDUINO YÚN Code: A000008

ARDUINO YÚN Code: A000008 ARDUINO YÚN Code: A000008 Arduino YÚN is the perfect board to use when designing connected devices and, more in general, Internet of Things projects. It combines the power of Linux with the ease of use

More information

Microcontroller and Embedded Systems:

Microcontroller and Embedded Systems: Microcontroller and Embedded Systems: Branches: 1. Electronics & Telecommunication Engineering 2. Electrical & Electronics Engineering Semester: 6 th Semester / 7 th Semester 1. Explain the differences

More information

Emulating I2C Bus Master by using FlexIO

Emulating I2C Bus Master by using FlexIO Freescale Semiconductor, Inc. Document Number: AN5133 Application Notes Rev. 0, 06/2015 Emulating I2C Bus Master by using FlexIO 1. Introduction This application note lists the steps to use the FlexIO

More information

Interrupts, timers and counters

Interrupts, timers and counters Interrupts, timers and counters Posted on May 10, 2008, by Ibrahim KAMAL, in Micro-controllers, tagged Most microcontrollers come with a set of ADD-ONs called peripherals, to enhance the functioning of

More information

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5092 P-DIP-8-1

Preliminary Data MOS IC. Type Ordering Code Package SDA Q67100-H5092 P-DIP-8-1 Nonvolatile Memory 1-Kbit E 2 PROM SDA 2516-5 Preliminary Data MOS IC Features Word-organized reprogrammable nonvolatile memory in n-channel floating-gate technology (E 2 PROM) 128 8-bit organization Supply

More information

Using UART in radio data transmission with the CDP-02 module By Tomihiko Uchikawa

Using UART in radio data transmission with the CDP-02 module By Tomihiko Uchikawa Using UART in radio data transmission with the CDP-02 module By Tomihiko Uchikawa Abstract: The first time a customer uses the CDP-TX-02N/RX-02N (called CDP-02 module) radio module, they are often uncertain

More information

Fall 2017 Project Assignment Speed Trap

Fall 2017 Project Assignment Speed Trap USCViterbi School of Engineering Ming Hsieh Department of Electrical Engineering EE 109L - Introduction to Embedded Systems Fall 2017 Project Assignment Speed Trap 1 Introduction This semester s class

More information

TP : System on Chip (SoC) 1

TP : System on Chip (SoC) 1 TP : System on Chip (SoC) 1 Goals : -Discover the VIVADO environment and SDK tool from Xilinx -Programming of the Software part of a SoC -Control of hardware peripheral using software running on the ARM

More information

1 Digital tools. 1.1 Introduction

1 Digital tools. 1.1 Introduction 1 Digital tools 1.1 Introduction In the past few years, enormous advances have been made in the cost, power, and ease of use of microcomputers and associated analog and digital circuits. It is now possible,

More information

EECS 373 Midterm 2 Fall 2018

EECS 373 Midterm 2 Fall 2018 EECS 373 Midterm 2 Fall 2018 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Nor did I discuss this exam with anyone after

More information

I also provide a purpose-built ADC/DAC board to support the lab experiment. This analogue I/O board in only needed for Part 3 and 4 of VERI.

I also provide a purpose-built ADC/DAC board to support the lab experiment. This analogue I/O board in only needed for Part 3 and 4 of VERI. 1 2 I also provide a purpose-built ADC/DAC board to support the lab experiment. This analogue I/O board in only needed for Part 3 and 4 of VERI. However I will now be examining the digital serial interface

More information

USB-4303 Specifications

USB-4303 Specifications Specifications Document Revision 1.0, February, 2010 Copyright 2010, Measurement Computing Corporation Typical for 25 C unless otherwise specified. Specifications in italic text are guaranteed by design.

More information

PIXI click PID: MIKROE Weight: 28 g

PIXI click PID: MIKROE Weight: 28 g PIXI click PID: MIKROE-2817 Weight: 28 g PIXI click is equipped with MAX11300 IC from Maxim Integrated, which features Maxim Integrated's versatile, proprietary PIXI technology - it is the industry's first

More information

The Microcontroller Idea Book

The Microcontroller Idea Book The following material is excerpted from: The Microcontroller Idea Book Circuits, Programs, & Applications featuring the 8052-BASIC Microcontroller by Jan Axelson copyright 1994, 1997 by Jan Axelson ISBN

More information

INTRODUCTION. Mechanical Considerations APPLICATION NOTE Z86E21 THERMAL PRINTER CONTROLLER ZILOG

INTRODUCTION. Mechanical Considerations APPLICATION NOTE Z86E21 THERMAL PRINTER CONTROLLER ZILOG ZILOG DESIGNING A LOW-COST THERMAL PRINTER USING THE Z86E21 TO CONTROL THE OPERATING CURRENT ON LOW-COST THERMAL PRINTERS PROVIDES DESIGN FLEXIBILITY AND HELPS SAFEGUARD PERFORMANCE. INTRODUCTION Compact

More information

ARDUINO MICRO WITHOUT HEADERS Code: A000093

ARDUINO MICRO WITHOUT HEADERS Code: A000093 ARDUINO MICRO WITHOUT HEADERS Code: A000093 Arduino Micro is the smallest board of the family, easy to integrate it in everyday objects to make them interactive. The Micro is based on the ATmega32U4 microcontroller

More information

Registers Format. 4.1 I/O Port Address

Registers Format. 4.1 I/O Port Address 4 Registers Format The detailed descriptions of the register format and structure of the ACL- 8112 are specified in this chapter. This information is quite useful for the programmer who wish to handle

More information

Easy Kit Board Manual

Easy Kit Board Manual User s Manual, V1.0, June2008 Easy Kit Board Manual Easy Kit - XC88x Microcontrollers Edition 2008-06 Published by Infineon Technologies AG, 81726 München, Germany Infineon Technologies AG 2008. All Rights

More information

Goal: We want to build an autonomous vehicle (robot)

Goal: We want to build an autonomous vehicle (robot) Goal: We want to build an autonomous vehicle (robot) This means it will have to think for itself, its going to need a brain Our robot s brain will be a tiny computer called a microcontroller Specifically

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

Nano RK And Zigduino. wnfa ta course hikaru4

Nano RK And Zigduino. wnfa ta course hikaru4 Nano RK And Zigduino wnfa ta course hikaru4 Today's outline Zigduino v.s. Firefly Atmel processor and the program chip I/O Interface on the board Atmega128rfa1, FTDI chip... GPIO, ADC, UART, SPI, I2C...

More information

Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman

Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman Lab 4: Digital Electronics BMEn 2151 Introductory Medical Device Prototyping Prof. Steven S. Saliterman Exercise 4-1: Familiarization with Lab Box Contents & Reference Books 4-1-1 CMOS Cookbook (In the

More information

Data sheet CPU 115 (115-6BL02)

Data sheet CPU 115 (115-6BL02) Data sheet CPU 115 (115-6BL02) Technical data Order no. 115-6BL02 Type CPU 115 General information Note - Features 16 (20) inputs 16 (12) outputs from which are 2 PWM 50 khz outputs 16 kb work memory,

More information

Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features

Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features Hello, and welcome to this presentation of the STM32 Universal Synchronous/Asynchronous Receiver/Transmitter Interface. It covers the main features of this USART interface, which is widely used for serial

More information

OEM API Specification

OEM API Specification OEM API Specification For Wasatch Photonics OEM Spectrometers WasatchDevices.com Revised 2016-08-26 Page 1 Revision Log Revision Date By Reason 1.0 2016-08-29 J. Traud Initial Release Contents General

More information

How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers

How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers APPLICATION NOTE How to Implement I 2 C Serial Communication Using Intel MCS-51 Microcontrollers SABRINA D QUARLES APPLICATIONS ENGINEER April 1993 Order Number 272319-001 Information in this document

More information

Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used

Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used Hello, and welcome to this presentation of the STM32 I²C interface. It covers the main features of this communication interface, which is widely used to connect devices such as microcontrollers, sensors,

More information

Contents. The USB Logic Tool... 2 Programming... 2 Using the USB Logic Tool... 6 USB Logic Tool Features... 7 Device Hardware...

Contents. The USB Logic Tool... 2 Programming... 2 Using the USB Logic Tool... 6 USB Logic Tool Features... 7 Device Hardware... USB Logic Tool Contents The USB Logic Tool... 2 Programming... 2 Using the USB Logic Tool... 6 USB Logic Tool Features... 7 Device Hardware... 11 The USB Logic Tool The device is meant to be a prototyping

More information

Measuring Duty Cycles with an Intel MCS-51 Microcontroller

Measuring Duty Cycles with an Intel MCS-51 Microcontroller Measuring Duty Cycles with an Intel MCS-51 Microcontroller Paul C. de Jong and Ferry N. Toth The fastest way of measuring duty cycles is with the aid of hardware. The MCS-51 type of microcontrollers offers

More information

Design of Embedded Systems Using 68HC12/11 Microcontrollers

Design of Embedded Systems Using 68HC12/11 Microcontrollers Design of Embedded Systems Using 68HC12/11 Microcontrollers Richard E. Haskell Table of Contents Preface...vii Chapter 1 Introducing the 68HC12...1 1.1 From Microprocessors to Microcontrollers...1 1.2

More information

Embedded Systems. 3. Hardware Software Interface. Lothar Thiele. Computer Engineering and Networks Laboratory

Embedded Systems. 3. Hardware Software Interface. Lothar Thiele. Computer Engineering and Networks Laboratory Embedded Systems 3. Hardware Software Interface Lothar Thiele Computer Engineering and Networks Laboratory Do you Remember? 3 2 3 3 High Level Physical View 3 4 High Level Physical View 3 5 What you will

More information

PIC-I/O Multifunction I/O Controller

PIC-I/O Multifunction I/O Controller J R KERR AUTOMATION ENGINEERING PIC-I/O Multifunction I/O Controller The PIC-I/O multifunction I/O controller is compatible with the PIC-SERVO and PIC-STEP motor control modules and provides the following

More information

6. Latches and Memories

6. Latches and Memories 6 Latches and Memories This chapter . RS Latch The RS Latch, also called Set-Reset Flip Flop (SR FF), transforms a pulse into a continuous state. The RS latch can be made up of two interconnected

More information