Initial Design for Spartan-3E Starter Kit
|
|
|
- Esther Gregory
- 9 years ago
- Views:
Transcription
1 Initial Design for Spartan-3E Starter Kit (LCD Display Control) Ken Chapman Xilinx Ltd 16 th February 2006 Rev.2
2 Limitations Limited Warranty and Disclaimer. These designs are provided to you as is. Xilinx and its licensors make and you receive no warranties or conditions, express, implied, statutory or otherwise, and Xilinx specifically disclaims any implied warranties of merchantability, non-infringement, or fitness for a particular purpose. Xilinx does not warrant that the functions contained in these designs will meet your requirements, or that the operation of these designs will be uninterrupted or error free, or that defects in the Designs will be corrected. Furthermore, Xilinx does not warrant or make any representations regarding use or the results of the use of the designs in terms of correctness, accuracy, reliability, or otherwise. Limitation of Liability. In no event will Xilinx or its licensors be liable for any loss of data, lost profits, cost or procurement of substitute goods or services, or for any special, incidental, consequential, or indirect damages arising from the use or operation of the designs or accompanying documentation, however caused and on any theory of liability. This limitation will apply even if Xilinx has been advised of the possibility of such damage. This limitation shall apply not-withstanding the failure of the essential purpose of any limited remedies herein. This design module is not supported by general Xilinx Technical support as an official Xilinx Product. Please refer any issues initially to the provider of the module. Any problems or items felt of value in the continued improvement of KCPSM3 or this reference design would be gratefully received by the author. Ken Chapman Senior Staff Engineer Spartan Applications Specialist [email protected] The author would also be pleased to hear from anyone using KCPSM3 or the UART macros with information about your application and how these macros have been useful. PicoBlaze Spartan-3E Starter Kit Initial Design 2
3 Design Overview This design is provided on the Spartan-3E Starter Kit when it is dispatched from the factory. It confirms that the board is operational by scrolling a simple message across the LCD display and allowing the LED s to be controlled by the rotary knob, press buttons and slide switches. The principle purpose of this document is to illustrate how PicoBlaze can be used to control the LCD display. It is hoped that the design may form the basis for future PicoBlaze designs as well as provide a general introduction to the board. Some exercises are suggested to encourage further self study. Try it now it only takes 30 seconds! It is recommended that you try this to become familiar with what the design does before continuing to read. If your board is fresh out of the box, then simply connect the power supply, switch on and see the design come to life. If it doesn t work (XC- DONE LED remains unlit), check that all 3 jumpers are installed in J30 and press the PROG button again. If your board has be reprogrammed since it arrived, you can still try the design quickly. As well as the source design files, a compiled configuration bit file is provided which you can immediately download into the Spartan XC3S500E device on your board. To make this task really easy the first time, unzip all the files provided into a directory and then. double click on install_s3esk_startup.bat. Assuming you have the Xilinx software installed, your board connected with the USB cable and the board powered (don t forget the switch), then this should open a DOS window and run impact in batch mode to configure the Spartan-3E with the design. Rotate knob to control position of the illuminated LED Press and release knob to toggle between control modes 4 press buttons Scrolling message 8 LEDs 4 slide switches West North South East SW3 SW2 SW1 SW0 Operate buttons and switches to illuminated each LED PicoBlaze Spartan-3E Starter Kit Initial Design 3
4 PicoBlaze Design Size The images and statistics on this page show that the design occupies just 113 slices and 1 BRAM. This is only 2.5% of the slices and 5% of the BRAMs available in an XC3S500E device and would still be less than 12% of the slices in the smallest XC3S100E device. MAP report Number of occupied Slices: 113 out of 4,656 2% Number of Block RAMs: 1 out of 20 5% Total equivalent gate count for design: 75,945 PicoBlaze makes extensive use of the distributed memory features of the Spartan-3E device leading to very high design efficiency. If this design was replicated to fill the XC3S500E device, it would represent the equivalent of over 1.5 million gates. Not bad for a device even marketing claims to be 500 thousand gates FPGA Editor view Floorplanner view XC3S500E PicoBlaze Spartan-3E Starter Kit Initial Design 4
5 Design Files The source files provided for the reference design are.. s3esk_startup.vhd Top level file and main description of hardware. Contains I/O required to disable other StrataFLASH memory device on the board which may otherwise interfere with the LCD display. s3esk_startup.ucf I/O constraints file for Spartan-3E Starter Kit and timing specifications for 50MHz clock. kcpsm3.vhd PicoBlaze processor for Spartan-3E devices. control.vhd Assembled program for PicoBlaze (stored in a Block memory) control.psm PicoBlaze program source assembler code s3esk_startup_rev2.mcs PROM programming file for this design for use with any of the FLASH storage devices Note: The file shown in green is not included with the reference design as it is provided with PicoBlaze download. Please visit the PicoBlaze Web site for your free copy of PicoBlaze, assembler, JTAG_loader and documentation. Hint - If you only want to write new programs for PicoBlaze using the existing hardware design, then simply use the JTAG_Loader utility supplied with PicoBlaze. The design supplied is already equipped with the JTAG loading circuit (see schematic on next page). PicoBlaze Spartan-3E Starter Kit Initial Design 5
6 PicoBlaze Circuit Diagram Vcc * StrataFLASH memory must be disabled to prevent interference with the LCD display. JTAG_loader allows rapid PicoBlaze code development. strataflash_oe strataflash_ce strataflash_we rotary_press * * * rotary_press_in lcd(7) lcd(6) lcd(5) lcd(4) input_ports in_port kcpsm3_reset address program_rom control proc_reset JTAG instruction clk address kcpsm3 processor instruction address out_port in_port write_strobe instruction out_port 7 output_ports led(7) led(6) led(5) led(4) led(3) led(2) led(1) led(0) bidirectional LCD data Pull-down resistors added to switch and press button inputs in UCF file. btn_west btn_north btn_south btn_east switch(3) switch(2) switch(1) switch(0) 1 0 interrupt clk reset interrupt clk read_strobe port_id interrupt_ack read_strobe port_id write_strobe lcd(7) lcd(6) lcd(5) lcd(4) lcd_rs rotary_filter & direction interrupt_control 6 lcd_rw lcd_e rotary_a rotary_b See reference design called Rotary Encoder Interface for Spartan-3E Starter Kit for details of this section. rotary_left rotary_event 50MHz clk interrupt_ack Synchronous design PicoBlaze Spartan-3E Starter Kit Initial Design 6
7 LCD Display Connections The board is set up to use the 4-wire data interface to the LCD character module. The data connections are shared with the StrataFLASH memory which must be disabled to prevent interference. This diagram shows the pin connections to the Spartan-3E device. lcd_rs lcd_rw lcd_e L18 L17 M18 LCD_RS LCD_RW LCD_E RS RW E +5v LCD Display D7 D6 D5 D4 390Ω 390Ω 390Ω 390Ω M15 lcd(7) P17 lcd(6) R16 lcd(5) R15 lcd(4) The LCD display is powered by a +5v supply. This means that if the display is read it will potentially drive the data signal lines above the maximum level (V CCO +0.5v) allowed for the Spartan-3E and StrataFLASH pins which are both powered by 3.3v. Therefore the display data pins have been connected via 390Ω series resistors to limit the current and voltage during read operations. Hint This design provides all the mechanisms to enable the display to be read but does not actually need to use it. Most applications only require write operations. +3.3v strataflash_oe C18 SF-OE OE# D11 SF-D11 strataflash_we D17 SF-WE WE# D10 SF-D10 strataflash_ce D16 SF-CE0 CE0 IC22 StrataFLASH D9 D8 SF-D9 SF-D8 Holding all three controls High ensures that the StrataFLASH memory does not interfere with the LCD display and also prevents inadvertent modifications to the memory contents. GND +5v RS RW E D4 D5 D6 D7 Hint - The signals can be easily monitored at the edge of the display if desired. PicoBlaze Spartan-3E Starter Kit Initial Design 7
8 LCD Display Timing Once mastered, the LCD display is a practical way to display a variety of information using standard ASCII characters and even allows you to create some of your own. However, these displays are not fast. This design scrolls the display at ½ second intervals and that really is the practical limit for clarity. This low performance rate also relates to the signals used for communication. Compared with a Spartan-3E operating at 50MHz, the display can appear extremely slow. This is where PicoBlaze can be used to efficiently implement timing delays as well as control the actual content of the display. 4-bit Write Operation This timing diagram shows a single write operation being performed. The diagram is approximately to scale showing the minimum times allowed for setup, hold and enable pulse length relative to a 50MHz clock (20ns period). The data D[7:4], Register Select (RS) and write control (RW) must be set up at least 40ns before the enable E goes High. Enable must be High for at least 230ns which is almost 12 clock cycles at 50MHz. Hint In a write only system, the R/W signal can be tied Low permanently. 50MHz RS D[7:4] R/W 0=command 1=data Valid Data 8-bit Write Operation After initial display communication is established, all data transfers are 8-bit ASCII character codes, data bytes or 8-bit addresses. Each 8-bit transfer obviously has to be decomposed into two 4-bit transfers which must be spaced by at least 1µs. Following an 8-bit write operation, there must be an interval of at least 40µs before the next communication. This delay must be increased to 1.64ms following a clear display command. E 40ns 230ns 10ns RS D[7:4] R/W E Upper 4-bits Lower 4-bits 1µs 40µs Exercise Implement a hardware based state machine which obeys the timing requirements for an 8-bit write of data including the 40µs delay. Modify the PicoBlaze interface and code to use your hardware circuit to write to the display. Under what circumstances would this approach be useful? PicoBlaze Spartan-3E Starter Kit Initial Design 8
9 PicoBlaze Timing In this design, PicoBlaze is used to implement the LCD communication 100% in software. The fact that a processor is sequential in nature means that the required delays can be formed simply by executing the appropriate number of instructions. PicoBlaze simplifies the task of writing code because all instructions execute in two clock cycles under all conditions. CONSTANT delay_1us_constant, 0B delay_1us: LOAD s0, delay_1us_constant wait_1us: SUB s0, 01 JUMP NZ, wait_1us RETURN delay_40us: LOAD s1, 28 wait_40us: CALL delay_1us SUB s1, 01 JUMP NZ, wait_40us RETURN LCD_pulse_E: XOR s4, LCD_E OUTPUT s4, LCD_output_port CALL delay_1us XOR s4, LCD_E OUTPUT s4, LCD_output_port RETURN The PicoBlaze program supplied implements a 1µs delay in software which it then uses as the base for all operations. This subroutine is invoked with a CALL delay_1us which then LOADs register s0 with 11 (0B hex). This in turn causes the SUB and JUMPNZ instructions to execute 11 times before RETURN completes the routine. This means that a delay of exactly 1µs is formed by the 25 instructions each taking two clock cycles at 50MHz. Creating other delays such as the 40µs required between 8-bit transfers is then a simple case of calling the delay_1us the appropriate number of times. In this case 40 (28 hex) times results in slightly more than 40µs due to the executions of instructions within the routine itself. Exercise Calculate the exact number of instructions, clock cycles and delay provided by the delay_40us subroutine. Prove your result either by simulation or preferably by running a test design on the Starter Kit and making measurements. E 1.08µs The enable E pulse is formed by setting the E signal High on the output port, waiting for 1µs and then driving E Low again. This oscilloscope screen shot shows a single enable pulse observed at the LCD display pin. Data bit D7 is also shown (see code on next page for more details). D7 Exercise 1µs is greater than the 230ns minimum requirement for the enable pulse width. Modify the code to generate an enable pulse which is 250ns. PicoBlaze Spartan-3E Starter Kit Initial Design 9
10 PicoBlaze Timing LCD_write_data: LOAD s4, s5 AND s4, F0 ;Enable=0 RS=0 Instruction, RW=0 Write, E=0 OR s4, 0C ;Enable=1 RS=1 Data, RW=0 Write, E=0 OUTPUT s4, LCD_output_port ;set up RS and RW >40ns before enable pulse CALL LCD_pulse_E ;write upper nibble CALL delay_1us ;wait >1us LOAD s4, s5 ;select lower nibble with SL1 s4 ;Enable=1 SL1 s4 ;RS=1 Data SL0 s4 ;RW=0 Write SL0 s4 ;E=0 OUTPUT s4, LCD_output_port ;set up RS and RW >40ns before enable pulse CALL LCD_pulse_E ;write lower nibble CALL delay_40us ;wait >40us LOAD s4, F0 ;Enable=0 RS=0 Instruction, RW=0 Write, E=0 OUTPUT s4, LCD_output_port ;Release master enable RETURN The writing of 8-bit data is achieved using the delays and enable pulse routines together with appropriate setting the D[7:4] data bits, RW=0 and RS=1. Writing command instructions to the display is very similar but requires that RS=0. >1µs between E pulses writing upper and then lower nibbles 8-bit writes. >1µs between E pulses E 44µs D7 1µs/div PicoBlaze Spartan-3E Starter Kit Initial Design 10
11 Display Setup Before the display can be used for the first time, there is an initialisation sequence which must be followed to allow communication to take place. These sequences are ideally suited to an 8-bit processor such as PicoBlaze. Besides the relative complexity of the sequence, the process is only executed once and then the processor is available to perform other tasks including the control on the display itself. Hint - The PicoBlaze code provided includes a subroutine called LCD_reset which performs this initialisation sequence. The first part of this sequence is to establish that the 4-wire data interface is being used. Note that some of these delays are in milliseconds. Power on Wait 15ms 4-bit write = 3 hex Wait 4.1ms 4-bit write = 3 hex Wait 100µs 4-bit write = 3 hex Wait 40µs 4-bit write = 2 hex Wait 40µs The 4-wire interface is now established which means that all subsequent communication is formed of the 8-bit writes described previously. Note that these writes are all commands and therefore RS must be Low. The next part of the sequence is used to establish how the display should operate. Function Set 28 hex Entry Mode 06 hex Display Control 0C hex Display Clear 01 hex Wait 1.64ms Function Set = 28 hex : This code describes the display type as being 2 lines, 5 7 dots per character and using 4-wire communication (again). Entry Mode = 06 hex Display Control = 0C hex Do not shift display left or right when writing a character Cursor blinking off (character flashes) Increment cursor position when writing a character Cursor (line under character) is off Display is ON Exercise Implement a hardware state machine which can perform the LCD initialisation sequence. Compare the size of your implementation with the 96 slices required to implement a PicoBlaze processor. Does the claim of the first paragraph hold true? PicoBlaze Spartan-3E Starter Kit Initial Design 11
12 Display Control The most common operation is simply to write ASCII characters to be displayed. These are considered to be data and hence RS will be High. With the display set up as described previously, writing a series of characters will automatically result in their display on the top line of the display. LOAD s5, character_s CALL LCD_write_data LOAD s5, character_p CALL LCD_write_data LOAD s5, character_a CALL LCD_write_data LOAD s5, character_r CALL LCD_write_data LOAD s5, character_t CALL LCD_write_data LOAD s5, character_a CALL LCD_write_data LOAD s5, character_n Following the execution of this code, the display will look like this. S P A R T A N S S S S S S S S S Cursor is here waiting for the next character to be written S S S S S S S S S S S S S S S S If you continue to write characters, they will eventually fall off the end of the first line but they will not automatically appear on the second line. This is because the memory map of this display is not consecutive from line to line. The diagram below shows the memory address of each character location. To set the cursor in the position required for subsequent characters to be displayed, the 8-bit memory address of that position must be written to the display as a command (RS=0). Note that this can not be confused with any of the other commands since the MSB is always 1 in these addresses. The ability to move to any particular location and write a few characters is ideal for the display of various information as it becomes available such as time, date, measurements and short status messages A 8B 8C 8D 8E 8F C0 C1 C2 C3 C4 C5 C6 C7 C8 C9 CA CB CC CD CE CF A B C D E F Hint - The PicoBlaze code provided includes a subroutine called LCD_cursor. Load register s5 with the desired position. The upper nibble (value 1 or 2) will define the line and the lower nibble the character position on the line (0 to F). E.g. s5 = 2B will position the cursor at the 12 th position on line 2. Exercise Although this design does make use of the scrolling display feature, it really is not recommended other than for simple messages as used in this example. Analyse the supplied PicoBlaze code and LCD display controller data sheets to determine how scrolling is achieved. Implement a design in which the message is greater than 40 characters per line (Hint The memory map is actually 40 locations per line. Addresses 80-A7 and C0-E7). PicoBlaze Spartan-3E Starter Kit Initial Design 12
13 Subroutines are used for delays and LCD display Complete PicoBlaze Program This information is intended to give a guide to the way in which the PicoBlaze assembler code is organised. It is not intended to be a lesson in how to write assembler code or explain how PicoBlaze works. Please refer to the documentation for PicoBlaze (KCPSM3). Main program There are comments contained in the control.psm file which should help explain the finer points. Initialise LCD display Enable Interrupts Write full messages to display memory SPARTAN-3E STARTER KIT Set walking 1 LED pattern in SPM = 08Hex Set mode to rotary control in SPM >0 Load counter with 500(ms) Read rotary press switch and test state up Fetch mode from SPM and test Call appropriate routine Delay 1ms Decrement counter and test for zero 0 down Read switches and Buttons Output pattern to LEDs Read rotary press switch Shift LCD display up and test state PicoBlaze Spartan-3E Starter Kit Initial Design 13 down Switch/button function Program maintains 500ms shifting of LCD display during mode switching even if button is held down Fetch mode from SPM Toggle mode Store mode in SPM Delay 1ms Decrement counter and test for zero >0 0 Shift LCD display Load counter with 500 Rotary function Fetch walking 1 pattern from SPM Fetch rotary information from SPM Test event pending flag No event Event clear flag Shift 1 left or right Store walking 1 pattern in SPM Output pattern to LEDs Scratch Pad Memory (SPM) Interrupt Service Routine Fetch mode from SPM and test Read direction of rotary encoder Set event pending flag Store direction and event in SPM Interrupts occur every time the rotary control is rotated left or right. The interrupt service routine (ISR) reads a value set into SPM by the main program to determine if the LED display mode is using the rotary control or slide/press button switches to determine if the interrupt is relevant. If the rotary control is relevant, then the direction of rotation is read from the input port and stored together with an event pending flag bit. The main program monitors the SPM to determine if the LED pattern should change and in what direction. The position of the walking 1 used in the rotary control mode is also remembered in scratch pad memory. Switch/button mode Rotary mode
Rotary Encoder Interface for Spartan-3E Starter Kit
Rotary Encoder Interface for Spartan-3E Starter Kit Ken Chapman Xilinx Ltd 2 th February 26 Rev.2 With thanks to Peter Alfke (Xilinx Inc.) Limitations Limited Warranty and Disclaimer. These designs are
USER GUIDE EDBG. Description
USER GUIDE EDBG Description The Atmel Embedded Debugger (EDBG) is an onboard debugger for integration into development kits with Atmel MCUs. In addition to programming and debugging support through Atmel
Technical Note. Micron NAND Flash Controller via Xilinx Spartan -3 FPGA. Overview. TN-29-06: NAND Flash Controller on Spartan-3 Overview
Technical Note TN-29-06: NAND Flash Controller on Spartan-3 Overview Micron NAND Flash Controller via Xilinx Spartan -3 FPGA Overview As mobile product capabilities continue to expand, so does the demand
Reading User Data from Configuration PROMs
Application Note: XC18V00, and Platform Flash POMs; Spartan-II, Spartan-3, Virtex, and Virtex-II FPGA Families XAPP694 (v1.1.1) November 19, 2007 eading User Data from Configuration POMs Summary This application
APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features
APPLICATION NOTE AT07175: SAM-BA Bootloader for SAM D21 Atmel SAM D21 Introduction Atmel SAM Boot Assistant (Atmel SAM-BA ) allows In-System Programming (ISP) from USB or UART host without any external
User Manual. AS-Interface Programmer
AS-Interface Programmer Notice: RESTRICTIONS THE ZMD AS-INTERFACE PROGRAMMER HARDWARE AND ZMD AS-INTERFACE PROGRAMMER SOFTWARE IS DESIGNED FOR IC EVALUATION, LABORATORY SETUP AND MODULE DEVELOPMENT ONLY.
CHAPTER 11: Flip Flops
CHAPTER 11: Flip Flops In this chapter, you will be building the part of the circuit that controls the command sequencing. The required circuit must operate the counter and the memory chip. When the teach
AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE
Atmel AVR 8-bit Microcontroller AVR151: Setup and Use of the SPI APPLICATION NOTE Introduction This application note describes how to set up and use the on-chip Serial Peripheral Interface (SPI) of the
The 104 Duke_ACC Machine
The 104 Duke_ACC Machine The goal of the next two lessons is to design and simulate a simple accumulator-based processor. The specifications for this processor and some of the QuartusII design components
Lab 1: Introduction to Xilinx ISE Tutorial
Lab 1: Introduction to Xilinx ISE Tutorial This tutorial will introduce the reader to the Xilinx ISE software. Stepby-step instructions will be given to guide the reader through generating a project, creating
Measuring Resistance Using Digital I/O
Measuring Resistance Using Digital I/O Using a Microcontroller for Measuring Resistance Without using an ADC. Copyright 2011 John Main http://www.best-microcontroller-projects.com Page 1 of 10 Table of
KCPSM6 Instruction Set
KPSM6 Instruction Set aaa : 2-bit address to FFF kk : 8-bit constant to FF pp : 8-bit port ID to FF p : 4-bit port ID to F ss : 8-bit scratch pad location to FF x : Register within bank s to sf y : Register
8051 Flash Microcontroller. Application Note. A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller
A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller Features Temperature range -55 C to +125 C in.5 C increments LCD Display RS485 Interface Applicable to any AT89LP Microcontroller C and
AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS
AVR1309: Using the XMEGA SPI Features Introduction to SPI and the XMEGA SPI module Setup and use of the XMEGA SPI module Implementation of module drivers Polled master Interrupt controlled master Polled
Xilinx ISE. <Release Version: 10.1i> Tutorial. Department of Electrical and Computer Engineering State University of New York New Paltz
Xilinx ISE Tutorial Department of Electrical and Computer Engineering State University of New York New Paltz Fall 2010 Baback Izadi Starting the ISE Software Start ISE from the
8051 MICROCONTROLLER COURSE
8051 MICROCONTROLLER COURSE Objective: 1. Familiarization with different types of Microcontroller 2. To know 8051 microcontroller in detail 3. Programming and Interfacing 8051 microcontroller Prerequisites:
AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR1922: Xplain Board Controller Firmware Features USB interface - Mass-storage to on-board DataFlash memory Atmel AVR XMEGA TM reset control 1 Introduction The Xplain board controller, an AT90USB1287,
Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts)
Dr. Greg Tumbush, [email protected] Lab #5: Design Example: Keypad Scanner and Encoder - Part 1 (120 pts) Objective The objective of lab assignments 5 through 9 are to systematically design and implement
Accurate Measurement of the Mains Electricity Frequency
Accurate Measurement of the Mains Electricity Frequency Dogan Ibrahim Near East University, Faculty of Engineering, Lefkosa, TRNC [email protected] Abstract The frequency of the mains electricity supply
USB - FPGA MODULE (PRELIMINARY)
DLP-HS-FPGA LEAD-FREE USB - FPGA MODULE (PRELIMINARY) APPLICATIONS: - Rapid Prototyping - Educational Tool - Industrial / Process Control - Data Acquisition / Processing - Embedded Processor FEATURES:
APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.
APPLICATION NOTE Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer Introduction Atmel AVR 8-bit Microcontroller This application note describes how to implement a real time counter (RTC)
USER GUIDE Programming Adapter Cable for Fujitsu Flash Microcontroller- F²MC-16LX/FR Family Fujitsu Microelectronics America, Inc.
USER GUIDE Programming Adapter Cable for Fujitsu Flash Microcontroller- F²MC-16LX/FR Family Fujitsu Microelectronics America, Inc. 1 Revision History Revision # Date Comment 1.0 03.25.2001 New Document
Designing VM2 Application Boards
Designing VM2 Application Boards This document lists some things to consider when designing a custom application board for the VM2 embedded controller. It is intended to complement the VM2 Datasheet. A
ic-mq EVAL MQ1D EVALUATION BOARD DESCRIPTION
Rev A3, Page 1/7 ORDERING INFORMATION Type Order Designation Description and Options Evaluation Board ic-mq EVAL MQ1D ic-mq Evaluation Board ready to operate, accessible through GUI via PC adapter Software
MICROPROCESSOR AND MICROCOMPUTER BASICS
Introduction MICROPROCESSOR AND MICROCOMPUTER BASICS At present there are many types and sizes of computers available. These computers are designed and constructed based on digital and Integrated Circuit
150127-Microprocessor & Assembly Language
Chapter 3 Z80 Microprocessor Architecture The Z 80 is one of the most talented 8 bit microprocessors, and many microprocessor-based systems are designed around the Z80. The Z80 microprocessor needs an
SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.
SKP16C62P Tutorial 1 Software Development Process using HEW Renesas Technology America Inc. 1 Overview The following tutorial is a brief introduction on how to develop and debug programs using HEW (Highperformance
Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations
C51 General Information about Bootloader and In System Programming Overview This document describes the Atmel Bootloaders for 8051 family processors. Abreviations ISP: In-System Programming API : Applications
PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1
UNIT 22: PROGRAMMABLE LOGIC CONTROLLERS Unit code: A/601/1625 QCF level: 4 Credit value: 15 TUTORIAL OUTCOME 2 Part 1 This work covers part of outcome 2 of the Edexcel standard module. The material is
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
Evaluation Board for the AAT1275 Boost Converter with USB Power Switch
Introduction EVALUATION BOARD DATA SHEET The AAT1275 evaluation board provides a platform for test and evaluation of the AAT1275 switching boost converter with USB Power Switch. The evaluation board demonstrates
AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction
AVR317: Using the Master SPI Mode of the USART module Features Enables Two SPI buses in one device Hardware buffered SPI communication Polled communication example Interrupt-controlled communication example
FN:PCMCSET-M1.DOC. PCMCSET SOFTWARE for ATS Master Clocks System Clocks and Displays
FN:PCMCSET-M1.DOC PCMCSET SOFTWARE for ATS Master Clocks System Clocks and Displays ATS FREE SOFTWARE AGREEMENT Applied Technical Systems (ATS) grants you the right to use this software according to the
Manchester Encoder-Decoder for Xilinx CPLDs
Application Note: CoolRunner CPLDs R XAPP339 (v.3) October, 22 Manchester Encoder-Decoder for Xilinx CPLDs Summary This application note provides a functional description of VHDL and Verilog source code
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs
Develop a Dallas 1-Wire Master Using the Z8F1680 Series of MCUs AN033101-0412 Abstract This describes how to interface the Dallas 1-Wire bus with Zilog s Z8F1680 Series of MCUs as master devices. The Z8F0880,
AT88CK490 Evaluation Kit
AT88CK490 Evaluation Kit CryptoAuthentication USB Dongle HARDWARE USER GUIDE Atmel AT88CK490 CryptoAuthentication Evaluation Kit Introduction The Atmel AT88CK490 CryptoAuthentication Evaluation Kit is
Post-Configuration Access to SPI Flash Memory with Virtex-5 FPGAs Author: Daniel Cherry
Application Note: Virtex-5 Family XAPP1020 (v1.0) June 01, 2009 Post-Configuration Access to SPI Flash Memory with Virtex-5 FPGAs Author: Daniel Cherry Summary Virtex -5 FPGAs support direct configuration
[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]
FG085 minidds Function Generator Manual of Operation Applicable Models: 08501, 08501K, 08502K, 08503, 08503K Applicable Firmware Version: 1 ) 113-08501-100 or later (for U5) 2 ) 113-08502-030 or later
AN11008 Flash based non-volatile storage
Rev. 1 5 January 2011 Application note Document information Info Content Keywords Flash, EEPROM, Non-Volatile Storage Abstract This application note describes the implementation and use of a library that
8254 PROGRAMMABLE INTERVAL TIMER
PROGRAMMABLE INTERVAL TIMER Y Y Y Compatible with All Intel and Most Other Microprocessors Handles Inputs from DC to 10 MHz 8 MHz 8254 10 MHz 8254-2 Status Read-Back Command Y Y Y Y Y Six Programmable
SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE
SMART ARM-based Microcontrollers SMARTCARD XPRO USER GUIDE Preface Atmel SMARTCARD Xplained Pro is an extension board to the Atmel Xplained Pro evaluation platform. Atmel SMARTCARD Xplained Pro is designed
8-Bit Flash Microcontroller for Smart Cards. AT89SCXXXXA Summary. Features. Description. Complete datasheet available under NDA
Features Compatible with MCS-51 products On-chip Flash Program Memory Endurance: 1,000 Write/Erase Cycles On-chip EEPROM Data Memory Endurance: 100,000 Write/Erase Cycles 512 x 8-bit RAM ISO 7816 I/O Port
Lab 17: Building a 4-Digit 7-Segment LED Decoder
Phys2303 L.A. Bumm [Nexys 1.1.2] Lab 17 (p1) Lab 17: Building a 4-Digit 7-Segment LED Decoder In this lab your will make 4 test circuits, the 4-digit 7-segment decoder, and demonstration circuit using
USER GUIDE. ZigBit USB Stick User Guide. Introduction
USER GUIDE ZigBit USB Stick User Guide Introduction This user guide describes how to get started with the Atmel ZigBit USB sticks. The ZigBit USB sticks is targeted for evaluating the USB features of the
Universal Wireless Effects Controller USER S GUIDE SA115
Universal Wireless Effects Controller USER S GUIDE SA115 Welcome Thank you for purchasing this Hot Hand 3 Universal Wireless Effects Controller. We hope that the new functionality of the Hot Hand 3 unit
PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL
Rev. D PRODUCTIVITY THROUGH INNOVATION 600 CONTROL DIRECT DRIVE TECHNICAL/OPERATION MANUAL 10 BORIGHT AVENUE, KENILWORTH NEW JERSEY 07033 TELEPHONE: 800-524-0273 FAX: 908-686-9317 TABLE OF CONTENTS Page
PC Base Adapter Daughter Card UART GPIO. Figure 1. ToolStick Development Platform Block Diagram
TOOLSTICK VIRTUAL TOOLS USER S GUIDE RELEVANT DEVICES 1. Introduction The ToolStick development platform consists of a ToolStick Base Adapter and a ToolStick Daughter card. The ToolStick Virtual Tools
Programming A PLC. Standard Instructions
Programming A PLC STEP 7-Micro/WIN32 is the program software used with the S7-2 PLC to create the PLC operating program. STEP 7 consists of a number of instructions that must be arranged in a logical order
C8051F020 Utilization in an Embedded Digital Design Project Course. Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia
C8051F020 Utilization in an Embedded Digital Design Project Course Daren R. Wilcox Southern Polytechnic State University Marietta, Georgia Abstract In this paper, the utilization of the C8051F020 in an
MICROPROCESSOR. Exclusive for IACE Students www.iace.co.in iacehyd.blogspot.in Ph: 9700077455/422 Page 1
MICROPROCESSOR A microprocessor incorporates the functions of a computer s central processing unit (CPU) on a single Integrated (IC), or at most a few integrated circuit. It is a multipurpose, programmable
Jianjian Song LogicWorks 4 Tutorials (5/15/03) Page 1 of 14
LogicWorks 4 Tutorials Jianjian Song Department of Electrical and Computer Engineering Rose-Hulman Institute of Technology March 23 Table of Contents LogicWorks 4 Installation and update...2 2 Tutorial
Technical Manual. FAN COIL CONTROLLER COOLING or HEATING ANALOG or PWM Art. 119914 631001A
COOLING or HEATING ANALOG or PWM Art. 119914 631001A TOTAL AUTOMATION GENERAL TRADING CO. LLC SUITE NO.506, LE SOLARIUM OFFICE TOWER, SILICON OASIS, DUBAI. UAE. Tel. +971 4 392 6860, Fax. +971 4 392 6850
Bidirectional wireless communication using EmbedRF
Bidirectional wireless communication using EmbedRF 1. Tools you will need for this application note... 2 2. Introduction... 3 3. Connect EmbedRF Board to USB Interface Board... 3 4. Install and Run EmbedRF
AN10866 LPC1700 secondary USB bootloader
Rev. 2 21 September 2010 Application note Document information Info Content Keywords LPC1700, Secondary USB Bootloader, ISP, IAP Abstract This application note describes how to add a custom secondary USB
APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description
APPLICATION NOTE Atmel AT259: In House Unit with Bluetooth Low Energy Module Hardware User Guide Features 8-bit Atmel Microcontroller Low power consumption Interface with BLE with UART Bi-direction wake
2011, The McGraw-Hill Companies, Inc. Chapter 3
Chapter 3 3.1 Decimal System The radix or base of a number system determines the total number of different symbols or digits used by that system. The decimal system has a base of 10 with the digits 0 through
AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR033: Getting Started with the CodeVisionAVR C Compiler Features Installing and Configuring CodeVisionAVR to Work with the Atmel STK 500 Starter Kit and AVR Studio Debugger Creating a New Project Using
udrive-usd-g1 Embedded DOS micro-drive Module Data Sheet
4D SYSTEMS udrie-usd-g1 Embedded DOS micro-drive Module Document Date: 2nd April 2009 Document Revision: 2.0 Page 1 of 9 udrie-usd-g1 Embedded DOS micro-drive 4D SYSTEMS Description Features The is an
Serial Communications
Serial Communications 1 Serial Communication Introduction Serial communication buses Asynchronous and synchronous communication UART block diagram UART clock requirements Programming the UARTs Operation
MAX II ISP Update with I/O Control & Register Data Retention
MAX II ISP Update with I/O Control & Register Data Retention March 2006, ver 1.0 Application Note 410 Introduction MAX II devices support the real-time in-system mability (ISP) feature that allows you
PL-1, Pocket Logger 11-0135B
PL-1, Pocket Logger 1 PL-1... 2 2 Wiring... 3 2.1.1 Single Innovate Device Relay Wiring Instructions... 3 3 Mounting... 4 4 Connecting the PL-1 to the MTS serial chain... 4 5 Recording... 5 6 LogWorks...
Tutorial for MPLAB Starter Kit for PIC18F
Tutorial for MPLAB Starter Kit for PIC18F 2006 Microchip Technology Incorporated. All Rights Reserved. WebSeminar Title Slide 1 Welcome to the tutorial for the MPLAB Starter Kit for PIC18F. My name is
MicroMag3 3-Axis Magnetic Sensor Module
1008121 R01 April 2005 MicroMag3 3-Axis Magnetic Sensor Module General Description The MicroMag3 is an integrated 3-axis magnetic field sensing module designed to aid in evaluation and prototyping of PNI
Block 3 Size 0 KB 0 KB 16KB 32KB. Start Address N/A N/A F4000H F0000H. Start Address FA000H F8000H F8000H F8000H. Block 2 Size 8KB 16KB 16KB 16KB
APPLICATION NOTE M16C/26 1.0 Abstract The following article describes using a synchronous serial port and the FoUSB (Flash-over-USB ) Programmer application to program the user flash memory of the M16C/26
HD44780-Based LCD Modules. Introduction to the LM018L
HD44780-Based LCD Modules Hitachi LM018L 40 character x 2 lines Built-in LSI HD44780 controller +5volt single power supply Display Colour: Grey LM018L: Introduction Interfacing Display Pattern and Character
User's Guide. Integrating Sound Level Datalogger. Model 407780. Introduction
User's Guide 99 Washington Street Melrose, MA 02176 Phone 781-665-1400 Toll Free 1-800-517-8431 Visit us at www.testequipmentdepot.com Back to the Extech 407780 Product Page Integrating Sound Level Datalogger
Keep it Simple Timing
Keep it Simple Timing Support... 1 Introduction... 2 Turn On and Go... 3 Start Clock for Orienteering... 3 Pre Start Clock for Orienteering... 3 Real Time / Finish Clock... 3 Timer Clock... 4 Configuring
Parallax Serial LCD 2 rows x 16 characters Non-backlit (#27976) 2 rows x 16 characters Backlit (#27977) 4 rows x 20 characters Backlit (#27979)
599 Menlo Drive, Suite 100 Rocklin, California 95765, USA Office: (916) 624-8333 Fax: (916) 624-8003 General: [email protected] Technical: [email protected] Web Site: www.parallax.com Educational: www.stampsinclass.com
Computer Gateway Specification and Technical Data
L Computer Gateway Specification and Technical Data CG03-500 R500 3/96 detergant coffee chocolate Page 2 TDC 3000X Computer Gateway Specification and Technical Data Introduction This publication defines
AN10850. LPC1700 timer triggered memory to GPIO data transfer. Document information. LPC1700, GPIO, DMA, Timer0, Sleep Mode
LPC1700 timer triggered memory to GPIO data transfer Rev. 01 16 July 2009 Application note Document information Info Keywords Abstract Content LPC1700, GPIO, DMA, Timer0, Sleep Mode This application note
The components. E3: Digital electronics. Goals:
E3: Digital electronics Goals: Basic understanding of logic circuits. Become familiar with the most common digital components and their use. Equipment: 1 st. LED bridge 1 st. 7-segment display. 2 st. IC
Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]
Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Users Manual Robokits India [email protected] http://www.robokitsworld.com Page 1 Bluetooth + USB 16 Servo Controller is used to control up to
RDF1. RF Receiver Decoder. Features. Applications. Description. Ordering Information. Part Number Description Packages available
RDF1 RF Receiver Decoder Features Complete FM Receiver and Decoder. Small Form Factor Range up to 200 Metres* Easy Learn Transmitter Feature. Learns 40 transmitter Switches 4 Digital and 1 Serial Data
GAUGEMASTER PRODIGY EXPRESS
GAUGEMASTER PRODIGY EXPRESS DCC01 USER MANUAL Version 1.1 2011 T A B L E O F C O N T E N T S 1 Getting Started Introduction Specifications and Features Quick Start Connecting to Your Layout Running a Loco
TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL
TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL w w w. c d v g r o u p. c o m CA-ETHR-A: TCP/IP Module Installation Manual Page Table of Contents Introduction...5 Hardware Components... 6 Technical Specifications...
Lab Experiment 1: The LPC 2148 Education Board
Lab Experiment 1: The LPC 2148 Education Board 1 Introduction The aim of this course ECE 425L is to help you understand and utilize the functionalities of ARM7TDMI LPC2148 microcontroller. To do that,
AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel
AVR115: Data Logging with Atmel File System on ATmega32U4 Microcontrollers 01101010 11010101 01010111 10010101 Application Note 1 Introduction Atmel provides a File System management for AT90USBx and ATmegaxxUx
Production Flash Programming Best Practices for Kinetis K- and L-series MCUs
Freescale Semiconductor Document Number:AN4835 Application Note Rev 1, 05/2014 Production Flash Programming Best Practices for Kinetis K- and L-series MCUs by: Melissa Hunter 1 Introduction This application
AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction
AVR305: Half Duplex Compact Software UART Features 32 Words of Code, Only Handles Baud Rates of up to 38.4 kbps with a 1 MHz XTAL Runs on Any AVR Device Only Two Port Pins Required Does Not Use Any Timer
PART B QUESTIONS AND ANSWERS UNIT I
PART B QUESTIONS AND ANSWERS UNIT I 1. Explain the architecture of 8085 microprocessor? Logic pin out of 8085 microprocessor Address bus: unidirectional bus, used as high order bus Data bus: bi-directional
Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction
Atmel AVR4903: ASF - USB Device HID Mouse Application Features USB 2.0 compliance - Chapter 9 compliance - HID compliance - Low-speed (1.5Mb/s) and full-speed (12Mb/s) data rates Standard USB HID mouse
INSTRUCTIONS FOR MAGNUM DS TRIP UNIT TESTING USING TEST KIT SYLES 140D481G02R, 140D481G02RR, 140D481G03 AND 140D481G04
I.L. 32-693 A INSTRUCTIONS FOR MAGNUM DS TRIP UNIT TESTING USING TEST KIT SYLES 140D481G02R, 140D481G02RR, 140D481G03 AND 140D481G04 DANGER DO NOT ATTEMPT TO INSTALL OR PERFORM MAINTE- NANCE ON EQUIPMENT
2.0 Command and Data Handling Subsystem
2.0 Command and Data Handling Subsystem The Command and Data Handling Subsystem is the brain of the whole autonomous CubeSat. The C&DH system consists of an Onboard Computer, OBC, which controls the operation
(Refer Slide Time: 00:01:16 min)
Digital Computer Organization Prof. P. K. Biswas Department of Electronic & Electrical Communication Engineering Indian Institute of Technology, Kharagpur Lecture No. # 04 CPU Design: Tirning & Control
- 35mA Standby, 60-100mA Speaking. - 30 pre-defined phrases with up to 1925 total characters.
Contents: 1) SPE030 speech synthesizer module 2) Programming adapter kit (pcb, 2 connectors, battery clip) Also required (for programming) : 4.5V battery pack AXE026 PICAXE download cable Specification:
How To Use An Ams 5812 Pressure Sensor With A Usb Starter Kit
User Guide USB Starter Kit AMS 5812 Phone:+49 (0)6131/91 0730-0 Fax: +49 (0)6131/91 073-30 Internet: E Mail: [email protected] Analog Microelectronics GmbH An der Fahrt 13, D 55124 Mainz May 2012 - Rev.
Temperature & Humidity SMS Alert Controller
Temperature & Humidity SMS Alert Controller Version 7 [Windows XP/Vista/7] GSMS THR / GSMS THP Revision 110507 [Version 2.2.14A] ~ 1 ~ SMS Alarm Messenger Version 7 [Windows XP/Vista/7] SMS Pro series
LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters
LAB #4 Sequential Logic, Latches, Flip-Flops, Shift Registers, and Counters LAB OBJECTIVES 1. Introduction to latches and the D type flip-flop 2. Use of actual flip-flops to help you understand sequential
Flexible Active Shutter Control Interface using the MC1323x
Freescale Semiconductor Document Number: AN4353 Application Note Rev. 0, 9/2011 Flexible Active Shutter Control Interface using the MC1323x by: Dennis Lui Freescale Hong Kong 1 Introduction This application
4 Character 5x7 LED Matrix Display
Mini project report on 4 Character 5x7 LED Matrix Display Submitted by Agarwal Vikas, MTech II, CEDT K.Sreenivasulu M.E (Micro) II, CEDT CENTRE FOR ELECTRONICS DESIGN AND TECHNOLOGY INDIAN INSTITUTE OF
ETEC 2301 Programmable Logic Devices. Chapter 10 Counters. Shawnee State University Department of Industrial and Engineering Technologies
ETEC 2301 Programmable Logic Devices Chapter 10 Counters Shawnee State University Department of Industrial and Engineering Technologies Copyright 2007 by Janna B. Gallaher Asynchronous Counter Operation
SYMETRIX SOLUTIONS: TECH TIP August 2015
String Output Modules The purpose of this document is to provide an understanding of operation and configuration of the two different String Output modules available within SymNet Composer. The two different
3. Programming the STM32F4-Discovery
1 3. Programming the STM32F4-Discovery The programming environment including the settings for compiling and programming are described. 3.1. Hardware - The programming interface A program for a microcontroller
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter
NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter Description: The NTE2053 is a CMOS 8 bit successive approximation Analog to Digital converter in a 20 Lead DIP type package which uses a differential
Microcontroller Code Example Explanation and Words of Wisdom For Senior Design
Microcontroller Code Example Explanation and Words of Wisdom For Senior Design For use with the following equipment: PIC16F877 QikStart Development Board ICD2 Debugger MPLAB Environment examplemain.c and
The goal is to program the PLC and HMI to count with the following behaviors:
PLC and HMI Counting Lab The goal is to program the PLC and HMI to count with the following behaviors: 1. The counting should be started and stopped from buttons on the HMI 2. The direction of the count
GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8
GETTING STARTED WITH PROGRAMMABLE LOGIC DEVICES, THE 16V8 AND 20V8 Robert G. Brown All Rights Reserved August 25, 2000 Alta Engineering 58 Cedar Lane New Hartford, CT 06057-2905 (860) 489-8003 www.alta-engineering.com
Timer A (0 and 1) and PWM EE3376
Timer A (0 and 1) and PWM EE3376 General Peripheral Programming Model Each peripheral has a range of addresses in the memory map peripheral has base address (i.e. 0x00A0) each register used in the peripheral
JTAG-HS2 Programming Cable for Xilinx FPGAs. Overview. Revised January 22, 2015 This manual applies to the HTAG-HS2 rev. A
1300 Henley Court Pullman, WA 99163 509.334.6306 www.digilentinc.com Programming Cable for Xilinx FPGAs Revised January 22, 2015 This manual applies to the HTAG-HS2 rev. A Overview The Joint Test Action
Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD
Quick Start Guide MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD Quick Start Guide Get to Know the MRB-KW01x Module UART Selector ANT 1 RFIO (TX/RX) USB 2.0 Serial
